On 2014-03-03 11:57+1100 Joost Kuckartz wrote:
> In a previous conversation with Werner (which I noticed ended up not being sent to the plplot list) I can compile plplot with
wxwidgets 3.0.0 without any problems. The problem is in cmake itself: the findwxwidgets there is not up to date yet (version 2.8.12 doesn't have the correct file yet, it is planned to be within the next cmake release).
> In any case, I used the following informationhttp://www.cmake.org/Bug/bug_relationship_graph.php?bug_id=14587&graph=relation
> and modified the module myself based on that patch, as the target version cmake is 3.0 and not released yet.
> In addition to the findwxwidgets.cmake modification I used the setting -DwxWidgets_ROOT_DIR="C:\wxWidgets-3.0.0", after which plplot compiles fine through wxWidgets 3.0.0. I haven't played with plplot + wxwidgets for a while now though - one reason
was that I would have to look into the bindings (which work but are quite different from the include files for the plplot examples).
> Regards, Joost
@Joost: thanks for that important extra information about the location
of an improved version of FindwxWidgets.cmake.
@Phil: from the link above it turns out the situation is now virtually
identical to the FindFreeType.cmake case where the unreleased
CMake-3.0 has an improved version of the find module. For both cases
(assuming both improved find modules work for you) I advise you to
commit the improved versions of these find modules in the PLplot
cmake/modules location so that all PLplot users can benefit from this
CMake-3.0 work regardless of their CMake version.
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); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); the libLASi project
(unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
and the Linux Brochure Project (lbproject.sf.net).