Hi,

first thank you for the fast response.
After I switching from wxWidgets 3.0.x to 2.9.x version it can find all 
libraries and finally CMake build correctly the files.
As long I use the built-in Lua libraries everything seems to work fine, but 
when I try to build it against LuaJIT 2.0.4 (which use also LUA 5.1) I always 
get errors like:
…
2>           lbitlib.c
2>          Creating library 
C:/build/wxLua_build/lib/Release/wxlua-wx29mswu-2.8.12.3.lib and object 
C:/build/wxLua_build/lib/Release/wxlua-wx29mswu-2.8.12.3.exp
2>          wxlstate.obj : error LNK2019: unresolved external symbol 
luaopen_bit32 referenced in function "public: bool __cdecl 
wxLuaState::Create(struct lua_State *,int)" 
(?Create@wxLuaState@@QEAA_NPEAUlua_State@@H@Z)
2>          C:\build\wxLua_build\bin\Release\wxlua-wx29mswu-2.8.12.3.dll : 
fatal error LNK1120: 1 unresolved externals

Do you have an idea why this error comes up?


Thank you!
Best regards,
valmir

From: Joris Lambrecht [mailto:joris.lambre...@gmail.com]
Sent: Donnerstag, 7. Januar 2016 08:43
To: wxlua-users@lists.sourceforge.net
Subject: Re: [wxlua-users] Building wxLua: missing wxWidgets libraries


The answer is in the CMAKE file ... see help above .... you did not install or 
make the path available ....

Op wo 6 jan. 2016 16:50 schreef Valmir Sadiku 
<valmir.sad...@hs-kl.de<mailto:valmir.sad...@hs-kl.de>>:
Hello to all,

I’m new to wxLua and maybe (hopefully☺) this is not a hard question for you!

Building wxLua actually fails due some missing wxWidgets libraries.
The strange think is that they can find some of the libraries but not all, even 
all libraries are placed there.
Enclosed you can find the output from CMake (CMake_isssue.txt) and hopefully 
all information which you need to help me.
Building the wxWidgets seems to be okay, since I was able to run the samples 
(widgets, mediaplayer) .
Do you have an idea what could be the reason for that?

Thank you in advance!

Best regards,
valmir
------------------------------------------------------------------------------
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net<mailto:wxlua-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/wxlua-users
------------------------------------------------------------------------------
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to