From: klaas.holwerda <ng...@kl...> - 2012-10-15 19:35:57
|
Hi, Lately i need to outcomment WXLUA_IMPLEMENT_BIND_STD and replace it by: WXLUA_IMPLEMENT_BIND_WXLUA WXLUA_IMPLEMENT_BIND_WXBASE WXLUA_IMPLEMENT_BIND_WXCORE else i get errors like this: Linking CXX executable maskproc CMakeFiles/maskproc.dir/maskprocmain.cpp.o: In function `MyApp::OnInit()': maskprocmain.cpp:(.text+0x2330): undefined reference to `wxLuaBinding_wxadv_init()' maskprocmain.cpp:(.text+0x2335): undefined reference to `wxLuaBinding_wxnet_init()' collect2: ld returned 1 exit status make[2]: *** [src/maskproc] Error 1 make[1]: *** [src/CMakeFiles/maskproc.dir/all] Error 2 make: *** [all] Error 2 It looks like something is not rightly configured for WXLUA_IMPLEMENT_BIND_STD. I do not have the media library enabled in wxWidgets. Maybe that is causing it. This is on redhat6 with 2.9.4 of wx. Regards, Klaas |