We seem to have gotten slightly different information from CMake, as I was told it there was no developer looking after it and that patches I had supplied to the Mantis bug tracker could not be applied.

Anyhow, I've just checked on my system and it appears that wxWidgets 3.0 is found correctly.
Unfortunatley there are still some bugs in the wxWidgets module. I reprted a bug to them because CMake never found the 64 bit version of wxWidgets and always gave the 32 bit version. Unfortunately it seems that their fix actually causes CMake to always find the 64 bit version even when I'm using the 32 bit generator.

I will report this to them again. And will see what there response is.

Unfortunately the Freetype module still doesn't work for me. I actually get PL_HAVE_FREETYPE set to ON, however FREETYPE_INCLUDE_DIR is empty and therefore when I try to compile Plplot I get a "cannot find include file" type error. I will keep playing to see if there is anything obvious I am missing.


On Monday, 3 March 2014, 2:31, Alan W. Irwin <irwin@beluga.phys.uvic.ca> wrote:
On 2014-03-03 11:57+1100 Joost Kuckartz wrote:

> Hello,
> 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 information


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

Linux-powered Science