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 !if "$(BUILD)" == "debug" && "$(UNICODE)" == "1" && "$(WX_MONOLITHIC)" == "0" __WXLIB_GL_NAME_p = wxmsw$(WX_VERSION)ud_gl.lib !endif !if "$(BUILD)" == "release" && "$(UNICODE)" == "0" && "$(WX_MONOLITHIC)" == "0" __WXLIB_GL_NAME_p = wxmsw$(WX_VERSION)_gl.lib !endif !if "$(BUILD)" == "release" && "$(UNICODE)" == "1" && "$(WX_MONOLITHIC)" == "0" __WXLIB_GL_NAME_p = wxmsw$(WX_VERSION)u_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 !if "$(BUILD)" == "debug" && "$(UNICODE)" == "1" __WXLIB_GL_NAME_p = wxmsw$(WX_VERSION)ud_gl.lib !endif !if "$(BUILD)" == "release" && "$(UNICODE)" == "0" __WXLIB_GL_NAME_p = wxmsw$(WX_VERSION)_gl.lib !endif !if "$(BUILD)" == "release" && "$(UNICODE)" == "1" __WXLIB_GL_NAME_p = wxmsw$(WX_VERSION)u_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)" ([EMAIL PROTECTED]@@UAE_NXZ) ..\..\..\bin\vc_dll\wxluafreeze.exe : fatal error LNK1120: 1 unresolved external Thanks, Les John Labenski wrote: > On Jan 15, 2008 12:50 PM, Leslie Newell <[EMAIL PROTECTED]> wrote: > >> Thank John. That fixed it. I now get a bunch of unresolved externals, >> all related to OpenGl. For example: >> >> wxbindgl_dll_wxgl_gl.obj : error LNK2001: unresolved external symbol >> "public: vi >> rtual class wxClassInfo * __thiscall >> wxGLContext::GetClassInfo(void)const " (?Ge >> [EMAIL PROTECTED]@@UBEPAVwxClassInfo@@XZ) >> >> I have OpenGl enabled in wx. >> > > Please show me the compile line just before the error message. > > I see in modules/build/msw/makefile.vc that if the wxbindgl module is > built that the wxWidgets gl library should be linked to it. Search for > __WXLIB_GL_NAME_p in that file, what is going wrong? Do you have > mismatched release/debug and/or ansi/unicode values between the > wxWidgets libs and the wxLua you're trying to build? > > Thanks, > John > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > 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 > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. 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