On Thu, Jun 21, 2012 at 8:37 AM, João Mendes <lord....@gmail.com> wrote: > Do a SVN Command Update > Updating D:\_app\wxLua\trunk\wxLua\CMakeLists.txt > Completed At revision: 91 > > But CMake error persists.
Ok, try again. Not sure why I don't get the error, perhaps a different version of CMake, I use 2.8.4 on Fedora 15. >> > After that i try a new approach: >> > 1º - Compile wx 2.9.3 with: >> > D:\_app\wxWidgets-2.9.3\build\msw > mingw32-make -f makefile.gcc >> > BUILD=debug >> > UNICODE=0 SHARED=0 MONOLITHIC=0 >> > >> > 2º - Compile wxLua with: >> > D:\_app\wxLua\trunk\wxLua\build\msw > mingw32-make -f makefile.gcc >> > BUILD=debug USE_WXLUAEDITAPP=0 UNICODE=0 WX_VERSION=29 SHARED=0 >> > MONOLITHIC=0 >> > WX_SHARED=0 WX_MONOLITHIC=0 >> > >> > The first was fine, but with wxLua, i get was a lot of warning of >> > deprecated >> > and error with no sucess. >> >> Ignore the deprecated warnings, wxLua works with multiple versions of >> wxWidgets and keeps old functions for backwards compatibility, they >> get removed when wxWidgets removes them. >> >> Please post the compiler errors you got. The makefile.gcc you're using is meant for wxWidgets 28, so it may have some problems that are not obvious. I don't understand what the problem is. You're getting linker errors about missing functions that should be in the libraries you're linking to. For example, the function wxOnAssert() is in wxbase and later on you get undefined references to functions that are in wxmsw29d_stc. You may have to add the library -lscintilla (or whatever that lib is called in D:\_app\wxWidgets-2.9.3\lib\gcc_lib) since that is new to wx 2.9. g++ -o ..\..\..\bin\gcc_lib\wxlua.exe gccmswd\app_wxlua_lconsole.o gccmswd\app_wxlua_wxlua.o gccmswd\app_wxlua_wxlua_rc.o -mthreads -LD:\_app\wxWidgets-2.9.3\lib\gcc_lib -g -mthreads -L..\..\..\lib\gcc_lib -L..\..\..\modules\lua\lib -Wl,--subsystem,windows -mwindows -lwxlua_msw29d_wxluasocket -lwxlua_msw29d_wxluadebug -lwxlua_msw29d_wxbindadv -lwxlua_msw29d_wxbindaui -lwxlua_msw29d_wxbindbase -lwxlua_msw29d_wxbindcore -lwxlua_msw29d_wxbindgl -lwxlua_msw29d_wxbindhtml -lwxlua_msw29d_wxbindmedia -lwxlua_msw29d_wxbindnet -lwxlua_msw29d_wxbindstc -lwxlua_msw29d_wxbindxml -lwxlua_msw29d_wxbindxrc -lwxlua_msw29d_wxlua -llua5.1 -lwxmsw29d_stc -lwxmsw29d_xrc -lwxmsw29d_html -lwxmsw29d_gl -lwxmsw29d_aui -lwxmsw29d_media -lwxmsw29d_adv -lwxbase29d_net -lwxbase29d_xml -lwxmsw29d_core -lwxbase29d -lwxtiffd -lwxjpegd -lwxpngd -lwxzlibd -lwxregexd -lwxexpatd -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lodbc32 mingw32-make[1]: Leaving directory `D:/_app/wxLua/trunk/wxLua/apps/build/msw' gccmswd\app_wxlua_lconsole.o: In function `ZN12wxLuaConsole12DisplayStackERK10wxLuaState': D:\_app\wxLua\trunk\wxLua\apps\build\msw/../../wxlua/src/lconsole.cpp:200: undefined reference to `wxOnAssert(char const*, int, char const*, char const*, wchar_t const*)' gccmswd\app_wxlua_lconsole.o: In function `ZN19wxLuaConsoleWrapper10GetConsoleEv': ... I don't see the compiler lines for creating any of the object files, do they have -ID:\_app\wxWidgets-2.9.3\lib\gcc_lib\wx\include\[gcc-blah-blah]\wx ? Are the wxWidgets .a library files about 20-30Mb (do they have anything in them)? You can use "grep" (I think mingw comes with that) or any other search tool to search the wxWidgets lib dir to find where the missing functions are and make sure that lib is in the linker line, though it looks like they all already are. I'm sorry I can't be of much help, I haven't used mingw in years. Regards, John ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ wxlua-users mailing list wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users