Re: [Plplot-devel] build plplot using CMAKE using MSYS makefiles on windows 10

2016-12-15 Thread Greg Jung
So I found a reference to the discussion about the unicode patching in wx: https://groups.google.com/forum/#!topic/wx-dev/MTYzgOqLdfU And here is discussion on including the replacement file in MSYS2: https://github.com/Alexpux/MINGW-packages/pull/727 On Thu, Dec 15, 2016 at 2:40 PM, Greg Jung

Re: [Plplot-devel] build plplot using CMAKE using MSYS makefiles on windows 10

2016-12-15 Thread Greg Jung
On Tue, Dec 13, 2016 at 2:13 AM, Laurent Berger < laurent.ber...@univ-lemans.fr> wrote: > Thanks Greg, > > with your patch linking problem is solved. Can you post an answer in this > question https://forums.wxwidgets.org/viewtopic.php?f=19&t=42882&p= > 174262#p174262 > > > https://github.com/mayna

Re: [Plplot-devel] build plplot using CMAKE using MSYS makefiles on windows 10

2016-12-13 Thread Alan W. Irwin
On 2016-12-11 02:23-0800 Alan W. Irwin wrote: > @Laurent: > > My apologies for not answering sooner but I was otherwise occupied with > other issues currently being discussed on the PLplot devel list. > > The short explanation of the message you were getting is that our build > system gets a list

Re: [Plplot-devel] build plplot using CMAKE using MSYS makefiles on windows 10

2016-12-13 Thread Laurent Berger
Thanks Greg, with your patch linking problem is solved. Can you post an answer in this question https://forums.wxwidgets.org/viewtopic.php?f=19&t=42882&p=174262#p174262 Now there is still a problem in cmake process because I have to modify file plplot\buildmingw64\examples\c++\CMakeFiles\w

Re: [Plplot-devel] build plplot using CMAKE using MSYS makefiles on windows 10

2016-12-12 Thread Greg Jung
I recognize one aspect of your problems in that winundef.h is imperfectly written and will fail in the case of using the unicode wxwidgets without explicitly already being unicode through-and-through - which is what winundef tries to do. Attached is a fixed version of that file from wx-3.0/wx/msw/

Re: [Plplot-devel] build plplot using CMAKE using MSYS makefiles on windows 10

2016-12-12 Thread Phil Rosenberg
Hmm And the fact that the wx libraries that were found have the suffix u, suggests they were built with Unicode support. Perhaps the compile issue you had was because plplot was not built with the Unicode flag on. As I said instructions are on the wiki to do this for a visual studio build at https:

Re: [Plplot-devel] build plplot using CMAKE using MSYS makefiles on windows 10

2016-12-11 Thread Alan W. Irwin
On 2016-12-10 01:11- Phil Rosenberg wrote: > I'm sorry Laurent, but I think I am the main Windows user on the list > and I have absolutely no experience with MSys. > > However, I believe we have now returned to the CMake default wxWidgets > find module. Alan, can you comment on this and whethe

Re: [Plplot-devel] build plplot using CMAKE using MSYS makefiles on windows 10

2016-12-10 Thread Laurent Berger
An error in path but error is still here : if(_list_element STREQUAL "-l${_list_element1}") set(_library_pathname "_library_pathname-NOTFOUND") find_library( _library_pathname ${_list_element1} PATHS ${_link_directory_list} "f:/lib/wxWidgets-3

Re: [Plplot-devel] build plplot using CMAKE using MSYS makefiles on windows 10

2016-12-10 Thread Laurent Berger
Hi phil, Thanks for your answer. I have try to solve problem in a bad way : I have changed some lines in pkg-config.cmake : line298--305 are now : if(_list_element STREQUAL "-l${_list_element1}") set(_library_pathname "_library_pathname-NOTFOUND") find_library(

Re: [Plplot-devel] build plplot using CMAKE using MSYS makefiles on windows 10

2016-12-09 Thread Phil Rosenberg
I'm sorry Laurent, but I think I am the main Windows user on the list and I have absolutely no experience with MSys. However, I believe we have now returned to the CMake default wxWidgets find module. Alan, can you comment on this and whether this looks like a bug in that module or a bug in our bu

[Plplot-devel] build plplot using CMAKE using MSYS makefiles on windows 10

2016-12-08 Thread Laurent Berger
Hi, I want to buil plplot in static using MSYS makefiles on windows 10. In cmake GUI i have got an error that I cannot understand. wxWidgets is found but there is cmake_link_flags WARNING. Any help would be appreciate. CMake version = 3.7.0-rc2 CMAKE_SYSTEM_NAME = Windows SH_EXECUTABLE = C