Hi Jack, is C:\MinGW\wxWidgets-2.8.9 the path, where all the source of wxWidgets can be found and how did you build wxWidgets?
To get more information find the debug message macro (something like dbg_msg or so) in FindwxWidgets.cmake and uncomment the relevant lines, you'll get a lot of debug messages then. Could you send us the *complete* output (offlist if you wish) of cmake, so that I can have a look, what cmake is doing - with the debug messages it's even more useful. One thing I spot immediately is that > -DwxWidgets_LIB_DIR=C:\MinGW\wxWidgets-2.8.9\lib must be > -DwxWidgets_LIB_DIR=C:\MinGW\wxWidgets-2.8.9\lib\gcc_dll if you build wxWidgets as shared (which you must do if you want to use plplot in your wxWidgets application, but not if you just use the driver). You can also omit the last option, if you use cmake 2.6.4 this directory will be chosen automatically based on wxWidgets_ROOT_DIR. HTH, Werner On Sep 17, 2009, at 7:20 PM, Jack Dodds wrote: > > > Hello Alan and the list, > > I've just got back to this after being away from it for a while. > > I have played with various CMAKE options to no avail, including the > ones you > mentioned. I have tried many combinations. This is the latest: > > cmake -G "MinGW Makefiles" -DCMAKE_INSTALL_PREFIX=install .. > -DBUILD_SHARED_LIBS=OFF -DwxWidgets_ROOT_DIR=C:\MinGW\wxWidgets-2.8.9 > -DwxWidgets_LIB_DIR=C:\MinGW\wxWidgets-2.8.9\lib -DBUILD_TEST=ON > -DwxWidgets_CONFIGURATION=msw > > In an effort to get more information I modified the > cmake\modules\wxwidgets.cmake by deleting the QUIET keyword from the > command > find_package(wxWidgets QUIET). This resulted in one additional line > of > output > -- Could NOT find wxWidgets (missing: wxWidgets_FOUND) > which immediately preceded the line > -- WARNING: wxWidgets not found so setting PLD_wxwidgets to OFF. > that is shown below. Not much help! > > I found a posting to a CMAKE mailing list: > > http://www.cmake.org/pipermail/cmake/2008-April/021251.html > > Could my problem be caused by a bug in the FindwxWidgets module? > > In any case, there must be someone who has done a successful build > of PLplot > for MinGW, and it would be a step forward for me. Even if I could > just copy > the directory structure and CMAKE options that someone else has > used, that > would be big help. > > Thanks for any advice. > > Jack Dodds > > >> -----Original Message----- >> From: Alan W. Irwin [mailto:ir...@beluga.phys.uvic.ca] >> Sent: August 18, 2009 17:32 >> To: Jack Dodds >> Cc: plplot-general@lists.sourceforge.net >> Subject: Re: [Plplot-general] Trouble with MinGW/wxWidgets build >> >> On 2009-08-18 16:06-0400 Jack Dodds wrote: >> >>> >>> I would appreciate some help building plPlot using MinGW on a WinXP >> machine. >>> I want to use PLplot to output in a wxWidgets window. >>> >>> My directory structure looks like this (showing only most important >>> directories): >>> >>> MinGW >>> lib >>> (wxWidgets .dll.a and .dll libs are here.) >>> bin >>> (wxWidgets .dll libs are also here .) >>> PLplot >>> (plPlot source tree unzipped here from plplot-5.8.0- >>> RC1.tar.gz) >>> BuildMinGW >>> (I'm trying to do the build in WinXP console here as >>> described in the wiki page "Configure PLplot for MinGW/ >>> CLI".) >>> >>> When I run cmake in BuildMinGW, it tells me that wxWidgets is not >>> found. >>> (It also says that Pango is not found. I'm not sure that matters, >>> but >> the >>> libpango dlls are in the bin directory.) >> >> Hi Jack: >> >> Welcome to the PLplot world. :-) >> >> libpango is well worth having since that gives you access to all >> the cairo >> devices. Those along with the qt devices (that depend on QT4 which >> can >> also >> be downloaded for windows) are our best set of devices since they >> give >> convenient (no fiddling with fonts since the system fonts are just >> used by >> default) good-looking results for unicode fonts even for complex- >> text- >> layout >> (CTL) languages as evidenced by >> http://plplot.sourceforge.net/examples.php?demo=24. But first I >> would >> concentrate on getting a fundamental build working with wxwidgets >> before >> worrying about cairo and qt devices. >> >> To help with that, in general, use the variables (either environment >> variables or as -D options to the cmake command) CMAKE_INCLUDE_PATH >> and >> CMAKE_LIBRARY_PATH (documented at >> http://www.cmake.org/Wiki/CMake_Useful_Variables) to help cmake find >> everything it needs. If that general solution for finding headers >> and >> libraries on your platform doesn't work, get back to us here where >> some >> other PLplot developers (with windows expertise I don't have) may >> be able >> to >> help you. >> >> Finally, for your information we maintain a few find modules >> ourselves in >> cmake/modules, but the bulk of them (such as FindwxWidgets.cmake) are >> supplied by cmake. >> >> Good luck! >> >> 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 >> __________________________ > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart > your > developing skills, take BlackBerry mobile applications to market and > stay > ahead of the curve. Join us from November 9-12, 2009. Register > now! > http://p.sf.net/sfu/devconf > _______________________________________________ > 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 ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Plplot-general mailing list Plplot-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-general