From: John L. <jla...@gm...> - 2005-11-23 23:03:36
|
On 11/23/05, klaas.holwerda <kho...@xs...> wrote: > >wxLua now compiles and immediately dumps when run in MSW using VC freeco= mpiler! > >I'm compiling it using build/msw/nmake -f makefile.vc > > > Ha, but i get the error i sent (about wxSOUND_SYNC etc. ), is there not Really? You've rerun genwxbind.bat (or the equivalent code) to regenerate the files in modules/wxbind. > a better way to make sure lua.exe is generated first. Soon, soon... lets just get it to compile first. > But if i ignore it, and do the next, > >then run bindings/genwxbind.bat (after lua.exe is made in /bin) > > > and at last this: > > >then rerun build/msw/nmake -f makefile.vc > > > I get, for which i have no idea to solve it: > > cl /c /nologo /TP /Fomsvcd\app_wxlua_lconsole.obj /MDd /DWIN32 > /D__WXDEBUG__ /D__WXMSW__ /ID:\notebook\wxwin\wxWidgets- > 2.6.2\lib\vc_lib\mswd /ID:\notebook\wxwin\wxWidgets-2.6.2\include > /I..\..\..\modules /W4 /Od /Zi /Fd..\..\..\bin\wxlua.pdb /D_DE > BUG /GR /EHsc ..\..\wxlua\src\lconsole.cpp > lconsole.cpp > rc /fomsvcd\app_wxlua_wxlua.res /d WIN32 /d __WXDEBUG__ /d > __WXMSW__ /i D:\notebook\wxwin\wxWidgets-2.6.2\lib\vc_lib\msw > d /i D:\notebook\wxwin\wxWidgets-2.6.2\include /i ..\..\..\modules /d > _DEBUG ..\..\wxlua\src\wxlua.rc > link /NOLOGO /OUT:..\..\..\bin\wxlua.exe > /LIBPATH:D:\notebook\wxwin\wxWidgets-2.6.2\lib\vc_lib /DEBUG > /LIBPATH:..\..\..\ > lib\vc_lib @C:\DOCUME~1\klaas\LOCALS~1\Temp\nma02484. > LINK : warning LNK4098: defaultlib "MSVCRT" conflicts with use of other > libs; use /NODEFAULTLIB:library > wxlua.lib(wxlua_lib_interp.obj) : error LNK2001: unresolved external > symbol _luaX_setfreethreadhandler > wxlua.lib(wxlua_lib_interp.obj) : error LNK2001: unresolved external > symbol _luaX_getfreethreadhandler > wxlua.lib(wxlua_lib_interp.obj) : error LNK2001: unresolved external > symbol _luaX_setnewthreadhandler > wxlua.lib(wxlua_lib_interp.obj) : error LNK2001: unresolved external > symbol _luaX_getnewthreadhandler > ..\..\..\bin\wxlua.exe : fatal error LNK1120: 4 unresolved externals > NMAKE : fatal error U1077: 'link' : return code '0x460' > Stop. > NMAKE : fatal error U1077: 'D:\vc6\VC98\bin\NMAKE.EXE' : return code '0x2= ' > Stop. > > D:\notebook\wxluacvs\wxLua\build\msw> This should be fixed, try to check it out again. I added <define>WXLUA_CODE</define> in modules/build/bakefile/modules.bkl do you have it? -John |