From: Paul K <pau...@ya...> - 2016-04-01 03:51:35
|
Hi John, I've added "gl" component to my wxwidgets library and am getting an error on Linux (Windows and OSX compiled without issues using the same configure call): [ 97%] Building CXX object modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxlua/wxlstate.cpp.o make[2]: *** No rule to make target `lib/libwx_gtk2u_gl-3.1.a', needed by `lib/MinSizeRel/libwx.so'. Stop. make[2]: *** Waiting for unfinished jobs.... [100%] Building CXX object modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxlua/wxlua_bind.cpp.o make[1]: *** [modules/luamodule/CMakeFiles/wxLuaModule.dir/all] Error 2 make: *** [all] Error 2 Error: failed to build wxLua Here is my configure call: cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX="$INSTALL_DIR" -DCMAKE_BUILD_TYPE=$WXLUABUILD -DBUILD_SHARED_LIBS=FALSE \ -DwxWidgets_CONFIG_EXECUTABLE="$INSTALL_DIR/bin/wx-config" \ -DwxWidgets_COMPONENTS="stc;gl;html;aui;adv;core;net;base" \ -DwxLuaBind_COMPONENTS="stc;gl;html;aui;adv;core;net;base" -DwxLua_LUA_LIBRARY_USE_BUILTIN=FALSE \ -DwxLua_LUA_INCLUDE_DIR="$INSTALL_DIR/include" -DwxLua_LUA_LIBRARY="$INSTALL_DIR/lib/liblua.a" . (I don't get any failures if I remove "gl" from the list of components). Does anyone have a suggestion on how to fix this? Thank you. Paul. |