Hi David, > I want to build PLplot on Windows using Visual C++ 2005, for use > with wxWidgets. > > I am following the instructions on PLplot wiki page 'Configure > PLplot for Visual CXX' but get the following error: > > C:\plplot-5.9.5\buildnmake>cmake -G "NMake Makefiles" - > DCMAKE_INSTALL_PREFIX=install .. > CMake Error: Could not create named generator > -- Check for working C compiler: gcc > -- Check for working C compiler: gcc -- broken > The C compiler "gcc" is not able to compile a simple test program. > It fails with the following output: > gmake: *** No rule to make target `/cygdrive/c/plplot-5.9.5/ > buildnmake/CMakeTmp/testCCompiler.c', needed by `testCCompi > ler.o'. Stop. > > I have confirmed that nmake is installed. I ran these commands from > the Visual C++ command prompt. > > I assumed that the Visual C++ compiler would be used and so was > surprised to see gcc in the error message. Do I need to install MinGW?
No, you don't need MinGW, it seems that cmake is not able to find nmake. Stick with the "NMake Makefiles", since this configuration is supported (i.e. I use/used it), the Visual C++ project files might work, but very likely there will be (more ;) problems. Which version of Visual C++ do you have, which version of cmake? If you run "cmake --help" a list of generators is printed at the end, do you find "NMake Makefiles" there? Before you run cmake, does nmake work (by just running it)? Visual C++ always has some surprises to offer .... Regards, Werner > Best regards > David > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and > focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. > http://p.sf.net/sfu/bobj-july_______________________________________________ > Plplot-general mailing list > Plplot-general@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/plplot-general -- Dr. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria DVR-Nr: 0005886 email: sme...@iap.tuwien.ac.at web: http://www.iap.tuwien.ac.at/~smekal phone: +43-(0)1-58801-13463 (office) +43-(0)1-58801-13469 (laboratory) fax: +43-(0)1-58801-13499 ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Plplot-general mailing list Plplot-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-general