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.

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to