Hi all, I want to compile 32bit app in 64 bit windows 7. I can compile with vs2008 but when i try to configures for compile with cmake it gives. i use cmake 2.8 How can i solve that error ?
ERROR::::>> ############################################################################ The C compiler identification is unknown The CXX compiler identification is unknown Check for CL compiler version Check for CL compiler version - 1500 Check if this is a free VC compiler Check if this is a free VC compiler - yes Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 9.0/VC/bin/cl.exe Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 9.0/VC/bin/cl.exe -- broken CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE): The C compiler "C:/Program Files (x86)/Microsoft Visual Studio 9.0/VC/bin/cl.exe" is not able to compile a simple test program. It fails with the following output: Change Dir: C:/Users/ramazan.girgin/Desktop/ma3BuildManager/New folder/CMakeFiles/CMakeTmp Run Build Command:nmake /NOLOGO "cmTryCompileExec\fast" "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe" -f CMakeFiles\cmTryCompileExec.dir\build.make /nologo -L CMakeFiles\cmTryCompileExec.dir\build "C:\Program Files (x86)\CMake 2.8\bin\cmake.exe" -E cmake_progress_report "C:\Users\ramazan.girgin\Desktop\ma3BuildManager\New folder\CMakeFiles\CMakeTmp\CMakeFiles" 1 Building C object CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.obj C:\PROGRA~2\MICROS~1.0\VC\bin\cl.exe @C:\Users\RAMAZA~1.GIR\AppData\Local\Temp\nm2AF.tmp testCCompiler.c C:\Users\ramazan.girgin\Desktop\ma3BuildManager\New folder\CMakeFiles\CMakeTmp\testCCompiler.c : fatal error C1033: cannot open program database '' NMAKE : fatal error U1077: 'C:\PROGRA~2\MICROS~1.0\VC\bin\cl.exe' : return code '0x2' Stop. NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe"' : return code '0x2' Stop. CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMake Warning (dev) in CMakeLists.txt: No cmake_minimum_required command is present. A line of code such as cmake_minimum_required(VERSION 2.8) should be added at the top of the file. The version specified may be lower if you wish to support older CMake versions for this project. For more information run "cmake --help-policy CMP0000". This warning is for project developers. Use -Wno-dev to suppress it. Configuring incomplete, errors occurred! ############################################################################ -- Ramazan Girgin
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake