From: klaas.holwerda <kho...@xs...> - 2005-11-22 21:05:40
|
Hi, On MSW, this is where it stops. maybe some setting not detected? cl /c /nologo /TP /Fomsvcd\wxbind_lib_wx_define.obj /MDd /DWIN32 /D__WXDEBUG__ /D__WXMSW__ /ID:\notebook\wxwin\wxWidget s-2.6.2\lib\vc_lib\mswd /ID:\notebook\wxwin\wxWidgets-2.6.2\include /I..\..\..\modules /W4 /Od /Zi /Fd..\..\..\lib\vc_lib\wxbind .pdb /D_DEBUG /ID:\notebook\wxwin\wxWidgets-2.6.2\contrib\include /GR /EHsc ..\..\wxbind\src\wx_define.cpp wx_define.cpp ..\..\wxbind\src\wx_define.cpp(708) : error C2065: 'wxSOUND_ASYNC' : undeclared identifier ..\..\wxbind\src\wx_define.cpp(709) : error C2065: 'wxSOUND_LOOP' : undeclared identifier ..\..\wxbind\src\wx_define.cpp(710) : error C2065: 'wxSOUND_SYNC' : undeclared identifier NMAKE : fatal error U1077: 'cl' : return code '0x2' Stop. NMAKE : fatal error U1077: 'D:\vc6\VC98\bin\NMAKE.EXE' : return code '0x2' Stop. D:\notebook\wxluacvs\wxLua\build\msw> Klaas |
From: John L. <jla...@gm...> - 2005-11-22 22:38:35
|
On 11/22/05, klaas.holwerda <kho...@xs...> wrote: > Hi, > > On MSW, this is where it stops. maybe some setting not detected? > > cl /c /nologo /TP /Fomsvcd\wxbind_lib_wx_define.obj /MDd > /DWIN32 /D__WXDEBUG__ /D__WXMSW__ /ID:\notebook\wxwin\wxWidget > s-2.6.2\lib\vc_lib\mswd /ID:\notebook\wxwin\wxWidgets-2.6.2\include > /I..\..\..\modules /W4 /Od /Zi /Fd..\..\..\lib\vc_lib\wxbind > .pdb /D_DEBUG /ID:\notebook\wxwin\wxWidgets-2.6.2\contrib\include /GR > /EHsc ..\..\wxbind\src\wx_define.cpp > wx_define.cpp > ..\..\wxbind\src\wx_define.cpp(708) : error C2065: 'wxSOUND_ASYNC' : > undeclared identifier > ..\..\wxbind\src\wx_define.cpp(709) : error C2065: 'wxSOUND_LOOP' : > undeclared identifier > ..\..\wxbind\src\wx_define.cpp(710) : error C2065: 'wxSOUND_SYNC' : > undeclared identifier > NMAKE : fatal error U1077: 'cl' : return code '0x2' > Stop. > NMAKE : fatal error U1077: 'D:\vc6\VC98\bin\NMAKE.EXE' : return code '0x2= ' > Stop. These are fixed as of yesterday. The bakefiles are also fixed, but I wasn't able to run bakefile_gen again. Regards, John Labenski |
From: Francesco M. <f18...@ya...> - 2005-11-22 23:08:35
|
Hi, John Labenski wrote: > These are fixed as of yesterday. The bakefiles are also fixed, but I > wasn't able to run bakefile_gen again. which problems did you have with bakefile_gen ? Francesco |
From: John L. <jla...@gm...> - 2005-11-22 23:24:54
|
On 11/22/05, Francesco Montorsi <f18...@ya...> wrote: > > These are fixed as of yesterday. The bakefiles are also fixed, but I > > wasn't able to run bakefile_gen again. > which problems did you have with bakefile_gen ? The one with %WXWIN% in linux, maybe you could rerun it? If not I'll try again later tonight if possible. Regards, John Labenski |
From: John L. <jla...@gm...> - 2005-11-23 20:31:35
|
wxLua now compiles and immediately dumps when run in MSW using VC freecompi= ler! I'm compiling it using build/msw/nmake -f makefile.vc then run bindings/genwxbind.bat (after lua.exe is made in /bin) then rerun build/msw/nmake -f makefile.vc Here's the output using the free MS debugger. Microsoft (R) Windows Debugger Version 6.5.0003.7 Copyright (c) Microsoft Corporation. All rights reserved. CommandLine: C:\wxCVS\wxLua\wxLua\bin\wxlua.exe Symbol search path is: C:\wxCVS\wxLua\wxLua\apps\build\msw\msvcd;C:\wxCVS\wxLua\wxLua\modules\buil= d\msw\msvcd Executable search path is: ModLoad: 00400000 00ab4000 wxlua.exe ModLoad: 77f80000 77ffc000 ntdll.dll ModLoad: 7c570000 7c623000 C:\WINNT\system32\KERNEL32.dl ... ModLoad: 75020000 75028000 C:\WINNT\system32\WS2HELP.DLL ModLoad: 10200000 10287000 =20 c:\WINNT\Microsoft.NET\Framework\v1.1.4322\MSVCR71D.dll ModLoad: 7c340000 7c396000 C:\WINNT\system32\MSVCR71.dll (6ec.8c4): Break instruction exception - code 80000003 (first chance) eax=3D00000000 ebx=3D00131f04 ecx=3D00000009 edx=3D00000000 esi=3D7ffdf000 = edi=3D00131f70 eip=3D77f9193c esp=3D0012f984 ebp=3D0012fc98 iopl=3D0 nv up ei pl n= z na pe nc cs=3D001b ss=3D0023 ds=3D0023 es=3D0023 fs=3D003b gs=3D0000 = efl=3D00000202 *** ERROR: Symbol file could not be found. Defaulted to export symbols for ntdll.dll - ntdll!DbgBreakPoint: 77f9193c cc int 3 The callstack is empty. You do get this warning when you compile apps/wxlu= a rc /fomsvcd\app_wxlua_wxlua.res /d WIN32 /d __WXDEBUG__ /d __WXMSW__ /i C:\wxCVS\wxWidgets\wxWidgets\lib\vc_lib\mswd /i C:\wxCVS\wxWidgets\wxWidgets\include /i ..\..\..\modules /d _DEBUG=20 ..\..\wxlua\src\wxlua.rc link /NOLOGO /OUT:..\..\..\bin\wxlua.exe=20 /LIBPATH:C:\wxCVS\wxWidgets\wxWidgets\lib\vc_lib /DEBUG=20 /LIBPATH:..\..\..\lib\vc_lib @c:\DOCUME~1\JLABEN~1\LOCALS~1\Temp\nm222.tmp LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library cd c:\wxCVS\wxLua\wxLua\build\msw I also can't seem to get the debugger to do simple things like put a breakpoint in wxApp::OnInit. It complains about "The source line has multiple addresses, select desired address" wxlua.cpp wxlua!wxLuaStandAloneApp::OnInit wxlua!wxLuaObject_GetObject <--- ! this is in wxbind? Somehow the linking is all messed up, any ideas? Regards, John Labenski |
From: klaas.holwerda <kho...@xs...> - 2005-11-23 22:06:59
|
John Labenski wrote: >wxLua now compiles and immediately dumps when run in MSW using VC freecompiler! > >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 a better way to make sure lua.exe is generated 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> |
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 |
From: klaas.holwerda <kho...@xs...> - 2005-11-24 09:00:32
|
John Labenski 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? ><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. > > > 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? (BTW how do you regenerate the makefiles from bakefile? ) Klaas cl /c /nologo /TP /Fomsvcd\wxbind_lib_wx_define.obj /MDd /DWIN32 /D__WXDEBUG__ /D__WXMSW__ /ID:\notebook\wxwin\wxWidget s-2.6.2\lib\vc_lib\mswd /ID:\notebook\wxwin\wxWidgets-2.6.2\include /I..\..\..\modules /W4 /Od /Zi /Fd..\..\..\lib\vc_lib\wxbind .pdb /D_DEBUG /ID:\notebook\wxwin\wxWidgets-2.6.2\contrib\include /GR /EHsc ..\..\wxbind\src\wx_define.cpp wx_define.cpp if exist ..\..\..\lib\vc_lib\wxbind.lib del ..\..\..\lib\vc_lib\wxbind.lib link /LIB /NOLOGO /OUT:..\..\..\lib\vc_lib\wxbind.lib @C:\DOCUME~1\klaas\LOCALS~1\Temp\nma02324. cd D:\notebook\wxluacvs\wxLua\build\msw cd ..\..\apps\build\msw NMAKE -f makefile.vc CC="cl" CXX="cl" CFLAGS="" CXXFLAGS="" CPPFLAGS="" LDFLAGS="" WX_DIR="D:\notebook\wxwin\wxWidgets-2. 6.2" WX_SHARED="0" WX_UNICODE="0" WX_DEBUG="1" WX_VERSION="26" USE_BIN2C="1" USE_WXLUADEBUG="1" USE_WXLUASOCKET="1" USE_UTIL=" 1" USE_APPS="1" Microsoft (R) Program Maintenance Utility Version 6.00.8168.0 Copyright (C) Microsoft Corp 1988-1998. All rights reserved. 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. D:\notebook\wxluacvs\wxLua\build\msw> |
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 |