Re: [Plplot-devel] wxPLplotDemo.cpp -- linux build error

2016-12-14 Thread Pedro Vicente
hmm, ok, I forgot Plot() is called right after the Create() call so, this makes the assertion happen before there is a Paint event xPLplotwindow *frame = new wxPlDemoFrame(); frame->Create( NULL, wxID_ANY, wxT( "wxPLplotDemo" ) ); frame->SetIcon( wxIcon( graph ) ); Plot( frame ); retu

Re: [Plplot-devel] wxPLplotDemo.cpp -- linux build error

2016-12-14 Thread Pedro Vicente
>>> I forgot about a very simple fix that does need a custom function call I meant does NOT need a custom function call - Original Message - From: "Pedro Vicente" To: "Alan W. Irwin" ; "Phil Rosenberg" Cc: "PLplot development list" Sent: Thursday, December 15, 2016 1:57 AM Subject: R

Re: [Plplot-devel] wxPLplotDemo.cpp -- linux build error

2016-12-14 Thread Pedro Vicente
Hi Alan, Phil I forgot about a very simple fix that does need a custom function call (therefore a "real" fix, or better a non intrusive fix for users) that is, right now, the code is responding to these 2 events WXWINDOW::Connect( wxEVT_SIZE, wxSizeEventHandler( wxPLplotwindow::OnSize ) ); WXW

Re: [Plplot-devel] wxPLplotDemo.cpp -- linux build error

2016-12-14 Thread Pedro Vicente
Hi Alan > I think you will agree with me that smells like a workaround rather > than a fundamental fix. yes, I agree. >> Eventually, we had to change our >> minimum acceptable wxwidgets version from 2.8 to 3.0 because of one >> commit which only worked for 3.0. hhm, ok I have to double check th

Re: [Plplot-devel] wxPLplotDemo.cpp -- linux build error

2016-12-14 Thread Pedro Vicente
Hi Alan I just installed the latest debian on VirtualBox, and I get the same errors. the results are attached, same thing that I did for ubuntu. I even put out 2 print statements in wxPLplotwindow.h, one in the constructor, other in OnCreate, as I explained before. the print in OnCreate() is *NO

Re: [Plplot-devel] wxPLplotDemo.cpp -- linux build error

2016-12-14 Thread Alan W. Irwin
On 2016-12-14 22:30-0500 Pedro Vicente wrote: > Hi Alan > > see my replies between your questions > >> This certainly qualifies as a release-critical wxwidgets bug. And you >> have certainly supplied enough information that Phil should find this >> to be straightforward to reproduce. > > easy to

Re: [Plplot-devel] wxPLplotDemo.cpp -- linux build error

2016-12-14 Thread Pedro Vicente
Hi Alan see my replies between your questions > This certainly qualifies as a release-critical wxwidgets bug. And you > have certainly supplied enough information that Phil should find this > to be straightforward to reproduce. easy to reproduce on the PLplot code, but not immediatley obvious t

Re: [Plplot-devel] Comprehensive testing

2016-12-14 Thread Alan W. Irwin
On 2016-12-14 12:09- Arjen Markus wrote: > Hm, > > Updating my MinGW-w64/MSYS2 installation was probably a bad idea: [...] > I will have to reinstall it. Preferably at a quiet time, when no Cygwin shell > is running :(. Well, if I recall correctly, the last time we discussed the MinGW-w64/MS

Re: [Plplot-devel] wxPLplotDemo.cpp -- linux build error -- ubuntu build

2016-12-14 Thread Alan W. Irwin
On 2016-12-14 18:23-0500 Pedro Vicente wrote: > Hi Alan > > Results for > > lsb_release -a > Description: Ubuntu 16.04.1 LTS > Release: 16.04 > Codename: xenial > > sudo apt-get install libwxgtk3.0-dev > > cmake .. -G "Unix Makefiles" > -DCMAKE_INSTALL_PREFIX:PATH=/home/pvn/plplot-install -DCMAK

Re: [Plplot-devel] wxPLplotDemo.cpp -- linux build error

2016-12-14 Thread Alan W. Irwin
On 2016-12-14 18:00-0500 Pedro Vicente wrote: Hi Alan What happens if you try a Ubuntu platform with a system version of wxwidgets version = 3.0.x? Same question for a Ubuntu platform with wxwidgets version = 3.1.x? I was actually just going to do that just now, so here it goes lsb_releas

Re: [Plplot-devel] wxPLplotDemo.cpp -- linux build error -- ubuntu build

2016-12-14 Thread Pedro Vicente
Hi Alan Results for lsb_release -a Description: Ubuntu 16.04.1 LTS Release: 16.04 Codename: xenial sudo apt-get install libwxgtk3.0-dev cmake .. -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX:PATH=/home/pvn/plplot-install -DCMAKE_BUILD_TYPE=Debug -DBUILD_SHARED_LIBS:BOOL=OFF -DENABLE_f95:BOOL=O

Re: [Plplot-devel] wxPLplotDemo.cpp -- linux build error

2016-12-14 Thread Pedro Vicente
Hi Alan What happens if you try a Ubuntu platform with a system version of wxwidgets version = 3.0.x? Same question for a Ubuntu platform with wxwidgets version = 3.1.x? I was actually just going to do that just now, so here it goes lsb_release -a Description: Ubuntu 14.04.5 LTS Release: 14

Re: [Plplot-devel] wxPLplotDemo.cpp -- linux build error

2016-12-14 Thread Alan W. Irwin
On 2016-12-14 15:30-0500 Pedro Vicente wrote: > Hi Alan > > >>> Can you confirm that is the case for >>> unmodified PLplot from the tip of the git master branch? > > Yes, it is the unmodified PLplot from the tip of the git master branch cloned > today. > I only added this line > assert(pls) > in

Re: [Plplot-devel] wxPLplotDemo.cpp -- linux build error

2016-12-14 Thread Pedro Vicente
Hi Alan Can you confirm that is the case for unmodified PLplot from the tip of the git master branch? Yes, it is the unmodified PLplot from the tip of the git master branch cloned today. I only added this line assert(pls) in wxPLplotDemo.cpp, which you can see in the output here on Debian

Re: [Plplot-devel] wxPLplotDemo.cpp -- linux build error

2016-12-14 Thread Alan W. Irwin
On 2016-12-14 11:47-0500 Pedro Vicente wrote: > Hi Phil > > I am using the attached qt project file on my CentOS 6.8 build, adapted to > build > examples/c++/wxPLplotDemo.cpp > > to use, place the file in > examples/c++ > > just change these lines for your own case > > dir_inc_plplot = /data/home

Re: [Plplot-devel] Freeze and release dates now much better determined

2016-12-14 Thread Alan W. Irwin
On 2016-12-14 10:10-0500 Pedro Vicente wrote: > Hi Alan > >>> spend an hour or so inserting write statments until I finally >>> identify >>> the Linux system call that is causing the long pause. > > debugging with write statements is for me the last option. > it's ok for small bits of our own code

Re: [Plplot-devel] wxPLplotDemo.cpp -- linux build error

2016-12-14 Thread Pedro Vicente
Hi Phil I am using the attached qt project file on my CentOS 6.8 build, adapted to build examples/c++/wxPLplotDemo.cpp to use, place the file in examples/c++ just change these lines for your own case dir_inc_plplot = /data/home002/pvicente/plplot-plplot-install/include/plplot dir_lib_plpl

Re: [Plplot-devel] wxPLplotDemo.cpp -- linux build error

2016-12-14 Thread Pedro Vicente
Hi Phil Were you able to reproduce the error I get on my linux builds of wxPLplotDemo? I just did a git clone of the last plplot and I still get the error see my last email from today, there are instructions on how to debug with Qt project here https://github.com/pedro-vicente/plplot-wxwidge

Re: [Plplot-devel] Freeze and release dates now much better determined

2016-12-14 Thread Pedro Vicente
Hi Alan >>spend an hour or so inserting write statments until I finally >> identify >>the Linux system call that is causing the long pause. debugging with write statements is for me the last option. it's ok for small bits of our own code, but in cases where you need to go deep into third party

Re: [Plplot-devel] Comprehensive testing

2016-12-14 Thread Arjen Markus
Hm, Updating my MinGW-w64/MSYS2 installation was probably a bad idea: $ ls 1 [main] bash (13712) C:\msys64\usr\bin\bash.exe: *** fatal error - cygheap base mismatch detected - 0x180327400/0x1802FE408. This problem is probably due to using incompatible versions of the cygwin DLL. Search

Re: [Plplot-devel] Comprehensive testing

2016-12-14 Thread Arjen Markus
Hi Alan, > -Original Message- > From: Alan W. Irwin [mailto:ir...@beluga.phys.uvic.ca] > Sent: Wednesday, December 14, 2016 12:52 PM > > Thanks for that report. The script completed without obvious issues so this > is what > I will report at >

Re: [Plplot-devel] Comprehensive testing

2016-12-14 Thread Alan W. Irwin
On 2016-12-14 07:52- Arjen Markus wrote: > Hi Alan, > > > >> -Original Message- >> From: Alan W. Irwin [mailto:ir...@beluga.phys.uvic.ca] >> Sent: Tuesday, December 13, 2016 9:28 PM >> @Arjen: >> >> Great. >> >> I should have emphasized you should drop all constraints for these >> com

[Plplot-devel] Freeze and release dates now much better determined

2016-12-14 Thread Alan W. Irwin
Short story: freeze deadline now chiselled in stone as December 17th. But that is just for intrusive fixes, and small bug fixes and large or small documentation updates can continue through to the day of the release which might be only 5 days later, December 22nd (if our further comprehensive testi