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:[email protected]]
> Sent: August 18, 2009 17:32
> To: Jack Dodds
> Cc: [email protected]
> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-general

Reply via email to