From: John L. <jla...@gm...> - 2014-01-07 21:07:46
|
On Tue, Jan 7, 2014 at 3:27 PM, Les Newell <les...@fa...>wrote: > Hi, > > I'm trying to build wxLua with wxWidgets-3.0.0, unicode shared release > on Linux. Using cmake-gui, when I press the 'configure' button I get a > warning 'Error in configuration process'. I don't know if it makes a > difference but I am using a non-standard install prefix. > > CMake Warning at build/CMakeFunctions.cmake:271 (message): > File doesn't exist on disk : 'src/lcode.c' from dir > '/home/les/Documents/src/wxlua/build' > Call Stack (most recent call first): > build/CMakeFunctions.cmake:807 (ADD_FILE_TO_LIST) > modules/CMakeLists.txt:156 (ADD_LIBRARY_FULL) > modules/lua-5.1/CMakeLists.txt:3 (wxLua_Modules_Lua_TARGETS) > > ... > > > CMake Warning at bindings/CMakeLists.txt:48 (if): > given arguments: > > "GREATER" "-1" > > Unknown arguments specified > Call Stack (most recent call first): > bindings/CMakeLists.txt:92 (FUNCTION_ARG_PARSER) > bindings/CMakeLists.txt:183 (ADD_WXLUABIND_GENERATION) > > What Linux distro and what version of CMake do you use? I suspect that it may be CMake 2.6 which is fairly old and is missing the string(FIND ...) function. I have committed a change that may fix the problem, but there may be more. CMake builds from source pretty easily on most systems, but you can also use the CMake binaries here: http://www.cmake.org/cmake/resources/software.html Hope this helps, John |