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 |