Sent: Friday, January 13, 2006 2:26 PM Subject: Re: [CMake] CMake + VS Toolkit 2003
At 04:55 AM 1/13/2006, Benoit Regrain wrote:After having installed the 3 packages, set the environnement variables, I obtain the following messages :--------------------------------------------------------------- The C compile "cl" is not able to compile a simple test program. It fails with the following output:c:\creatis\CMake22\bin\cmake.exe -HZ:\Perso\myLibNM\CMakeTmp -BZ:\Perso\myLibNM\CMakeTmp --check-build-system CMakeFiles\Makefile.cmake 0nmake -f CMakeFiles/Makefile2 /nologo -L cmTryCompileExecc:\creatis\CMake22\bin\cmake.exe -HZ:\Perso\myLibNM\CMakeTmp -BZ:\Perso\myLibNM\CMakeTmp --check-build-system CMakeFiles\Makefile.cmake 0 nmake -f CMakeFiles/Makefile2 /nologo -L CMakeFiles\cmTryCompileExec.dir\all nmake -f CMakeFiles\cmTrycompileExec.dir\/build.make /nologo -L CMakeFile\cmTryCompileExec.dir\dependScanning dependencies of target cmTryComileExecc:\creatis\CMake22\bin\cmake.exe -E cmake_depends "NMake Makefiles" Z:\Perso\myLibNM\CMakeTmp z:\Perso\myLibNM\CMakeTmp Z:\Perso\myLibNM\CMakeTmp\CMakeFiles\cmTryCompileExec.dir\DependInfo.cmake nmake -f CMakeFiles\cmTryCompileExec.dir\build.cmake /nologo -L CmakeFiles\cmTryCommpileExec.dir\buildBuilding C object CMakeFiles/cmTryCompileExec.dir/testCCompile.obj c: @c:\docume~1\regrain\locals~1\temp\nm2af.tmp NMAKE : fatal error U1077: 'cl': return code 'x80' StopNMAKE : fatal error U1077: "c:\program files\Microsoft Platform SDK\Bin\nmake.exe": return code '0x02'StopNMAKE : fatal error U1077: "c:\program files\Microsoft Platform SDK\Bin\nmake.exe": return code '0x02'StopNMAKE : fatal error U1077: "c:\program files\Microsoft Platform SDK\Bin\nmake.exe": return code '0x02'StopThe compiler is failing for some reason. Is there anything in CMakeFiles/CMakeError.log ?
I join this file to this mail
It looks like a linking problem. Another thing you can try is this: cmake --debug-trycompile ../path/to/source
With that, I progress a little...- I have found there missing the path to mspdb71.dll in my path environnment variable - I have found there missing the path to libcmt.lib in my LIB environnment variable
Ok, the CMakeSetup is completely made and the makefile generated.Now, at the compile time, cl doesn't find iostream. But I have correctly set the path into the INCLUDE environment variable. Is there anyting other to do that I have omitted ?
Benoit
CMakeError.log
Description: Binary data
_______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
