On 2009-09-11 15:10+0100 David Aldrich wrote: > Hi > > I am still struggling with building PLplot 5.9.5 under Visual C++ 2005, for > wxWidgets. > > I specify: > > C:\plplot-5.9.5\buildnmake>nmake clean > C:\plplot-5.9.5\buildnmake>set WXWIN=C:\wxWidgets-2.8.10 > C:\plplot-5.9.5\buildnmake>cmake -G "NMake Makefiles" > -DCMAKE_INSTALL_PREFIX=install -DBUILD_TEST=ON ..
Hi David: It appears that our CMake-based build system is failing you in some way so I will try to help you out since build-system issues are primarily my area of responsibility (although I may need help from those with actual Windows experience here if there is some Windows platform quirk we are up against). cmake caches information from previous cmake attempts in the same build tree. So if something was wrong with previous cmake attempts that issue might get perpetrated. Therefore, in these early stages of figuring things out it is best to always run cmake in an initially empty build rather than using "nmake clean" (which only gets rid of the previous compiled object files and linked libraries, but not the configuration information from previous cmake runs). Also, cmake has a quirk that if you point to a directory with a previous build in it, it will use that build tree rather than where you are located. So make sure that the source tree your cmake command points to is clean, i.e., no previous builds there. I have just reviewed cmake/modules/wxwidgets.cmake, and that is filled with logic to give warning messages when things go wrong with finding wxwidgets on your system. So I just don't understand your report of no such messages. To help sort this out, please send me off-list your _complete_ cmake output and also the CMake cache file (CMakeCache.txt) from a cmake run in an intially empty build tree AND for a clean source tree (i.e., no builds done by mistake in that source tree). 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 __________________________ ------------------------------------------------------------------------------ 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