Hi,

I think many people must be frustrated by this problem.
I have the wxWidgets wxmsw28_gl.lib ( yes by #define wxUSE_GLCANVAS       1 in 
setup.h of wxWidgets)
But still:

nmake -f makefile.vc

gives me de link error inside wxLua itself.

app_wxluafreeze_wxluafreeze.obj : error LNK2001: unresolved external symbol "boo
l __cdecl wxLuaBinding_wxgl_init(void)" (?wxLuaBinding_wxgl_init@@YA_NXZ)
..\..\..\bin\vc_lib\wxluafreeze.exe : fatal error LNK1120: 1 unresolved external
s
NMAKE : fatal error U1077: 'link' : return code '0x460'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio\VC98\bin\N
MAKE.EXE"' : return code '0x2'
Stop.

MY solution is to go to wxluafreeze.cpp and outcomment:

     WXLUA_DECLARE_BIND_WXGL
     WXLUA_IMPLEMENT_BIND_WXGL


In fact the stc i also have in wxWidgets compiled:
And putting back in wxluafreeze.cpp those two, gives the similar error.

        WXLUA_DECLARE_BIND_WXSTC
        WXLUA_IMPLEMENT_BIND_WXSTC

So it looks like this wxluafreeze target is not getting the right libraries 
linked into it.

Anyway i hope this helps some to compile wxLua

Klaas






-- 
Unclassified

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to