Hi Joost,

all the magic is in the FindWxWidgets.cmake module in your cmake application. If this module doesn't know about wxWidgets 3.0 you're out of luck. Which means that you need to upgrade to the latest cmake application. Then look for this file in the cmake application directory (e.g C:\Development\cmake-2.8.11.2-win32-x86\share\cmake-2.8\Modules). I for example have 2.8.11.2 version of cmake and 3.0 isn't mentioned here. I don't think there is a major problem, since wxWidgets 2.9 is identically to 3.0 (more or less). So if there is no update of the cmake application look in the net for an update of this file or make the appropriate changes (copy all lines which mention 29 and change to 30).

Anyway, configuring wxWidgets in Windows is quite a task and cmake can do that for you, but the corresponding module needs to be uptodate. Trying to change all things by hand (i.e. on the command line) is tedious.

Regards,
Werner
04 December 2013 06:12
It looks simple to me: modify the cmake -DwxWidgets_LIB_DIR from the 2.8.12 path to the 3.0.0 path. I'm running

cmake  C:\plplot-trunk -G "NMake Makefiles" -DCMAKE_INSTALL_PREFIX:PATH="C:\Programming" -DwxWidgets_LIB_DIR=C:\wxWidgets-3.0.0\lib\vc_lib -DwxWidgets_CONFIGURATION=mswu -DBUILD_SHARED_LIBS=OFF

however, plplot still manages to only link the 2.8.12 wxwidgets version (as the CmakeCache.txt file shows only C:\wxWidgets-2.8.12\ paths). Does this mean that the -DwxWidgets_LIB_DIR is ignored, or does plplot's cmakelists have other methods for finding wxWidgets? If so, how do I get plplot to link with 3.0.0 so I can also port my plplot application to the latest wxWidgets version?

(Running Visual Studio 2010 on Windows with no Linux knowledge...)

Thanks!
Joost

------------------------------------------------------------------------------
Sponsored by Intel(R) XDK
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel
------------------------------------------------------------------------------
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to