[CMake] cmake on Windows 7 with nmake and intel compiler
Dominik Szczerba
dominik at itis.ethz.ch
Tue Jul 10 08:48:34 EDT 2012
I am trying to compile my project with the Intel compiler on Windows
7, MSVC2010. I am doing:
> set CC=C:/Intel/ComposerXE-2011/bin/intel64/icl.exe
> set CXX=C:/Intel/ComposerXE-2011/bin/intel64/icl.exe
> cmake -G "NMake Makefiles" -DCMAKE_C_COMPILER=C:/Intel/Co
mposerXE-2011/bin/intel64/icl.exe -DCMAKE_CXX_COMPILER=C:/Intel/ComposerXE-2011/
bin/intel64/icl.exe .....
to see the below cited errors. Can you please help me?
-- Dominik
loading initial cache file C:/src/solvers/CMake/CMakeInitialCache-msvc2010-dsz.c
make
-- The C compiler identification is Intel
-- The CXX compiler identification is Intel
-- Check for working C compiler: C:/Intel/ComposerXE-2011/bin/intel64/icl.exe
-- Check for working C compiler: C:/Intel/ComposerXE-2011/bin/intel64/icl.exe --
broken
CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeTes
tCCompiler.cmake:52 (MESSAGE):
The C compiler "C:/Intel/ComposerXE-2011/bin/intel64/icl.exe" is not able
to compile a simple test program.
It fails with the following output:
Change Dir: C:/build/solvers-intel/CMakeFiles/CMakeTmp
Run Build Command:nmake /NOLOGO "cmTryCompileExec\fast"
"c:\Program Files (x86)\Microsoft Visual Studio
10.0\VC\BIN\amd64\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_repor
t
C:\build\solvers-intel\CMakeFiles\CMakeTmp\CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.obj
C:\Intel\ComposerXE-2011\bin\intel64\icl.exe
@C:\Users\dsz\AppData\Local\Temp\nm3078.tmp
testCCompiler.c
Linking C executable cmTryCompileExec.exe
C:\Intel\ComposerXE-2011\bin\intel64\icl.exe /nologo
@C:\Users\dsz\AppData\Local\Temp\nm30C7.tmp
LINK : warning LNK4224: /INCREMENTAL:YES is no longer supported; ignored
LINK : warning LNK4224: /INCREMENTAL:YES is no longer supported; ignored
LINK : fatal error LNK1104: cannot open file 'libmmd.lib'
NMAKE : fatal error U1077: 'C:\Intel\ComposerXE-2011\bin\intel64\icl.exe' :
return code '0x450'
Stop.
NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual Studio
10.0\VC\BIN\amd64\nmake.exe"' : return code '0x2'
Stop.
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:1 (PROJECT)
-- Configuring incomplete, errors occurred!
More information about the CMake
mailing list