Testing metatable check-in; problem with ccmake

1 view
Skip to first unread message

E. Wing

unread,
Mar 4, 2008, 1:16:33 AM3/4/08
to cmak...@googlegroups.com
I'm trying out the new changes. First, I had to add a #include "lua.h"
to the cmLuaUtils.h. gcc didn't like all the inline stuff without
having the prototypes for all the lua functions being called.

Once I got the thing compiled, I tried running ccmake against the the
LuaTest. When I hit configure, I see the following error:

CMake Error: Error in Lua code: ...ASSEMBLA_PATCH/CMakeLua/Tests/LuaTest/CMake
ists.lua:21: attempt to call global 'GetDefinition' (a nil value)

However, if I just try normal cmake, I don't get the error. If I run
ccmake after successfully running cmake, then I don't see the above
error.

But any ideas why this is a problem with ccmake?

Thanks,
Eric

E. Wing

unread,
Mar 4, 2008, 1:29:35 AM3/4/08
to cmak...@googlegroups.com
It looks like I need to amend the description of the problem. I think
it fails the first time around with both cmake and ccmake. After
letting it fail, and running again then seems to get past the problem.

-Eric

Reply all
Reply to author
Forward
0 new messages