From: John L. <jla...@gm...> - 2005-11-24 16:27:36
|
On 11/24/05, klaas.holwerda <kho...@xs...> wrote: > >>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. > > > That was the next step, you wrote, does one need to do that step twice? Yes, every time anyone commits the .i files in bindings/wxwidgets. This is why I don't want to commit the result of genwxbind just yet since they'll change alot for a little while now. > ><define>WXLUA_CODE</define> > >in modules/build/bakefile/modules.bkl > >do you have it? > > > Yes its there, and it is also found in the makefiles, so i assume you > did regenerate them using bakefile. Yes. > > This should be fixed, try to check it out again. I added > > I did check it out, and ran genwxbind.bat again, and the error is ALMOST > the same. > Does it need to be added elsewhere? Hopefully, no. > (BTW how do you regenerate the makefiles from bakefile? ) in MSW get the bakefile 1.9.1 (or newest), open a DOS prompt and run this in the wxLua/build/bakefiles dir. bakefile_gen only reads Bakefiles.bkgen which loads *.bkl. $c:\progra~1\bakefile\src\bakefile_gen You do NOT need to run bakefile_gen unless you modify any of the *.bkl or Bakefiles.bkgen. > Klaas > > 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\nma01108. > 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. You probably have to completely clean wxLua since I've only added a new /D define to the makefiles the compiler doesn't know to rebuild it. I'm in linux now, but IIRC you remove all the *.pdb, *.i??, *.o *.lib, *.exe. Just do a $cvs diff wxLua and any file not part of the distribution should be deleted. If you still have the problem just do a completely new checkout and start over. It worked for me yesterday. You're using the nmake of MSVS 6 right? Please let me know if this works for you after this. John Labenski |