On Mon, Jun 25, 2012 at 1:51 PM, João Mendes <lord....@gmail.com> wrote: > > D:\_app\wxLua\trunk\wxLua\build\cmake>mingw32-make ... > Linking C shared library ..\..\bin\libwxlua_lua_shared-wx29mswd-2.9.4.dll > > Creating library file: ..\..\lib\libwxlua_lua_shared-wx29mswd-2.9.4.dll.a > CMakeFiles\LuaLibShared.dir/objects.a(ldo.c.obj): In function `luaD_throw': > D:/_app/wxLua/trunk/wxLua/modules/lua/src/ldo.c:97: undefined reference to > `__longjmp' > CMakeFiles\LuaLibShared.dir/objects.a(loslib.c.obj): In function > `os_tmpname': > D:/_app/wxLua/trunk/wxLua/modules/lua/src/loslib.c:60: undefined reference > to `_mkstemp' > CMakeFiles\LuaLibShared.dir/objects.a(loadlib.c.obj): In function > `ll_unloadlib': > D:/_app/wxLua/trunk/wxLua/modules/lua/src/loadlib.c:64: undefined reference > to `_dlclose' > CMakeFiles\LuaLibShared.dir/objects.a(loadlib.c.obj): In function `ll_load': > D:/_app/wxLua/trunk/wxLua/modules/lua/src/loadlib.c:69: undefined reference > to `_dlopen' > D:/_app/wxLua/trunk/wxLua/modules/lua/src/loadlib.c:70: undefined reference > to `_dlerror' > CMakeFiles\LuaLibShared.dir/objects.a(loadlib.c.obj): In function `ll_sym': > D:/_app/wxLua/trunk/wxLua/modules/lua/src/loadlib.c:76: undefined reference > to `_dlsym' > D:/_app/wxLua/trunk/wxLua/modules/lua/src/loadlib.c:77: undefined reference > to `_dlerror' > collect2.exe: error: ld returned 1 exit status > mingw32-make[2]: *** [bin/libwxlua_lua_shared-wx29mswd-2.9.4.dll] Error 1 > mingw32-make[1]: *** [modules/lua/CMakeFiles/LuaLibShared.dir/all] Error 2 > mingw32-make: *** [all] Error 2
I've added linking to -ldl, I think that might do it, please update and try again. > Scintilla errors was gone when i add: > -lwxscintilla$(WX3RDPARTYLIBPOSTFIX) > in the makefile. In the CMake gui, what does wxWidgets_VERSION equal? If it is >= 2.9 then scintilla should be automatically added if wxstc is. In fact, please post the text in the CMake gui output window * Found wxWidgets : < this text > 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