Code: Select all
---- Version: 0.8.4 (Build: Mar 8 2015 GNU/Linux g++ 4.9.2 20150204 (prerelease) 32 bit) ----
---- Renderer module is: CEGUI::OgreRenderer - Official OGRE based 2nd generation renderer module. ----
---- XML Parser module is: CEGUI::ExpatParser - Official expat based parser module for CEGUI ----
---- Image Codec module is: OgreImageCodec - Integrated ImageCodec using the Ogre engine. ----
---- Scripting module is: None ----
I've just built CEGUI for use with Ogre, and everything seems to be working alright except that I had to disable the building of the python and lua modules. I am using arch and I already had to redirect cmake to use my python2.7 installation instead of python3. That cleared up some of the issues, but I still get an error while building ToggleButton that looks like this:
Code: Select all
virtual memory exhausted: Cannot allocate memory
cegui/src/ScriptModules/Python/bindings/CMakeFiles/PyCEGUI.dir/build.make:77: recipe for target 'cegui/src/ScriptModules/Python/bindings/CMakeFiles/PyCEGUI.dir/output/CEGUI/ToggleButton.pypp.cpp.o' failed
It's like it is getting stuck in a loop or something. I think I run into a similar problem with the Lua module. Arch defaults to a newer version of Lua than 5.1. I've changed the cmake variables to reflect this, but I still get errors during building about undefined references to 'lua_setglobal'. Could the problem be related to using a newer version of tolua++? The arch repository has 1.0.93-1. I noticed the wiki says it was built with 1.0.61, but I couldn't find that version anywhere. This is the error:
Code: Select all
CMakeFiles/toluappcegui-0.8.dir/tolua.c.o: In function `main':
tolua.c:(.text.startup+0x44): undefined reference to `lua_setglobal'
tolua.c:(.text.startup+0x5e): undefined reference to `lua_setglobal'
tolua.c:(.text.startup+0x84): undefined reference to `lua_setglobal'
tolua.c:(.text.startup+0xa8): undefined reference to `lua_setglobal'
tolua.c:(.text.startup+0x1df): undefined reference to `lua_getglobal'
tolua.c:(.text.startup+0x1e9): undefined reference to `lua_rawlen'
collect2: error: ld returned 1 exit status
cegui/src/ScriptModules/Lua/support/tolua++bin/CMakeFiles/toluappcegui-0.8.dir/build.make:113: recipe for target 'bin/toluappcegui-0.8' failed
make[2]: *** [bin/toluappcegui-0.8] Error 1
CMakeFiles/Makefile2:752: recipe for target 'cegui/src/ScriptModules/Lua/support/tolua++bin/CMakeFiles/toluappcegui-0.8.dir/all' failed