On 2010-06-06 11:00+1000 Sisyphus wrote: > Hi, > > (Original post sent prior to subscribing to the list - afaik it's still > awaiting approval from the moderator. So I've subscribed, and am > re-sending.) > > I've got mingw (gcc-3.4.5) and cmake-2.8.1, and I'm following (or trying to > follow) the instructions on the wiki at > http://www.miscdebris.net/plplot_wiki/index.php?title=Configure_PLplot_for_MinGW/CLI > where I'm told: > > cd plplot > mkdir buildmingw > cd buildmingw > cmake -G "MinGW Makefiles" -DCMAKE_INSTALL_PREFIX=install .. > mingw32-make > mingw32-make install > > So I 'cd' to the top level source directory (plplot-5.9.5) create the > buildmingw directory, cd to that directory, and run the command as given. > Here's what I get: > > C:\_32\comp\plplot-5.9.5\buildmingw>cmake -G "MinGW > Makefiles" -DCMAKE_INSTALL_PREFIX=install .. > CMake Error: CMake was unable to find a build program corresponding to > "MinGW Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to > select a different build tool.
I have never experienced this error (CMAKE_MAKE_PROGRAM is not set), but I am virtually positive it simply means it cannot find make.exe on your PATH. I notice that there is a make programme normally available as part of MinGW. Do you have that downloaded, installed, and on your PATH? If you don't want to use MinGW make, then there are other CMake generators available for your platform corresponding to lots of different build tools. Run "cmake --help" to get a full list. "MSYS Makefiles" is one of those Windows generators I am beginning to gain experience with under Wine (a windows workalike available under Linux and Mac OS X). That requires a large fraction of MSYS to be downloaded and installed including make and bash. But if I recall previous discussion correctly, the "MinGW Makefiles" generator you tried to use (which I plan to try out under Wine fairly shortly) involves just make from MinGW (_not_ MSYS) without bash or other MSYS requirements. That simplicity is quite a selling point for it which I presume is why that generator has been recommended on our Wiki. However, I like the wider availability of more tools with the MSYS environment which is why I tried "MSYS Makefiles" (with the additional package installs from MSYS that implies) before "MinGW Makefiles". Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); PLplot scientific plotting software package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ Plplot-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/plplot-general
