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
__________________________

------------------------------------------------------------------------------
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

Reply via email to