From: John L. <jla...@gm...> - 2012-06-26 03:50:38
|
On Mon, Jun 25, 2012 at 1:51 PM, João Mendes <lor...@gm...> 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 |