Hi,

I am using Visual Studio 2005,Qt4.1.2 on Windows.

I use following command on Visual Studio Command Prompt: 

C:\WIP\build>build_nmake.bat release
QT_QMAKE_EXECUTABLE=C:\Qt\4.1.2\bin\qmake.exe

I get this error:

*****************
C:\WIP\build>cmake .. -DCMAKE_VERBOSE_MAKEFILE=1 -G "NMake Makefiles" 
-- Using FREE VC TOOLS, NO DEBUG available
-- Check for working C compiler: C:/Program Files/Microsoft Visual
Studio 8/VC/bin/cl.exe
-- Check for working C compiler: C:/Program Files/Microsoft Visual
Studio 8/VC/bin/cl.exe -- broken
CMake Error: The C compiler "C:/Program Files/Microsoft Visual Studio
8/VC/bin/cl.exe" is not able to compile a simple test program.
It fails with the following output:
        "C:\Program Files\Microsoft Visual Studio 8\VC\BIN\nmake.exe" -f
CMakeFiles\cmTryCompileExec.dir/build.make /nologo -L
CMakeFiles\cmTryCompileExec.dir\build   "C:\Program Files\CMake
2.4\bin\cmake.exe" -E cmake_progress_report
C:\WIP\build\CMakeFiles\CMakeTmp\CMakeFiles 1 Building C object
CMakeFiles/cmTryCompileExec.dir/testCCompiler.obj
C:\PROGRA~1\MICROS~4\VC\bin\cl.exe
@C:\DOCUME~1\jmeghani\LOCALS~1\Temp\nm17B.tmp cl : Command line warning
D9035 : option 'GX' has been deprecated and will be removed in a future
release cl : Command line warning D9036 : testCCompiler.c use 'EHsc'
instead of 'GX' Linking C executable cmTryCompileExec.exe
"C:\Program Files\CMake 2.4\bin\cmake.exe" -P
CMakeFiles\cmTryCompileExec.dir\cmake_clean_target.cmake
C:\PROGRA~1\MICROS~4\VC\bin\cl.exe  /nologo
@C:\DOCUME~1\jmeghani\LOCALS~1\Temp\nm17C.tmp cl : Command line warning
D9035 : option 'GX' has been deprecated and will be removed in a future
release cl : Command line warning D9036 : use 'EHsc' instead of 'GX'
CMakeFiles\cmTryCompileExec.dir\testCCompiler.obj : fatal error LNK1112:
module machine type 'X86' conflicts with target machine type 'x64' NMAKE
: fatal error U1077: 'C:\PROGRA~1\MICROS~4\VC\bin\cl.exe' : return code
'0x2' Stop. NMAKE : fatal error U1077: '"C:\Program Files\Microsoft
Visual Studio 8\VC\BIN\nmake.exe"' : return code '0x2' Stop. 

CMake will not be able to correctly generate this project.
-- Configuring done

*****************
It says "cl.exe is not able to compile a simple test program." 
However I have successfully built wengo code using scons and MSVS 2005.
Any idea, what am I doing wrong?

Thanks.
_______________________________________________
Wengophone-devel mailing list
[email protected]
http://dev.openwengo.com/mailman/listinfo/wengophone-devel

Reply via email to