ns60SDKv1.2+vctoolkit+eclipse compilation problem
| Mon, 2006-03-27 00:19 | |
|
Hello, I'ver been trying to setup a working compile enviroment for S60 but so far i had no luck. I have a very basic knowledge of C compilers, make scripts and linking. Here are my problems: 1- When I build a sample project from Eclipse everything seemd to be going all right but when i run the emulator i can see an icon for my program. Here is the output of abld script Creating build structures... C:\WINDOWS\system32\cmd.exe /c bldmake bldfiles ABLD BUILD... C:\WINDOWS\system32\cmd.exe /c abld -v build wins udeb nmake -nologo -f "\Symbian\6.1\Series60\EPOC32\BUILD\SYMDEVEL\HELLOWORLD\GROUP\EXPORT.make" EXPORT Nothing to do nmake -nologo -f "\Symbian\6.1\Series60\EPOC32\BUILD\SYMDEVEL\HELLOWORLD\GROUP\WINS.make" MAKEFILE perl -S makmake.pl -D \SYMDEVEL\HELLOWORLD\GROUP\HELLOWORLD WINS nmake -nologo -f "\Symbian\6.1\Series60\EPOC32\BUILD\SYMDEVEL\HELLOWORLD\GROUP\WINS.make" LIBRARY nmake -nologo -f "\Symbian\6.1\Series60\EPOC32\BUILD\SYMDEVEL\HELLOWORLD\GROUP\HELLOWORLD\WINS\HELLOWORLD.WINS" LIBRARY nmake -nologo -f "\Symbian\6.1\Series60\EPOC32\BUILD\SYMDEVEL\HELLOWORLD\GROUP\WINS.make" RESOURCE CFG=UDEB nmake -nologo -f "\Symbian\6.1\Series60\EPOC32\BUILD\SYMDEVEL\HELLOWORLD\GROUP\HELLOWORLD\WINS\HELLOWORLD.WINS" RESOURCEUDEB nmake -nologo -f "\Symbian\6.1\Series60\EPOC32\BUILD\SYMDEVEL\HELLOWORLD\GROUP\WINS.make" TARGET CFG=UDEB NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0xc0000005' Stop. NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0x2' Stop. nmake -nologo -f "\Symbian\6.1\Series60\EPOC32\BUILD\SYMDEVEL\HELLOWORLD\GROUP\HELLOWORLD\WINS\HELLOWORLD.WINS" UDEB cl.exe /MDd /Zi /Od /nologo /Zp4 /W4 /X /FR"\Symbian\6.1\Series60\EPOC32\BUILD\SYMDEVEL\HELLOWORLD\GROUP\HELLOWORLD\WINS\UDEB/" /Fd"\Symbian\6.1\Series60\EPOC32\RELEASE\WINS\UDEB\Z\SYSTEM\APPS\HELLOWORLD\HELLOWORLD.pdb" /D _DEBUG /D _UNICODE /D "__SYMBIAN32__" /D "__VC32__" /D "__WINS__" /D "__AVKON_ELAF__" /D "__DLL__" /I "\SYMDEVEL\HELLOWORLD\INC" /I "\Symbian\6.1\Series60\EPOC32\INCLUDE" /Fo"\Symbian\6.1\Series60\EPOC32\BUILD\SYMDEVEL\HELLOWORLD\GROUP\HELLOWORLD\WINS\UDEB/" /GF /c "\SYMDEVEL\HELLOWORLD\SRC\Helloworldapplication.cpp" Helloworldapplication.cpp link.exe @C:\DOCUME~1\Lazarus\LOCALS~1\Temp\nma04264. LINK : warning LNK4224: /PDBTYPE is no longer supported; ignored LINK : warning LNK4044: unrecognized option '/WARN:3'; ignored Creating library \Symbian\6.1\Series60\EPOC32\BUILD\SYMDEVEL\HELLOWORLD\GROUP\HELLOWORLD\WINS\UDEB\HELLOWORLD.lib and object \Symbian\6.1\Series60\EPOC32\BUILD\SYMDEVEL\HELLOWORLD\GROUP\HELLOWORLD\WINS\UDEB\HELLOWORLD.exp EDLL.LIB(UP_DLL.obj) : warning LNK4210: .CRT section exists; there may be unhandled static initializers or terminators EDLL.LIB(UP_DLL.obj) : warning LNK4099: PDB 'edll.pdb' was not found with '\Symbian\6.1\Series60\EPOC32\RELEASE\WINS\UDEB\EDLL.LIB' or at 'c:\Symbian\6.1\Series60\EPOC32\BUILD\SYMDEVEL\HELLOWORLD\GROUP\HELLOWORLD\WINS\UDEB\edll.pdb'; linking object as if no debug info del "\Symbian\6.1\Series60\EPOC32\BUILD\SYMDEVEL\HELLOWORLD\GROUP\HELLOWORLD\WINS\UDEB\HELLOWORLD.APP" del "\Symbian\6.1\Series60\EPOC32\BUILD\SYMDEVEL\HELLOWORLD\GROUP\HELLOWORLD\WINS\UDEB\HELLOWORLD.exp" dumpbin /exports /out:"\Symbian\6.1\Series60\EPOC32\BUILD\SYMDEVEL\HELLOWORLD\GROUP\HELLOWORLD\WINS\UDEB\HELLOWORLD.inf" "\Symbian\6.1\Series60\EPOC32\BUILD\SYMDEVEL\HELLOWORLD\GROUP\HELLOWORLD\WINS\UDEB\HELLOWORLD.lib" nmake -nologo -f "\Symbian\6.1\Series60\EPOC32\BUILD\SYMDEVEL\HELLOWORLD\GROUP\WINS.make" FINAL CFG=UDEB BUILD FINISHED. Check Ploblems page for eventual errors/warnings. 2- It's another story when i try to build from command line. Compilation fails this time spitting out: C:\symdevel\HELLOW~1\group>abld build wins udeb nmake -nologo -f "\Symbian\6.1\Series60\EPOC32\BUILD\SYMDEVEL\HELLOWORLD\GROUP\EXPORT.make" EXPORT VERBOSE=-s Nothing to do nmake -nologo -f "\Symbian\6.1\Series60\EPOC32\BUILD\SYMDEVEL\HELLOWORLD\GROUP\WINS.make" MAKEFILE VERBOSE=-s perl -S makmake.pl -D \SYMDEVEL\HELLOWORLD\GROUP\HELLOWORLD WINS nmake -nologo -f "\Symbian\6.1\Series60\EPOC32\BUILD\SYMDEVEL\HELLOWORLD\GROUP\WINS.make" LIBRARY VERBOSE=-s nmake -nologo -s -f "\Symbian\6.1\Series60\EPOC32\BUILD\SYMDEVEL\HELLOWORLD\GROUP\HELLOWORLD\WINS\HELLOWORLD.WI NS" LIBRARY nmake -nologo -f "\Symbian\6.1\Series60\EPOC32\BUILD\SYMDEVEL\HELLOWORLD\GROUP\WINS.make" RESOURCE CFG=UDEB VERBOSE=-s nmake -nologo -s -f "\Symbian\6.1\Series60\EPOC32\BUILD\SYMDEVEL\HELLOWORLD\GROUP\HELLOWORLD\WINS\HELLOWORLD.WI NS" RESOURCEUDEB 1 file(s) copied. diff: ..\..\..\Symbian\6.1\Series60\EPOC32\INCLUDE\HELLOWORLD.RSG: No such file or directory 1 file(s) copied. nmake -nologo -f "\Symbian\6.1\Series60\EPOC32\BUILD\SYMDEVEL\HELLOWORLD\GROUP\WINS.make" TARGET CFG=UDEB VERBOSE=-s nmake -nologo -s -f "\Symbian\6.1\Series60\EPOC32\BUILD\SYMDEVEL\HELLOWORLD\GROUP\HELLOWORLD\WINS\HELLOWORLD.WI NS" UDEB Helloworld.cpp Helloworld.uid.cpp Helloworldapplication.cpp Helloworldappui.cpp Helloworldappview.cpp Helloworlddocument.cpp LINK : warning LNK4224: /PDBTYPE is no longer supported; ignored LINK : warning LNK4044: unrecognized option '/WARN:3'; ignored Creating library \Symbian\6.1\Series60\EPOC32\BUILD\SYMDEVEL\HELLOWORLD\GROUP\HELLOWORLD\WINS\UDEB\HELLOWORLD.lib and object \Symbian\6.1\Series60\EPOC32\BUILD\SYMDEVEL\HELLOWORLD\GROUP\HELLOWORLD\WINS\UDEB\HELLOWORLD.exp EDLL.LIB(UP_DLL.obj) : warning LNK4210: .CRT section exists; there may be unhandled static initializers or terminators EDLL.LIB(UP_DLL.obj) : warning LNK4099: PDB 'edll.pdb' was not found with '\Symbian\6.1\Series60\EPOC32\RELEASE\WINS\UDE B\EDLL.LIB' or at 'C:\Symbian\6.1\Series60\EPOC32\BUILD\SYMDEVEL\HELLOWORLD\GROUP\HELLOWORLD\WINS\UDEB\edll.pdb'; linkin g object as if no debug info NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0xc0000005' Stop. NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0x2' Stop. nmake -nologo -f "\Symbian\6.1\Series60\EPOC32\BUILD\SYMDEVEL\HELLOWORLD\GROUP\WINS.make" FINAL CFG=UDEB VERBOSE=-s does anyone have an idea what's going on? I'm using a Windows Xp system. and dumpbin.exe taken from masm32. JimQode |
|





