Re: [Plplot-devel] wxPLplotDemo.cpp errors - FIXED , with workaround

2016-12-10 Thread Pedro Vicente
Hi Phil There is actually a very simple solution. Instead of figuring out why the OnCreate event is not triggered in some linux cases, you can explicitally call that code with some function. I did just that, like this, where frame->CreatePLplotstream(); is a function that contains your code th

Re: [Plplot-devel] More on IPC

2016-12-10 Thread Alan W. Irwin
Hi (again) Phil: Two further thoughts. * All those preprocessing directives and fprintf calls I inserted make it extremely hard to understand the code. Thus, feel free to revert my two commits completely that inserted the debug output in PLMemoryMap:create and PLMemoryMap:close when you finally

Re: [Plplot-devel] More on IPC

2016-12-10 Thread Alan W. Irwin
On 2016-12-10 13:21-0800 Alan W. Irwin wrote: [...] > So instead of pursuing this with inserting timing statements like you > are thinking about, instead I plan to simply insert more debug prints, > e.g., "PLMemoryMap::create: entering", PLMemoryMap::create: calling > close" in the PLMemoryMap::cr

Re: [Plplot-devel] More on IPC

2016-12-10 Thread Alan W. Irwin
On 2016-12-10 13:41- p.d.rosenb...@gmail.com wrote: > Many thanks Alan for pushing this and getting the debug statements into the > code. You have confirmed that i was looking in the wrong place for the > problem. > > I was mulling things over this morning and wondered about the same thing a

Re: [Plplot-devel] wxPLplotDemo.cpp errors

2016-12-10 Thread Pedro Vicente
Hi Phil I tested on a third Linux, with libwxgtk3.0-dev from package (the latest ubuntu package) uname -a Linux glace 3.13.0-92-generic #139-Ubuntu SMP Tue Jun 28 20:42:26 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: U

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

2016-12-10 Thread p.d.rosenberg
Hi Laurent So those errors seem to be caused by unicode issues. The native windows functions have ansi versions which accept 8bit strings and unicode versions which accept 16 bit wide strings. There is also a generic form of each which uses #ifdefs which call the ansi or unicode versions dependi

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] More on IPC

2016-12-10 Thread p.d.rosenberg
Many thanks Alan for pushing this and getting the debug statements into the code. You have confirmed that i was looking in the wrong place for the problem. I was mulling things over this morning and wondered about the same thing as you, some sort of memory leak with the shared memory. You have o

Re: [Plplot-devel] Soft freeze on December 3rd and release on December 17th?

2016-12-10 Thread Alan W. Irwin
On 2016-12-10 05:08-0800 Alan W. Irwin wrote: > On 2016-12-09 18:02-0500 Pedro Vicente wrote: > >> ok, simple issue , ignore >> >> I tool a quick look at the ouput , it's just >> >> >> CMake 3.0.2 or higher is required. You are running version 2.8.12.2 > > OK. So please fix that (run scripts/com

Re: [Plplot-devel] Soft freeze on December 3rd and release on December 17th?

2016-12-10 Thread Alan W. Irwin
On 2016-12-09 18:02-0500 Pedro Vicente wrote: > ok, simple issue , ignore > > I tool a quick look at the ouput , it's just > > > CMake 3.0.2 or higher is required. You are running version 2.8.12.2 OK. So please fix that (run scripts/comprehensive_test.sh --help to see how to specify the cmake c

Re: [Plplot-devel] More on IPC

2016-12-10 Thread Alan W. Irwin
Hi Phil: If you review my results from much earlier this year that had a screen shot attached in the next e-mail of my cpumeter results, the test being run was for a case with absolutely no text data being written to wxPLViewer. So your concern (expressed off list to me) about the efficiency of I

Re: [Plplot-devel] wxPLplotDemo.cpp errors

2016-12-10 Thread Pedro Vicente
Hi Phil >>I do have access to a CentOS machine at work, although I think I have >>only got access to wxWidgets 2.8 on that system. What I usually do when I want to quick test on many unices , I install Virtual Box https://www.virtualbox.org/ For example on my Windows PC I have a CentOS and Ubu

Re: [Plplot-devel] wxPLplotDemo.cpp errors

2016-12-10 Thread Pedro Vicente
Hi Phil > I have included the devel list on this email, so the thread will get > documented on the mailing list. I have been posting everything to the list > Am I correct in saying that you are getting this segfault with the > unchanged demo app? yes, correct >It cannot be included in the >

Re: [Plplot-devel] wxPLplotDemo.cpp errors

2016-12-10 Thread Pedro Vicente
Hi Phil I tested on a different setting Ubuntu i686 GNU/Linux Using wxWidgets installed from packages using the PLplot from git git clone http://git.code.sf.net/p/plplot/plplot plplot-plplot cd plplot-plplot/ mkdir build cd build cmake .. -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug -DBUILD_

Re: [Plplot-devel] wxPLplotDemo.cpp errors

2016-12-10 Thread Phil Rosenberg
Hi Pedro I have included the devel list on this email, so the thread will get documented on the mailing list. It is very strange that the OnCreate function is not being called. If you are calling Create then you should be generating a create event. Am I correct in saying that you are getting this