<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent posts to CMake build with wxWidgets </title><link>https://sourceforge.net/p/plplot/discussion/8607/thread/fe6b6156/</link><description>Recent posts to CMake build with wxWidgets </description><atom:link href="https://sourceforge.net/p/plplot/discussion/8607/thread/fe6b6156/feed.rss" rel="self"/><language>en</language><lastBuildDate>Sat, 17 Sep 2016 07:54:28 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/plplot/discussion/8607/thread/fe6b6156/feed.rss" rel="self" type="application/rss+xml"/><item><title>CMake build with wxWidgets </title><link>https://sourceforge.net/p/plplot/discussion/8607/thread/fe6b6156/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;so, I found the issue, that was just a matter of not adding strings for the latest &lt;br/&gt;
wxwidgets-3.1.0&lt;br/&gt;
version&lt;/p&gt;
&lt;p&gt;in the script named FindwxWidgets.cmake&lt;/p&gt;
&lt;p&gt;add the line containing "31" in several places &lt;/p&gt;
&lt;p&gt;foreach(LIB net odbc xml)&lt;br/&gt;
      find_library(WX_${LIB}${&lt;em&gt;DBG}&lt;br/&gt;
        NAMES&lt;br/&gt;
        wxbase31${_UCD}${_DBG}&lt;/em&gt;${LIB}&lt;br/&gt;
        wxbase30${&lt;em&gt;UCD}${_DBG}&lt;/em&gt;${LIB}&lt;br/&gt;
        wxbase29${&lt;em&gt;UCD}${_DBG}&lt;/em&gt;${LIB}&lt;br/&gt;
        wxbase28${&lt;em&gt;UCD}${_DBG}&lt;/em&gt;${LIB}&lt;/p&gt;
&lt;p&gt;I am evaluating PLplot for a C++ project concerning 1D axis and 2D map plots and I have to say I am impressed so far:&lt;/p&gt;
&lt;p&gt;1) easy to use&lt;br/&gt;
2) so far the SVG output looks good&lt;br/&gt;
3) WxWidgets and QT drivers&lt;br/&gt;
4) etc&lt;/p&gt;
&lt;p&gt;-Pedro&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Pedro Vicente</dc:creator><pubDate>Sat, 17 Sep 2016 07:54:28 -0000</pubDate><guid>https://sourceforge.netdc2df9bb27c36beecc4592d767cac008fd47ec75</guid></item><item><title>CMake build with wxWidgets </title><link>https://sourceforge.net/p/plplot/discussion/8607/thread/fe6b6156/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;EDIT:&lt;br/&gt;
I did set&lt;/p&gt;
&lt;p&gt;set WXWIN=M:/wx/wxwidgets-3.1.0&lt;/p&gt;
&lt;p&gt;and used &lt;/p&gt;
&lt;p&gt;-DwxWidgets_ROOT_DIR=%WXWIN% -DwxWidgets_LIB_DIR=%WXWIN%/lib/vc_lib&lt;/p&gt;
&lt;p&gt;Now the libraries are found&lt;/p&gt;
&lt;p&gt;-- wxWidgets_FOUND           : FALSE&lt;br/&gt;
-- wxWidgets_INCLUDE_DIRS    : M:/wx/wxwidgets-3.1.0/lib/vc_lib/mswud;M:/wx/wxwidgets-3.1.0/include&lt;br/&gt;
-- wxWidgets_LIBRARY_DIRS    :&lt;br/&gt;
-- wxWidgets_LIBRARIES       : M:/wx/wxwidgets-3.1.0/lib/vc_lib/wxpngd.lib;M:/wx/wxwidgets-3.1.0/lib/vc_lib/wxzlibd.lib;winmm;comctl32;rpcrt4;wsock32&lt;br/&gt;
-- wxWidgets_CXX_FLAGS       :&lt;br/&gt;
-- wxWidgets_USE_FILE        : UsewxWidgets&lt;br/&gt;
-- WARNING: wxWidgets or its libraries not found so setting all wxwidgets devices to OFF.&lt;br/&gt;
-- WARNING: PLD_wxwidgets is OFF so setting ENABLE_wxwidgets to OFF.&lt;br/&gt;
-- WARNING: ENABLE_wxwidgets is OFF so setting all wxwidgets devices to OFF.&lt;/p&gt;
&lt;p&gt;but it still fails&lt;/p&gt;
&lt;p&gt;the docs say&lt;/p&gt;
&lt;p&gt;There are two search branches: a windows style and a unix style.  For&lt;br/&gt;
windows, the following variables are searched for and set to defaults&lt;br/&gt;
in case of multiple choices.  Change them if the defaults are not&lt;br/&gt;
desired (i.e., these are the only variables you should change to&lt;br/&gt;
select a configuration):&lt;/p&gt;
&lt;p&gt;::&lt;/p&gt;
&lt;p&gt;wxWidgets_ROOT_DIR      - Base wxWidgets directory&lt;br/&gt;
                           (e.g., C:/wxWidgets-2.6.3).&lt;br/&gt;
 wxWidgets_LIB_DIR       - Path to wxWidgets libraries&lt;br/&gt;
                          (e.g., C:/wxWidgets-2.6.3/lib/vc_lib).&lt;br/&gt;
  wxWidgets_CONFIGURATION - Configuration to use&lt;br/&gt;
                           (e.g., msw, mswd, mswu, mswunivud, etc.)&lt;br/&gt;
 wxWidgets_EXCLUDE_COMMON_LIBRARIES&lt;br/&gt;
                        - Set to TRUE to exclude linking of&lt;br/&gt;
                            commonly required libs (e.g., png tiff&lt;br/&gt;
                            jpeg zlib regex expat).&lt;/p&gt;
&lt;p&gt;is the wxWidgets_EXCLUDE_COMMON_LIBRARIES &lt;em&gt;really&lt;/em&gt; needed?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Pedro Vicente</dc:creator><pubDate>Fri, 16 Sep 2016 03:32:00 -0000</pubDate><guid>https://sourceforge.netf9ab01de4dbd8324f104e5e0a118356beb2e6bd6</guid></item><item><title>CMake build with wxWidgets </title><link>https://sourceforge.net/p/plplot/discussion/8607/thread/fe6b6156/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;System is windows 7, Visual Studio 2014, Win32 build&lt;/p&gt;
&lt;p&gt;I was able to build PLPLot with the options&lt;/p&gt;
&lt;p&gt;cmake ".." -G "Visual Studio 14" -DPL_DOUBLE=ON -DBUILD_TEST=ON -DCMAKE_CONFIGURATION_TYPES="Debug" -DBUILD_SHARED_LIBS=OFF -DSTATIC_RUNTIME=ON&lt;/p&gt;
&lt;p&gt;Now I want to build with the wxWidgets driver&lt;/p&gt;
&lt;p&gt;I added to the above these extra options&lt;/p&gt;
&lt;p&gt;-DwxWidgets_LIB_DIR=M:/wx/wxwidgets-3.1.0/lib/vc_lib -DwxWidgets_CONFIGURATION=mswud -DENABLE_MIX_CXX=ON&lt;/p&gt;
&lt;p&gt;according to&lt;/p&gt;
&lt;p&gt;&lt;a href="https://sourceforge.net/p/plplot/wiki/Configuration_of_wxWidgets_driver/"&gt;https://sourceforge.net/p/plplot/wiki/Configuration_of_wxWidgets_driver/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I get these messages &lt;/p&gt;
&lt;p&gt;-- wxWidgets_FOUND           : FALSE&lt;br/&gt;
-- wxWidgets_INCLUDE_DIRS    :&lt;br/&gt;
-- wxWidgets_LIBRARY_DIRS    :&lt;br/&gt;
-- wxWidgets_LIBRARIES       :&lt;br/&gt;
-- wxWidgets_CXX_FLAGS       :&lt;br/&gt;
-- wxWidgets_USE_FILE        : UsewxWidgets&lt;br/&gt;
-- WARNING: wxWidgets or its libraries not found so setting all wxwidgets devices to OFF.&lt;br/&gt;
-- WARNING: PLD_wxwidgets is OFF so setting ENABLE_wxwidgets to OFF.&lt;br/&gt;
-- WARNING: ENABLE_wxwidgets is OFF so setting all wxwidgets devices to OFF.&lt;/p&gt;
&lt;p&gt;Anhe help appreciated, thanks&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Pedro Vicente</dc:creator><pubDate>Fri, 16 Sep 2016 02:48:22 -0000</pubDate><guid>https://sourceforge.neta422dc82c4fe60e587dec04037f7fb26a61e4374</guid></item></channel></rss>