Hi, Cmake is looking for/finding the free VC compiler, but VC++ 2005 Express is not this free compiler (which was the VC++2003 command line tools, which are not available any more). So my guess is, that you have installed this free command line tools in the past and maybe they are still installed or during deinstallation not all traces in the registry were removed. If you have installed them, please deinstall them or make them invisible by
* looking for and removing traces in the registry * check if the PATH environment variable is still pointing to the VC++ 2003 tools Apart from that, you may have sdk nor setup up correctly. I normally have no global variables set, I use a batch file which I run when i call cmd.exe, which looks like this: set CMAKEDIR=%ROOTDIR%\cmake-2.4.6-win32-x86 set PATH=C:\Programme\Microsoft Platform SDK\Bin;%CMAKEDIR%\bin;;%PATH% set INCLUDE=C:\Programme\Microsoft Platform SDK\Include;%INCLUDE% set LIB=C:\Programme\Microsoft Platform SDK\Lib;%LIB% rem run setup for Visual C++ 2005 compiler "%VS80COMNTOOLS%vsvars32.bat" HTH, Werner winson wrote: > 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 PLplot5.7.2. I followed the > steps described on PLplot wiki to install PLplot. 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\nm1C0.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, when I launched VC++ and wrote a testing C++ > program with stdio.h included, I got no problem at > compilation at all. This indicates that VC++ setting > is fine. I also tested putting the 'include' path in > system environment setting, but that does not help > either. Any idea on what could be the cause of the > problem? > > I am thinking that maybe I can put source files into > VC++, and compile the library directly with VC++ > instead of cmake. However, I had little experience > with library building. Could anyone give me a rough > procedure on how to do it? I appreciate any help. > > Regards, > > Winson Mao > > > > > > ____________________________________________________________________________________ > Need Mail bonding? > Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users. > http://answers.yahoo.com/dir/?link=list&sid=396546091 > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Plplot-general mailing list > Plplot-general@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/plplot-general > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Plplot-general mailing list Plplot-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-general