Hi Alan

> I have just looked at the latest official version of
> FindwxWidgets.cmake from the cmake git master branch and it is the
> same as or superior to the PLplot unofficial version in all respects
> (e.g., in supporting all the recently released versions of wxWidgets).
> Therefore, I have just changed the PLplot master branch so that our
> unofficial version follows the official version (see my recent commit
> 511a6ac).


About that cmake wxWidgets driver bug that I reported here and patched on my 
local plplot 5.11.1 version

I did a clone of the git master from


https://sourceforge.net/p/plplot/plplot/ci/master/tree/

and I do get an error, that wxWidgets cannot be found


i do keep my own svn repositories with code that I use, and it seems that 
the differences I did are:

(sorry about the confusing output below, this is a copy of a trac web 
output)

the numbers at right are line numbers of file

plplot-5.11.1/cmake/modules/FindwxWidgets.cmake (2 diffs)

for revisions 1 and 3 of that file

plplot-5.11.1/cmake/modules/FindwxWidgets.cmake
r1  r3
193 193 # two versions for controlling how verbose your output should be.
194 194 macro(DBG_MSG _MSG)
195   # message(STATUS
196   #    "${CMAKE_CURRENT_LIST_FILE}(${CMAKE_CURRENT_LIST_LINE}): 
${_MSG}")
  195 message(STATUS
  196     "${CMAKE_CURRENT_LIST_FILE}(${CMAKE_CURRENT_LIST_LINE}): ${_MSG}")
197 197 endmacro()
198 198 macro(DBG_MSG_V _MSG)
199   #  message(STATUS
200   #    "${CMAKE_CURRENT_LIST_FILE}(${CMAKE_CURRENT_LIST_LINE}): 
${_MSG}")
  199   message(STATUS
  200     "${CMAKE_CURRENT_LIST_FILE}(${CMAKE_CURRENT_LIST_LINE}): ${_MSG}")
201 201 endmacro()
202 202
.  .
480 480       ENV ProgramFiles
481 481     PATH_SUFFIXES
  482           wxWidgets-3.1.0
482 483       wxWidgets-3.0.2
483 484       wxWidgets-3.0.1



so, my fix here was to add

wxWidgets-3.1.0


at line 482 of that file


also here was just to add the "31" version like the others are


plplot-5.11.1/cmake/modules/FindwxWidgets.cmake
r3  r5
278 278     list(APPEND wxWidgets_FIND_COMPONENTS
279 279       ${wxWidgets_COMMON_LIBRARIES})
  280         DBG_MSG("wxWidgets_COMMON_LIBRARIES : 
${wxWidgets_COMMON_LIBRARIES}")
280 281   endif()
281 282
.  .
322 323     find_library(WX_base${_DBG}
323 324       NAMES
  325           wxbase31${_UCD}${_DBG}
324 326       wxbase30${_UCD}${_DBG}
325 327       wxbase29${_UCD}${_DBG}
.  .
335 337       find_library(WX_${LIB}${_DBG}
336 338         NAMES
  339                 wxbase31${_UCD}${_DBG}_${LIB}
337 340         wxbase30${_UCD}${_DBG}_${LIB}
338 341         wxbase29${_UCD}${_DBG}_${LIB}
.  .
350 353     find_library(WX_mono${_DBG}
351 354       NAMES
  355           wxmsw${_UNV}31${_UCD}${_DBG}
352 356       wxmsw${_UNV}30${_UCD}${_DBG}
353 357       wxmsw${_UNV}29${_UCD}${_DBG}
.  .
366 370       find_library(WX_${LIB}${_DBG}
367 371         NAMES
368           wxmsw${_UNV}30${_UCD}${_DBG}_${LIB}
  372         wxmsw${_UNV}31${_UCD}${_DBG}_${LIB}
  373                 wxmsw${_UNV}30${_UCD}${_DBG}_${LIB}
369 374         wxmsw${_UNV}29${_UCD}${_DBG}_${LIB}
370 375         wxmsw${_UNV}28${_UCD}${_DBG}_${LIB}



----- Original Message ----- 
From: "Alan W. Irwin" <ir...@beluga.phys.uvic.ca>
To: "Laurent Berger" <laurent.ber...@univ-lemans.fr>
Cc: <plplot-devel@lists.sourceforge.net>
Sent: Saturday, September 17, 2016 2:53 PM
Subject: Re: [Plplot-devel] build with wxWidgets, Visual Studio


> On 2016-09-17 09:12+0200 Laurent Berger wrote:
>
>> Hi Pedro,
>>
>> I am using vs2013 and plplot (from github) with wxwidgets and I haven't 
>> got
>> any problem. I think you should update findwxwidgets.cmake from
>> https://sourceforge.net/p/plplot/plplot/ci/master/tree/cmake/modules/FindwxWidgets.cmake
>> (see
>> https://sourceforge.net/p/plplot/plplot/ci/5b9dd303b50061c8ed3a9f149aea4b2a6817eece/log/?path=/cmake/modules/FindwxWidgets.cmake)
>>
>> May be you should clone plplot version but it is a develloper version.
>>
>> I hope it will solve your problem.
>>
>> Laurent
>
> I have just looked at the latest official version of
> FindwxWidgets.cmake from the cmake git master branch and it is the
> same as or superior to the PLplot unofficial version in all respects
> (e.g., in supporting all the recently released versions of wxWidgets).
> Therefore, I have just changed the PLplot master branch so that our
> unofficial version follows the official version (see my recent commit
> 511a6ac).
>
> @Pedro, Laurent, and other wxwidgets users:
> Please test the latest PLplot git master branch to make sure that
> unofficial FindwxWidgets.cmake find module satisfies your needs.
>
> 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); 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
> __________________________
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Plplot-devel mailing list
> Plplot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/plplot-devel
> 


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to