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