Hi all,
I try to get the tests for STL-Port running. There exists in the path stlport\STLport-4.5.1\test\regression a file named epoc.mmp. This is the project I tried to import and build in VS2003 via carbide.vs. Import is ok, but if I try to build it I will get this output:
Interesting thing is that it will be built on console, but not with carbide.vs. Also it tries to output the object in a file called "InvalidFilePath.o", which shouldn't be ok.Code:Updating epoc.mmp based on Deb_S60_30_WINSCW Update of mmp file not needed WINS (emulator) build ------ Build started: Project: epoc, Configuration: Deb_S60_30_WINSCW Win32 ------ Performing Pre-Build Event... * Current build configuration: WINSCW UDEB Converting multi-icons... Compiling... epocroot = \Symbian\9.1\S60_3rd\ * mwccsym2.exe -g -O0 -inline off -sym codeview_new -wchar_t off -align 4 -warnings on -w nohidevirtual,nounusedexpr -msgstyle gcc -enum int -str pool -exc ms -nostdinc -d _DEBUG -d _UNICODE -d "__SYMBIAN32__" -d "__SERIES60_30__" -d "__SERIES60_3X__" -d "__SUPPORT_CPP_EXCEPTIONS__" -d "__EXE__" -d "__WINSCW__" -d "__WINS__" -d "__CW32__" -d "_DEBUG" -d "_UNICODE" -cwd source -i- -i "C:\Symbian\9.1\S60_3rd\\epoc32\include\stlport" -i "C:\Symbian\9.1\S60_3rd\\epoc32\include\libc" -i "C:\Symbian\9.1\S60_3rd\\epoc32\include" -i C:\Symbian\9.1\S60_3rd\epoc32\include\variant -include symbian_os_v9.1.hrh -c ".\vec8.cpp" -o "Deb_S60_30_WINSCW\InvalidFilePath.o" Error in CW compilation: Illegal characters in path. epoc : error PRJ0003 : Error spawning 'cl.exe'. Build log was saved at "file://c:\STLport-4.5.1\test\regression\Deb_S60_30_WINSCW\BuildLog.htm" epoc - 1 error(s), 0 warning(s) ---------------------- Done ---------------------- Build: 0 succeeded, 1 failed, 0 skipped
If I set e.g. the compiler option "-v" for showing version infos, it will at least try to compile all files, but of course still into the false object files and furthermore this creates other problems in the toolchain. This is only a part of the output that appears:
Any clues?Code:Updating epoc.mmp based on Deb_S60_30_WINSCW Update of mmp file not needed WINS (emulator) build ------ Build started: Project: epoc, Configuration: Deb_S60_30_WINSCW Win32 ------ Performing Pre-Build Event... * Current build configuration: WINSCW UDEB Converting multi-icons... Compiling... epocroot = \Symbian\9.1\S60_3rd\ * mwccsym2.exe -g -O0 -inline off -sym codeview_new -wchar_t off -align 4 -warnings on -w nohidevirtual,nounusedexpr -msgstyle gcc -enum int -str pool -exc ms -nostdinc -d _DEBUG -d _UNICODE -d "__SYMBIAN32__" -d "__SERIES60_30__" -d "__SERIES60_3X__" -d "__SUPPORT_CPP_EXCEPTIONS__" -d "__EXE__" -d "__WINSCW__" -d "__WINS__" -d "__CW32__" -d "_DEBUG" -d "_UNICODE" -cwd source -i- -i "C:\Symbian\9.1\S60_3rd\\epoc32\include\stlport" -i "C:\Symbian\9.1\S60_3rd\\epoc32\include\libc" -i "C:\Symbian\9.1\S60_3rd\\epoc32\include" -i C:\Symbian\9.1\S60_3rd\epoc32\include\variant -include symbian_os_v9.1.hrh -c -v -o "Deb_S60_30_WINSCW\-v.o" Errors caused tool to abort. Nokia Codewarrior C/C++ Compiler for Windows/x86. Copyright (c) 2005, Nokia Corporation All rights reserved. Version 3.2.3 build 451 (Build 451) Runtime Built: Oct 19 2005 19:16:55 Contents of (command-line defines): =============== #pragma symbian #pragma codeviewpro9compatible off #define _DEBUG 1 #define _UNICODE 1 #define __SYMBIAN32__ 1 #define __SERIES60_30__ 1 #define __SERIES60_3X__ 1 #define __SUPPORT_CPP_EXCEPTIONS__ 1 #define __EXE__ 1 #define __WINSCW__ 1 #define __WINS__ 1 #define __CW32__ 1 #define _DEBUG 1 #define _UNICODE 1 #include "symbian_os_v9.1.hrh" #pragma warn_largeargs on =============== mwccsym2.exe: Output filenames found without source; 'Deb_S60_30_WINSCW\-v.o' not accepted mwccsym2.exe: Nothing to do: no source or object files specified epocroot = \Symbian\9.1\S60_3rd\ * mwccsym2.exe -g -O0 -inline off -sym codeview_new -wchar_t off -align 4 -warnings on -w nohidevirtual,nounusedexpr -msgstyle gcc -enum int -str pool -exc ms -nostdinc -d _DEBUG -d _UNICODE -d "__SYMBIAN32__" -d "__SERIES60_30__" -d "__SERIES60_3X__" -d "__SUPPORT_CPP_EXCEPTIONS__" -d "__EXE__" -d "__WINSCW__" -d "__WINS__" -d "__CW32__" -d "_DEBUG" -d "_UNICODE" -cwd source -i- -i "C:\Symbian\9.1\S60_3rd\\epoc32\include\stlport" -i "C:\Symbian\9.1\S60_3rd\\epoc32\include\libc" -i "C:\Symbian\9.1\S60_3rd\\epoc32\include" -i C:\Symbian\9.1\S60_3rd\epoc32\include\variant -include symbian_os_v9.1.hrh -c ".\vec8.cpp" -o "Deb_S60_30_WINSCW\InvalidFilePath.o" epocroot = \Symbian\9.1\S60_3rd\ * mwccsym2.exe -g -O0 -inline off -sym codeview_new -wchar_t off -align 4 -warnings on -w nohidevirtual,nounusedexpr -msgstyle gcc -enum int -str pool -exc ms -nostdinc -d _DEBUG -d _UNICODE -d "__SYMBIAN32__" -d "__SERIES60_30__" -d "__SERIES60_3X__" -d "__SUPPORT_CPP_EXCEPTIONS__" -d "__EXE__" -d "__WINSCW__" -d "__WINS__" -d "__CW32__" -d "_DEBUG" -d "_UNICODE" -cwd source -i- -i "C:\Symbian\9.1\S60_3rd\\epoc32\include\stlport" -i "C:\Symbian\9.1\S60_3rd\\epoc32\include\libc" -i "C:\Symbian\9.1\S60_3rd\\epoc32\include" -i C:\Symbian\9.1\S60_3rd\epoc32\include\variant -include symbian_os_v9.1.hrh -c ".\vec7.cpp" -o "Deb_S60_30_WINSCW\InvalidFilePath.o" epocroot = \Symbian\9.1\S60_3rd\ * mwccsym2.exe -g -O0 -inline off -sym codeview_new -wchar_t off -align 4 -warnings on -w nohidevirtual,nounusedexpr -msgstyle gcc -enum int -str pool -exc ms -nostdinc -d _DEBUG -d _UNICODE -d "__SYMBIAN32__" -d "__SERIES60_30__" -d "__SERIES60_3X__" -d "__SUPPORT_CPP_EXCEPTIONS__" -d "__EXE__" -d "__WINSCW__" -d "__WINS__" -d "__CW32__" -d "_DEBUG" -d "_UNICODE" -cwd source -i- -i "C:\Symbian\9.1\S60_3rd\\epoc32\include\stlport" -i "C:\Symbian\9.1\S60_3rd\\epoc32\include\libc" -i "C:\Symbian\9.1\S60_3rd\\epoc32\include" -i C:\Symbian\9.1\S60_3rd\epoc32\include\variant -include symbian_os_v9.1.hrh -c ".\vec6.cpp" -o "Deb_S60_30_WINSCW\InvalidFilePath.o" epocroot = \Symbian\9.1\S60_3rd\ * mwccsym2.exe -g -O0 -inline off -sym codeview_new -wchar_t off -align 4 -warnings on -w nohidevirtual,nounusedexpr -msgstyle gcc -enum int -str pool -exc ms -nostdinc -d _DEBUG -d _UNICODE -d "__SYMBIAN32__" -d "__SERIES60_30__" -d "__SERIES60_3X__" -d "__SUPPORT_CPP_EXCEPTIONS__" -d "__EXE__" -d "__WINSCW__" -d "__WINS__" -d "__CW32__" -d "_DEBUG" -d "_UNICODE" -cwd source -i- -i "C:\Symbian\9.1\S60_3rd\\epoc32\include\stlport" -i "C:\Symbian\9.1\S60_3rd\\epoc32\include\libc" -i "C:\Symbian\9.1\S60_3rd\\epoc32\include" -i C:\Symbian\9.1\S60_3rd\epoc32\include\variant -include symbian_os_v9.1.hrh -c ".\vec5.cpp" -o "Deb_S60_30_WINSCW\InvalidFilePath.o" epocroot = \Symbian\9.1\S60_3rd\ * mwccsym2.exe -g -O0 -inline off -sym codeview_new -wchar_t off -align 4 -warnings on -w nohidevirtual,nounusedexpr -msgstyle gcc -enum int -str pool -exc ms -nostdinc -d _DEBUG -d _UNICODE -d "__SYMBIAN32__" -d "__SERIES60_30__" -d "__SERIES60_3X__" -d "__SUPPORT_CPP_EXCEPTIONS__" -d "__EXE__" -d "__WINSCW__" -d "__WINS__" -d "__CW32__" -d "_DEBUG" -d "_UNICODE" -cwd source -i- -i "C:\Symbian\9.1\S60_3rd\\epoc32\include\stlport" -i "C:\Symbian\9.1\S60_3rd\\epoc32\include\libc" -i "C:\Symbian\9.1\S60_3rd\\epoc32\include" -i C:\Symbian\9.1\S60_3rd\epoc32\include\variant -include symbian_os_v9.1.hrh -c ".\vec4.cpp" -o "Deb_S60_30_WINSCW\InvalidFilePath.o" epocroot = \Symbian\9.1\S60_3rd\ . . . Build log was saved at "file://c:\STLport-4.5.1\test\regression\Deb_S60_30_WINSCW\BuildLog.htm" epoc - 313 error(s), 12 warning(s) ---------------------- Done ---------------------- Build: 0 succeeded, 1 failed, 0 skipped
Cheers,
Timo



