Re: [Plplot-devel] Problem with wxWidgets under MinGW-w64/MSYS2

2017-07-05 Thread Arjen Markus
Hi Alan, > -Original Message- > From: Alan W. Irwin [mailto:ir...@beluga.phys.uvic.ca] > Sent: Wednesday, July 05, 2017 8:38 PM > @Arjen: > > Glad you solved the find issue. Please commit your fix to > cmake/modules/FindwxWidgets.cmake > Will do - I will have to clean up the file a bit

Re: [Plplot-devel] Problem with wxWidgets under MinGW-w64/MSYS2

2017-07-05 Thread Alan W. Irwin
To Phil, Pedro, and Arjen: @Phil and Pedro: You guys are the ones with experience with MSVC and wxwidgets here. So are you willing to help Arjen with the linking problem below? Or recommend the version of wxwidgets that works for you in combination with MSVC? @Arjen: Glad you solved the find

Re: [Plplot-devel] Problem with wxWidgets under MinGW-w64/MSYS2

2017-07-05 Thread Arjen Markus
Hi Alan, > -Original Message- > From: Alan W. Irwin [mailto:ir...@beluga.phys.uvic.ca] > Sent: Tuesday, July 04, 2017 11:08 PM > > I would advise concentrating on debugging the results of each relevant find > command (e.g., find_library, find_path, find_file, and possibly > find_program)

Re: [Plplot-devel] Problem with wxWidgets under MinGW-w64/MSYS2

2017-07-05 Thread Arjen Markus
Hi Alan, > -Original Message- > From: Alan W. Irwin [mailto:ir...@beluga.phys.uvic.ca] > Sent: Tuesday, July 04, 2017 12:30 AM > > To answer your question above, now that you have had this success, I would > appreciate you doing the following: > > 1. Run (all on one line rather than mail

Re: [Plplot-devel] Problem with wxWidgets under MinGW-w64/MSYS2

2017-07-04 Thread Alan W. Irwin
On 2017-07-04 07:03- Arjen Markus wrote: [...] -Original Message- From: Alan W. Irwin [mailto:ir...@beluga.phys.uvic.ca] Sent: Tuesday, July 04, 2017 12:30 AM [...] 2. Do a simple test of wxwidgets on MSVC Ah, I tried it yesterday, but my wxWidgets installation was not recog

Re: [Plplot-devel] Problem with wxWidgets under MinGW-w64/MSYS2

2017-07-04 Thread Arjen Markus
Hi Alan, > -Original Message- > From: Alan W. Irwin [mailto:ir...@beluga.phys.uvic.ca] > Sent: Tuesday, July 04, 2017 12:30 AM > > Hi Arjen: > > Congratulations on this success after a number of iterations between us. It > is a > great feeling to not have this uncertainty hanging over u

Re: [Plplot-devel] Problem with wxWidgets under MinGW-w64/MSYS2

2017-07-03 Thread Alan W. Irwin
On 2017-07-03 18:22- Arjen Markus wrote: -Original Message- From: Alan W. Irwin [mailto:ir...@beluga.phys.uvic.ca] Sent: Saturday, July 01, 2017 11:08 PM After reviewing the code, I spotted a fundamental error in the Windows variant of the three-semaphores case which is that code u

Re: [Plplot-devel] Problem with wxWidgets under MinGW-w64/MSYS2

2017-07-03 Thread Arjen Markus
Hi Alan, > -Original Message- > From: Alan W. Irwin [mailto:ir...@beluga.phys.uvic.ca] > Sent: Saturday, July 01, 2017 11:08 PM > > Hi Arjen: > > After reviewing the code, I spotted a fundamental error in the Windows > variant of > the three-semaphores case which is that code used three

Re: [Plplot-devel] Problem with wxWidgets under MinGW-w64/MSYS2

2017-07-01 Thread Alan W. Irwin
On 2017-06-30 00:24-0700 Alan W. Irwin wrote: On 2017-06-29 19:52- Arjen Markus wrote: *** PLPLOT WARNING *** wxPLViewer failed to signal it has found the shared memory [on the MinGW-w64/MSYS2 platform]. I assume this issue is due to some programming error in my Windows variant of the 3

Re: [Plplot-devel] Problem with wxWidgets under MinGW-w64/MSYS2

2017-06-30 Thread Alan W. Irwin
On 2017-06-29 19:52- Arjen Markus wrote: Hi Alan, -Original Message- From: Alan W. Irwin [mailto:ir...@beluga.phys.uvic.ca] Sent: Wednesday, June 28, 2017 9:44 PM I am now looking forward to your -fabi-version=8 wxwidgets results for MinGW-w64/MSYS2 as well as your wxwidgets re

Re: [Plplot-devel] Problem with wxWidgets under MinGW-w64/MSYS2

2017-06-29 Thread Arjen Markus
Hi Alan, > -Original Message- > From: Alan W. Irwin [mailto:ir...@beluga.phys.uvic.ca] > Sent: Wednesday, June 28, 2017 9:44 PM > > > I am now looking forward to your -fabi-version=8 wxwidgets results for > MinGW-w64/MSYS2 as well as your wxwidgets results for MSVC. > I added the option

Re: [Plplot-devel] Problem with wxWidgets under MinGW-w64/MSYS2

2017-06-28 Thread Arjen Markus
Hi Alan, > -Original Message- > From: Alan W. Irwin [mailto:ir...@beluga.phys.uvic.ca] > Sent: Wednesday, June 28, 2017 9:44 PM > > Yes, you are certainly correct to be concerned about that issue; I assume the > same > ABI incompatibility issues occur on the MSVC side of things as occur

Re: [Plplot-devel] Problem with wxWidgets under MinGW-w64/MSYS2

2017-06-28 Thread Alan W. Irwin
On 2017-06-28 08:01- Arjen Markus wrote: -Original Message- From: Alan W. Irwin [mailto:ir...@beluga.phys.uvic.ca] Sent: Wednesday, June 28, 2017 9:48 AM Of course, now that the build issues are fixed, and you found this one run time error, the pessimistic view is there might be

Re: [Plplot-devel] Problem with wxWidgets under MinGW-w64/MSYS2

2017-06-28 Thread Arjen Markus
Hi Alan, > -Original Message- > From: Alan W. Irwin [mailto:ir...@beluga.phys.uvic.ca] > Sent: Wednesday, June 28, 2017 9:48 AM > > > In the heat of the moment I forgot to say something that I will say now. It > was a > huge milestone to get the PLplot components of wxwidgets building

Re: [Plplot-devel] Problem with wxWidgets under MinGW-w64/MSYS2

2017-06-28 Thread Alan W. Irwin
On 2017-06-28 07:00- Arjen Markus wrote: From: Alan W. Irwin [mailto:ir...@beluga.phys.uvic.ca] Sent: Wednesday, June 28, 2017 3:01 AM [...] When faced with a fatal error like that, google is your friend. It was getting late, my laptop's battery was nearing its limit and I thought per

Re: [Plplot-devel] Problem with wxWidgets under MinGW-w64/MSYS2

2017-06-28 Thread Arjen Markus
Hi Alan, > -Original Message- > From: Alan W. Irwin [mailto:ir...@beluga.phys.uvic.ca] > Sent: Wednesday, June 28, 2017 3:01 AM > > Hi Arjen: > > > When faced with a fatal error like that, google is your friend. It was getting late, my laptop's battery was nearing its limit and I thoug

Re: [Plplot-devel] Problem with wxWidgets under MinGW-w64/MSYS2

2017-06-27 Thread Alan W. Irwin
On 2017-06-27 18:22- Arjen Markus wrote: Hi Alan, I could say "I have good news and bad news". First of all, with this latest version I can indeed build the wxWidgets driver without complaints, using the 64-bits version of MinGW-w64/MSYS2, but when I run an example I get: [cid:image0

Re: [Plplot-devel] Problem with wxWidgets under MinGW-w64/MSYS2

2017-06-27 Thread Arjen Markus
Hi Alan, I could say "I have good news and bad news". First of all, with this latest version I can indeed build the wxWidgets driver without complaints, using the 64-bits version of MinGW-w64/MSYS2, but when I run an example I get: [cid:image001.png@01D2EF82.D7F76F70] I guess this means

Re: [Plplot-devel] Problem with wxWidgets under MinGW-w64/MSYS2

2017-06-27 Thread Alan W. Irwin
On 2017-06-27 07:40- Arjen Markus wrote: An inspection of the code did not bring up a glaring mistake [in the declaration of ran_s], so I am puzzled as well. At the very least at the moment. The only thing I can imagine is that the stdlib.h header file is not actually included. Hi Arjen:

Re: [Plplot-devel] Problem with wxWidgets under MinGW-w64/MSYS2

2017-06-27 Thread Arjen Markus
Hi Alan, > -Original Message- > From: Alan W. Irwin [mailto:ir...@beluga.phys.uvic.ca] > Sent: Tuesday, June 27, 2017 9:12 AM > > However, (see commit message for details) I ran into one other build issue > concerning the declaration of rand_s which is implemented in > drivers/wxwidgets_

Re: [Plplot-devel] Problem with wxWidgets under MinGW-w64/MSYS2

2017-06-27 Thread Alan W. Irwin
Hi Arjen: Commit 76f6a78 includes a simple fix for the "cannot convert" LPCTSTR to LPCWSTR build issues you discovered that has been bugging us for qute some time now and which I was recently able to verify on my Wine/MinGW/MSYS platform. So I think this fix is a big step forward. However, (see

Re: [Plplot-devel] Problem with wxWidgets under MinGW-w64/MSYS2

2017-06-26 Thread Arjen Markus
Hi Alan, > -Original Message- > From: Alan W. Irwin [mailto:ir...@beluga.phys.uvic.ca] > Sent: Tuesday, June 27, 2017 1:06 AM > To: Arjen Markus; PLplot development list; Phil Rosenberg; Pedro Vicente > Subject: RE: [Plplot-devel] Problem with wxWidgets under MinGW-w

Re: [Plplot-devel] Problem with wxWidgets under MinGW-w64/MSYS2

2017-06-26 Thread Alan W. Irwin
To Arjen, Phil, and Pedro: @Phil and Pedro: what set of wxwidgets libraries do you use to test PLplot wxwidgets components on the MSVC platform? That information would be useful to Arjen (see the last part of the rest of this post). @Arjen: the rest of this is largely for you. It turns out I

Re: [Plplot-devel] Problem with wxWidgets under MinGW-w64/MSYS2

2017-06-23 Thread Alan W. Irwin
On 2017-06-23 11:12- Arjen Markus wrote: Hi Alan, -Original Message- From: Alan W. Irwin [mailto:ir...@beluga.phys.uvic.ca] Sent: Friday, June 23, 2017 1:04 PM Hi Arjen: Thanks very much for that quick turnaround. You're welcome :) I get compile errors as can be seen in the

Re: [Plplot-devel] Problem with wxWidgets under MinGW-w64/MSYS2

2017-06-23 Thread Arjen Markus
Hi Alan, > -Original Message- > From: Alan W. Irwin [mailto:ir...@beluga.phys.uvic.ca] > Sent: Friday, June 23, 2017 1:04 PM > > Hi Arjen: > > Thanks very much for that quick turnaround. > You're welcome :) > > I get compile errors as can be seen in the attached tarball (output > from C

Re: [Plplot-devel] Problem with wxWidgets under MinGW-w64/MSYS2

2017-06-23 Thread Alan W. Irwin
On 2017-06-23 09:40- Arjen Markus wrote: Hi Alan, -Original Message- From: Alan W. Irwin [mailto:ir...@beluga.phys.uvic.ca] Sent: Friday, June 23, 2017 11:03 AM As expected since my changes had nothing to do with the find issue that you discovered and solved a couple of days ago

Re: [Plplot-devel] Problem with wxWidgets under MinGW-w64/MSYS2

2017-06-23 Thread Arjen Markus
Hi Alan, > -Original Message- > From: Alan W. Irwin [mailto:ir...@beluga.phys.uvic.ca] > Sent: Friday, June 23, 2017 11:03 AM > > As expected since my changes had nothing to do with the find issue that you > discovered and solved a couple of days ago. > Right, I reinstalled this change a

Re: [Plplot-devel] Problem with wxWidgets under MinGW-w64/MSYS2

2017-06-23 Thread Alan W. Irwin
Hi Arjen: On 2017-06-23 06:55- Arjen Markus wrote: [...] -Original Message- From: Alan W. Irwin [mailto:ir...@beluga.phys.uvic.ca] Sent: Wednesday, June 21, 2017 3:02 AM To Arjen and Phil: I have now made these 4 additional wxwidgets-related commits: 2bc0626 IPC for wxwidgets: Re

Re: [Plplot-devel] Problem with wxWidgets under MinGW-w64/MSYS2

2017-06-22 Thread Arjen Markus
Hi Alan, > -Original Message- > From: Alan W. Irwin [mailto:ir...@beluga.phys.uvic.ca] > Sent: Wednesday, June 21, 2017 3:02 AM > > To Arjen and Phil: > > I have now made these 4 additional wxwidgets-related commits: > > 2bc0626 IPC for wxwidgets: Reenable the PL_WXWIDGETS_IPC3 option >

Re: [Plplot-devel] Problem with wxWidgets under MinGW-w64/MSYS2

2017-06-20 Thread Arjen Markus
Hi Alan, > -Original Message- > From: Alan W. Irwin [mailto:ir...@beluga.phys.uvic.ca] > Sent: Wednesday, June 21, 2017 3:02 AM > > To Arjen and Phil: > > I have now made these 4 additional wxwidgets-related commits: > > 2bc0626 IPC for wxwidgets: Reenable the PL_WXWIDGETS_IPC3 option > e0

Re: [Plplot-devel] Problem with wxWidgets under MinGW-w64/MSYS2

2017-06-20 Thread Alan W. Irwin
On 2017-06-20 11:36-0700 Alan W. Irwin wrote: Also now that I have finally found a partner who is willing to test the wxwidgets IPC methods on a native Windows platform, I have a number of IPC build system and code changes in mind. If you have looked at the code at all now, you can see it is a

Re: [Plplot-devel] Problem with wxWidgets under MinGW-w64/MSYS2

2017-06-20 Thread Arjen Markus
Hi Alan, Ah, this came in after I had finished writing up my adventures. I will have a closer look later to see what needs to be done. Regards, Arjen > -Original Message- > From: Alan W. Irwin [mailto:ir...@beluga.phys.uvic.ca] > Sent: Tuesday, June 20, 2017 8:37 PM ... > To A

Re: [Plplot-devel] Problem with wxWidgets under MinGW-w64/MSYS2

2017-06-20 Thread Arjen Markus
Hi Alan, I just concluded a rather unsuccessful session to get the wxWidgets driver to build: Step 1: I changed the line #ifdef WIN32 in wxwidgets_comms.h to: #if defined(WIN32) && !defined(__MINGW32__) The macro __MINGW32__ is defined on MinGW-w64/MSYS2 32-bits and 64-bits. Step 2:

Re: [Plplot-devel] Problem with wxWidgets under MinGW-w64/MSYS2

2017-06-20 Thread Alan W. Irwin
On 2017-06-20 13:18- Arjen Markus wrote: From the error message above, something is obviously wrong with the build for that case, but it likely is something very simple (e.g., likely a missing #ifdef WIN32 section inside an existing #ifdef PL_WXWIDGETS_IPC3 section in drivers/wxwidgets_com

Re: [Plplot-devel] Problem with wxWidgets under MinGW-w64/MSYS2

2017-06-20 Thread Arjen Markus
Hi Alan, > -Original Message- > From: Alan W. Irwin [mailto:ir...@beluga.phys.uvic.ca] > Sent: Tuesday, June 20, 2017 12:12 PM > > In general, many small focussed commits (each with a good commit message) are > better than one massive commit. So please go ahead and commit your change to

Re: [Plplot-devel] Problem with wxWidgets under MinGW-w64/MSYS2

2017-06-20 Thread Alan W. Irwin
On 2017-06-20 06:37- Arjen Markus wrote: Hi everyone, I made a small adjustment to the FindwxWidgets.cmake file so that it would properly recognise the installation of wxWidgets under MinGW-w64/MSYS2. CMake was happy with it, but when I tried building PLplot, I got a compiler error: