[CMake] Problem with VC++ 2005 Express

winson roaming_way at yahoo.com
Sat Mar 17 20:05:17 EST 2007


I am using VC++ 2005 Express. I have installed PSDK
for Windows Server 2003 R2 and wxWidget 2.8.2. I
downloaded cmake 2.4.6, and I was trying to compile
the source code of a package named PLplot5.7.2. At the
command window, I used the command:

cmake -G "NMake Makefiles"
-DCMAKE_INSTALL_PREFIX=install ..

I got the following error message.

------------------------------------------
Determining if this is a free VC compiler failed with
the following output:
CMakeTestForFreeVC.cxx
D:\Program Files\CMake
2.4\share\cmake-2.4\Modules\CMakeTestForFreeVC.cxx(1)
: fatal error C1034: iostream: no include path set

Determining if the C compiler works failed with the
following output:
	"D:\Program Files\Microsoft Visual Studio
8\VC\bin\nmake.exe" -f
CMakeFiles\cmTryCompileExec.dir/build.make /nologo -L 
                CMakeFiles\cmTryCompileExec.dir\build

	"D:\Program Files\CMake 2.4\bin\cmake.exe" -E
cmake_progress_report
D:\plplot-5.7.2\buildnmake\CMakeFiles\CMakeTmp\CMakeFiles
1

Building C object
CMakeFiles/cmTryCompileExec.dir/testCCompiler.obj

	D:\PROGRA~1\MICROS~2\VC\bin\cl.exe 
@E:\APPLIC~1\Temp\nm2CF.tmp

testCCompiler.c

D:\plplot-5.7.2\buildnmake\CMakeFiles\CMakeTmp\testCCompiler.c(4)
: fatal error C1034: stdio.h: no include path set

NMAKE : fatal error U1077:
'D:\PROGRA~1\MICROS~2\VC\bin\cl.exe' : return code
'0x2'

Stop.

NMAKE : fatal error U1077: '"D:\Program
Files\Microsoft Visual Studio 8\VC\bin\nmake.exe"' :
return code '0x2'

Stop.
----------------------------------------

It seems that the include path of stdio.h is missing.
However, I also tested putting the 'include' and 'lib'
path in system environment, that does not help
either. Any idea on what could be the cause of the
problem? Thanks for your help.


Regards,

Winson Mao


 
____________________________________________________________________________________
No need to miss a message. Get email on-the-go 
with Yahoo! Mail for Mobile. Get started.
http://mobile.yahoo.com/mail 


More information about the CMake mailing list