From: klaas.holwerda <ng...@kl...> - 2012-09-05 19:47:24
|
Hi John, I manged to compile on Redhat6, and get the following libraries: > ls*wxlua* libwxlua_gtk2u_wxbindbase-2.9.a libwxlua_gtk2u_wxbindxml-2.9.a libwxlua_gtk2u_wxluadebug-2.9.a libwxlua_gtk2u_wxbindcore-2.9.a libwxlua_gtk2u_wxlua-2.9.a libwxlua_gtk2u_wxluasocket-2.9.a Now i get errors on this macro: WXLUA_IMPLEMENT_BIND_STD CMakeFiles/sample_editor_wires.dir/wires.cpp.o: In function `MyApp::OnInit()': /thales/thales_localdata/db348/soft/trunk/wxArt2D/packages/wxart2d/samples/editor/wires/wires.cpp:1519: undefined reference to `wxLuaBinding_wxadv_init()' /thales/thales_localdata/db348/soft/trunk/wxArt2D/packages/wxart2d/samples/editor/wires/wires.cpp:1519: undefined reference to `wxLuaBinding_wxnet_init()' Replace it by: WXLUA_IMPLEMENT_BIND_WXLUA WXLUA_IMPLEMENT_BIND_WXBASE WXLUA_IMPLEMENT_BIND_WXCORE it compiles fine. In #include "wxbind/include/wxbinddefs.h" i get the idea both adv and net are enabled. So i don't know what i am missing. You have an idea? Klaas |