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

2016-12-09 Thread Pedro Vicente
Hi Alan I get an error on the script ERROR: cmake in the build tree failed what I did (CentOS 6.8) git clone http://git.code.sf.net/p/plplot/plplot plplot-plplot cd plplot-plplot/scripts ./comprehensive_test.sh then I tried mkdir build cd build cmake .. make and I get a compiling error , b

[Plplot-devel] Deprecated wxWidgets error

2016-12-09 Thread Pedro Vicente
Hi Phil Is the deprecated wxWidgets still functioning? I gave it a try am I'm getting an error This is Windows Visual Studio, wxWidgets 3.1, plplot 5.11.1 what I did used the commented code in the sample wxPLplotDemo.cpp that starts with //class MyPlotwindow : public wxPLplotwindow I did not

[Plplot-devel] Fwd: Deprecated wxWidgets error

2016-12-09 Thread Pedro Vicente
Hi Phil so, it seems that the cmake option is really needed -DOLD_WXWIDGETS=ON I only found out this by reading the script I tried in Linux cmake .. -G "Unix Makefiles" -DBUILD_SHARED_LIBS:BOOL=OFF -DENABLE_f95:BOOL=OFF -DENABLE_tcl:BOOL=OFF -DENABLE_tk:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH

Re: [Plplot-devel] Fwd: Deprecated wxWidgets error

2016-12-09 Thread Alan W. Irwin
On 2016-12-09 15:39-0500 Pedro Vicente wrote: > so, it seems that the cmake option is really needed > -DOLD_WXWIDGETS=ON > > I only found out this by reading the script Reading the script is an excellent idea so I encourage you to keep doing that. However, we also document such changes in our re

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

2016-12-09 Thread Alan W. Irwin
On 2016-12-09 11:38-0500 Pedro Vicente wrote: > > Hi Alan > > I get an error on the script > > ERROR: cmake in the build tree failed > > what I did (CentOS 6.8) > > git clone http://git.code.sf.net/p/plplot/plplot plplot-plplot > cd plplot-plplot/scripts > ./comprehensive_test.sh Please look in t

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

2016-12-09 Thread Pedro Vicente
Hi Alan comprehensive_test.tar.gz is attached export CFLAGS='-g' export CXXFLAGS='-g' export FFLAGS='-g' ok, I see I thought you meant environment variables specific for PLplot to build. These are gcc compiler flags, personally I never set them this way, but instead I do it for each make

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

2016-12-09 Thread Pedro Vicente
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 - Original Message - From: "Alan W. Irwin" To: "Pedro Vicente" Cc: Sent: Friday, December 09, 2016 5:05 PM Subject: Re: [Plplot-devel] Soft fr

Re: [Plplot-devel] Fwd: Deprecated wxWidgets error

2016-12-09 Thread Phil Rosenberg
Hi Pedro As Alan said, we can't have both working together. Well, I suppose we could, but the effort required would be large and time is finite. If you are interested in the usage differences then: The new wx backend discarded use of AGG and freetype as wxWidgets now has much better support for an

[Plplot-devel] Setting rpath for dllplplot_stubs.so appears not to be possible

2016-12-09 Thread Alan W. Irwin
I have recently introduced checking all our *.so files on Linux in the comprehensive test script using "ldd -r". Those results immediately reminded me we had not yet done anything about setting rpath in both the build tree and possibly (if USE_RPATH is ON) install tree for dllplplot_stubs.so, the

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

Re: [Plplot-devel] build PLPlot with debug symbols in linux / cmake

2016-12-09 Thread Phil Rosenberg
Hi Pedro I'm sorry but I'm not sure I understand the point at which you get the segfault. However, I think you are trying to call GetStream, before the stream has been created. The stream requires the window's device context at the point of creation, in order for the device context to exist the wi

[Plplot-devel] Too late for bug fix changes

2016-12-09 Thread Phil Rosenberg
Hi Alan I have recently discovered a couple of bugs in the wxWidgets driver. One is rather a feature of wxWidgets instead of a bug. It turns out that when constructing a font with size 70 pt you actually get the default system font size. I found this when doing an animated plot today with points t

Re: [Plplot-devel] plplot_pyqt4 shared object build issue

2016-12-09 Thread Alan W. Irwin
On 2016-12-08 10:42-0800 Alan W. Irwin wrote: > Hi Arjen: > > On 2016-12-08 07:59- Arjen Markus wrote: > >> This visibility issue is one of obscurer aspects of today's > programming experience. It is akin to the import/export circus in > Windows DLLs. Always good for some puzzles. > > Yes, and

Re: [Plplot-devel] Fwd: Deprecated wxWidgets error

2016-12-09 Thread Pedro Vicente
Hi Phil I agree, it does not make much sense going back to the old wxwidgets. My usage of it is inside a wxWidgets GUI app, so I don't need any special features. In fact it has been working well for me in the last couple of months, but last week I started having errors so I just gave a try to

Re: [Plplot-devel] build PLPlot with debug symbols in linux / cmake

2016-12-09 Thread Pedro Vicente
Hi Phil Yes, my explanation was not very clear. I know that I have to do what you mentioned, I do call Create(). Actually I am copying the code from wxPLplotDemo.cpp but let's forget this thread, when something is failing for several days, and I don't know why, what I do is delete everything and

Re: [Plplot-devel] wxPLplotDemo.cpp errors

2016-12-09 Thread Pedro Vicente
Hi Phil So, the issue seems to be the same that I have been reporting In the wxPLplotDemo.cpp code you have these callling functions wxPLplotwindow *frame = new wxPlDemoFrame(); frame->Create( NULL, wxID_ANY, wxT( "wxPLplotDemo" ) ); that make 2 calls to the PLplot library, or the wxWidgets

Re: [Plplot-devel] wxPLplotDemo.cpp errors

2016-12-09 Thread Pedro Vicente
Hi Phil My idea for a fix is to move the stream initialization that is now on void wxPLplotwindow::OnCreate( wxWindowCreateEvent &event { if ( !m_created ) either to the OnSize or onPaint events void wxPLplotwindow::OnSize( wxSizeEvent& WXUNUSED( event ) ) and also in the plot call do this t