|
From: John L. <jla...@gm...> - 2008-01-16 17:31:36
|
On Jan 16, 2008 7:07 AM, Leslie Newell <les...@fm...> wrote:
> Hi John,
>
> Found it. In modules/build/msw/makefile.vc
>
> !if "$(BUILD)" == "debug" && "$(UNICODE)" == "0" && "$(WX_MONOLITHIC)"
> == "0"
> __WXLIB_GL_NAME_p = wxmsw$(WX_VERSION)d_gl.lib
> !endif
...
>
> The GL lib is separate even in monolithic builds. The lines should read:
>
> !if "$(BUILD)" == "debug" && "$(UNICODE)" == "0"
> __WXLIB_GL_NAME_p = wxmsw$(WX_VERSION)d_gl.lib
> !endif
...
>
> Just one of those little wx quirks to catch out the unwary ;-)
>
> Next problem:
>
> link /NOLOGO /OUT:..\..\..\bin\vc_dll\wxluafreeze.exe
> /LIBPATH:c:\wxWid
> gets-2.8.6\lib\vc_dll /DEBUG /pdb:"..\..\..\bin\vc_dll\wxluafreeze.pdb"
> /LIBPAT
> H:..\..\..\lib\vc_dll /LIBPATH:..\..\..\modules\lua\lib
> /SUBSYSTEM:WINDOWS @C:\D
> OCUME~1\LESNEW~1\LOCALS~1\Temp\nm5F.tmp
> app_wxluafreeze_wxluafreeze.obj : error LNK2019: unresolved external
> symbol "__d
> eclspec(dllimport) bool __cdecl wxLuaBinding_wxgl_init(void)"
> (__imp_?wxLuaBindi
> ng_wxgl_init@@YA_NXZ) referenced in function "public: virtual bool
> __thiscall wx
> LuaFreezeApp::OnInit(void)" (?OnInit@wxLuaFreezeApp@@UAE_NXZ)
> ..\..\..\bin\vc_dll\wxluafreeze.exe : fatal error LNK1120: 1 unresolved
> external
Hopefully they're both fixed in the current CVS.
I will post separately about a a problem with the bigger picture however.
Regards,
John
|