Building the CEGUI dependencies with Lua enabled from a clean slate bombs out. The error is Lua.h not found in project toluapp.
The include path that it expects to find lua.h is only populated once lua itself is built but there is no dependency between the two.
I have a fix for myself which involves adding the lua path to the ToLuaPP compile.
The file cegui-dependencies/src/tolua++-1.0.93/CEGUI-BUILD/CMakeLists.txt at Line 7
Code: Select all
include_directories(../include ../src/lib ${CMAKE_BINARY_DIR}/dependencies/include)
becomes
Code: Select all
include_directories(../include ../src/lib ${CMAKE_BINARY_DIR}/dependencies/include ../../lua-5.1.4/src)
A better solution would be to include add_dependencies between lua and toluapp, but my CMake foo isn't yet up to it.
Dave.