[Plplot-devel] build with wxWidgets, Visual Studio

2016-09-16 Thread Pedro Vicente
raries are found, and these 2 lines here -- wxWidgets_INCLUDE_DIRS: M:/wx/wxwidgets-3.1.0/lib/vc_lib/mswud;M:/wx/wxwidgets-3.1.0/include -- wxWidgets_LIBRARY_DIRS: seem to be mixed up. How could I debug the PLPlot supplied Cmake script, "FindwxWidgets.cmake"? thanks -Pedro

Re: [Plplot-devel] build with wxWidgets, Visual Studio

2016-09-17 Thread Pedro Vicente
urceforge.net/p/plplot/plplot/ci/5b9dd303b50061c8ed3a9f149aea4b2a6817eece/log/?path=/cmake/modules/FindwxWidgets.cmake) May be you should clone plplot version but it is a develloper version. I hope it will solve your problem. Laurent Le 17/09/2016 à 07:43, Pedro Vicente a écrit : Hi

Re: [Plplot-devel] [Plplot-general] wxWidgets driver -- change the default blackbackground

2016-10-05 Thread Pedro Vicente
thing in those classes as now except the call to init() but if the developers could do option 1) that probably would be the best thanks -Pedro - Original Message - From: Pedro Vicente To: plplot-gene...@lists.sourceforge.net Sent: Wednesday, October 05, 2016 6:42 PM Su

Re: [Plplot-devel] [Plplot-general] wxWidgets driver -- change the default blackbackground

2016-10-06 Thread Pedro Vicente
er const int NSIZE = 101; PLFLT x[NSIZE], y[NSIZE]; PLFLT xmin = 0, xmax = 100, ymin = 0, ymax = 10; for (int i = 0; i < NSIZE; i++) { x[i] = i; y[i] = 5; } plschr(0, 1.0); plcol0(8); plenv(xmin, xmax, ymin, ymax, 0, 0); pllab("x", "y", "Label&

Re: [Plplot-devel] [Plplot-general] wxWidgets driver -- change thedefault blackbackground

2016-10-06 Thread Pedro Vicente
n(NSIZE, x, y, 46); plotwindow->RenewPlot(); } - Original Message - From: "Pedro Vicente" To: "Phil Rosenberg" Cc: ; Sent: Thursday, October 06, 2016 10:44 AM Subject: Re: [Plplot-devel] [Plplot-general] wxWidgets driver -- change thedefault blackbackground

Re: [Plplot-devel] New wxwidgets device does not honor -bg - -DOLD_WXWIDGETS=ON PL_HAVE_SNPRINTF

2016-10-08 Thread Pedro Vicente
Hi Alan, Phil > and the old (-DOLD_WXWIDGETS=ON) -dev wxwidgets, and in each case the > requested blue background was rendered correctly. I tried to reproduce this (-DOLD_WXWIDGETS=ON) in Windows , Visual Studio 2015, and I do get the blue backround but in the process of doing this I found ano

Re: [Plplot-devel] [Plplot-general] wxWidgets driver -- change thedefault blackbackground

2016-10-08 Thread Pedro Vicente
one file or class and give the option to use either one (don't know if this makes sense) -Pedro - Original Message - From: "Phil Rosenberg" To: "Pedro Vicente" Cc: ; Sent: Friday, October 07, 2016 7:51 AM Subject: Re: [Plplot-devel] [Plplot-general] wxWidgets

Re: [Plplot-devel] New wxwidgets device does not honor -bg - -DOLD_WXWIDGETS=ON PL_HAVE_SNPRINTF

2016-10-08 Thread Pedro Vicente
guration -- Skipped Build: Project: www-install-base, Configuration: Debug Win32 -- Project not selected to build for this solution configuration == Build: 6 succeeded, 10 failed, 84 up-to-date, 20 skipped == - Original Message - From: "Alan W. Irwin" T

[Plplot-devel] cmake error Qt build

2016-10-11 Thread Pedro Vicente
et_link_libraries with a target must be either all-keyword or all-plain. The uses of the plain signature are here: * I:/qt-win32-msvc2015/lib/cmake/Qt5Core/Qt5CoreMacros.cmake:330 (target_link_libraries) -- Pedro Vicente pe

Re: [Plplot-devel] build with wxWidgets, Visual Studio

2016-10-11 Thread Pedro Vicente
Hi Alan > I have just looked at the latest official version of > FindwxWidgets.cmake from the cmake git master branch and it is the > same as or superior to the PLplot unofficial version in all respects > (e.g., in supporting all the recently released versions of wxWidgets). > Therefore, I have ju

Re: [Plplot-devel] [Plplot-general] cmake error Qt build

2016-10-11 Thread Pedro Vicente
all also these changes have to be made for msvc-desktop.conf QMAKE_CFLAGS_DEBUG = -Zi -MTd QMAKE_CFLAGS_RELEASE= -O2 -MT - Original Message - From: Pedro Vicente To: plplot-devel@lists.sourceforge.net ; plplot-gene...@lists.sourceforge.net Sent: Tuesday, October 1

Re: [Plplot-devel] cmake error Qt build

2016-10-12 Thread Pedro Vicente
o not find anywhere in the code where this message comes from Cmake does generate a Visual Studio solution, but without the Qt files thanks -Pedro - Original Message - From: "Alan W. Irwin" To: "Hazen Babcock" ; "Pedro Vicente" Cc: "PLplot develop

Re: [Plplot-devel] cmake error Qt build

2016-10-15 Thread Pedro Vicente
acros.cmake:330 (target_link_libraries) -Pedro - Original Message - From: "Alan W. Irwin" To: "Hazen Babcock" ; "Pedro Vicente" Cc: "PLplot development list" Sent: Saturday, October 15, 2016 6:50 PM Subject: Re: [Plplot-devel] cmake error Qt bu

Re: [Plplot-devel] cmake error Qt build

2016-10-16 Thread Pedro Vicente
to the latest "3.1.0" version in some places) -Pedro ----- Original Message - From: "Alan W. Irwin" To: "Pedro Vicente" Cc: "Hazen Babcock" ; "PLplot development list" Sent: Sunday, October 16, 2016 2:17 PM Subject: Re: [Plplot-devel] c

Re: [Plplot-devel] [SPAM]Re: cmake error Qt build

2016-10-18 Thread Pedro Vicente
able_find_script referenced in function "public: bool __thiscall QFontEngine::supportsScript thanks -Pedro - Original Message - From: "Pedro Vicente" To: "Alan W. Irwin" ; "Hazen Babcock" Cc: "PLplot development list" Sent: Saturday, Octo

Re: [Plplot-devel] Finding wxWidgets

2016-11-11 Thread Pedro Vicente
hese are not really errors, just features that are not detected, like a Fortran compiler would it be possible to replace this just with a information message , like --detected fortran compiler --fortran compiler not found -Pedro - Original Message - From: "Alan W. Irwin"

Re: [Plplot-devel] Finding wxWidgets

2016-11-12 Thread Pedro Vicente
>> > Actually, there are still problems finding wxWidgets on your platform yes, my bad, I don't know how I missed this My WXWIN is wrong, sorry I'll try again -Pedro - Original Message - From: "Alan W. Irwin" To: "Pedro Vicente" Cc: "

Re: [Plplot-devel] Reducing loudness of compiler "Error" messages

2016-11-13 Thread Pedro Vicente
FF > make.txt I'll debug this when I have some time, hopefully before the release -Pedro - Original Message - From: "Alan W. Irwin" To: "Pedro Vicente" Cc: "Phil Rosenberg" ; "Laurent Berger" ; Sent: Saturday, November 12, 2016 4:0

Re: [Plplot-devel] Finding wxWidgets

2016-11-13 Thread Pedro Vicente
idgets_EXCLUDE_COMMON_LIBRARIES:BOOL=OFF > make.txt I'll debug this when I have some time, hopefully before the release -Pedro - Original Message - From: "Alan W. Irwin" To: "Pedro Vicente" Cc: "Phil Rosenberg" ; "Laurent Berger" ;

Re: [Plplot-devel] Finding wxWidgets

2016-11-14 Thread Pedro Vicente
feature that shows that all went fine thanks -Pedro - Original Message - From: "Alan W. Irwin" To: "Pedro Vicente" Cc: "Phil Rosenberg" ; "Laurent Berger" ; Sent: Monday, November 14, 2016 3:23 AM Subject: Re: [Plplot-devel] Finding wxWidgets

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

2016-11-22 Thread Pedro Vicente
Hi Alan Those dates look good to me, and I will investigate my 3 thread issues (wxWidgets, Qt, error messages ) well before the freezing date -Pedro - Original Message - From: "Alan W. Irwin" To: "PLplot development list" Sent: Tuesday, November 22, 2016 7:50 PM Subject: [Plplot-devel]

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

2016-12-07 Thread Pedro Vicente
Hi Alan I have a wxWidgets application that I developed for Windows and Linux that uses PLplot . I started having a segfault on the *Linux* only version. Debugging in Windows is a breeze with Visual Studio. For Linux I was able to make a QtCreator project to debug (yes, Qt debugging wxWidget

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

2016-12-08 Thread Pedro Vicente
urther , it makes no senseCould it be because of the use of templates in the PLPlot wxWidgets code?- Original Message - From: Pedro Vicente To: plplot-devel@lists.sourceforge.net Sent: Thursday, December 08, 2016 1:52 AM Subject: [Plplot-devel] build PLPlot with debug symbols in

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

2016-12-08 Thread Pedro Vicente
used m:\star_icvs\tools\wx_lib\wx_plplotwindow.hpp(278): warning C4703: potentially uninitialized local pointer variable 'drawDc' used it says that the variables are not initialized and are potencially used -Pedro - Original Message - From: "Alan W. Irwin" To: &quo

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

2016-12-09 Thread Pedro Vicente
ot.sf.net); the libLASi project > (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); > and the Linux Brochure Project (lbproject.sf.net). > __ > > Linux-powered Science > __ > > > ---------- > ___

[Plplot-devel] Deprecated wxWidgets error

2016-12-09 Thread Pedro Vicente
printf( msg, sizeof ( msg ) - 1, "Option '%s' not recognized.\n\nRecognized options for this driver are:\n", drvp->option ); plwarn( msg ); plHelpDrvOpts( acc_opt ); plexit( "" ); } where drvp->option is "back

[Plplot-devel] Fwd: Deprecated wxWidgets error

2016-12-09 Thread Pedro Vicente
e, is that correct ? If that's the case maybe you could give them different names thanks much Original Message Subject: [Plplot-devel] Deprecated wxWidgets error Date: 2016-12-09 14:39 From: Pedro Vicente To: Hi Phil Is the deprecated wxWidgets still functioning? I g

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

2016-12-09 Thread Pedro Vicente
but instead I do it for each makefile. In this build they are the above environment variables thanks -Pedro - Original Message - From: "Alan W. Irwin" To: "Pedro Vicente" Cc: Sent: Friday, December 09, 2016 5:05 PM Subject: Re: [Plplot-devel] Soft freeze on

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] Fwd: Deprecated wxWidgets error

2016-12-09 Thread Pedro Vicente
ry to the old wxWidgets out of curiosity. thanks -Pedro - Original Message - From: "Phil Rosenberg" To: "Alan W. Irwin" Cc: "Pedro Vicente" ; Sent: Friday, December 09, 2016 6:49 PM Subject: Re: [Plplot-devel] Fwd: Deprecated wxWidgets error > Hi Pe

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

2016-12-09 Thread Pedro Vicente
everything and start from scratch. So, the scratch here is to build and run wxPLplotDemo.cpp from the PLplot distribution I did that, but it am having a seg fault :-) I''ll just start a new thread with the debug results thanks -Pedro - Original Message - From: "Phil Rosen

Re: [Plplot-devel] wxPLplotDemo.cpp errors

2016-12-09 Thread Pedro Vicente
Event &event ) { if ( !m_created ) so, one quick try is to put the code of void wxPLplotwindow::OnCreate that is not called on the constructor maybe ? -Pedro - Original Message ----- From: Pedro Vicente To: plplot-devel@lists.sourceforge.net ; Phil Rosenberg Sent: Friday, D

Re: [Plplot-devel] wxPLplotDemo.cpp errors

2016-12-09 Thread Pedro Vicente
replicate this issue, that would be great. I am using CentOS 6.8, PLplot.5.11.1 , wxWidgets 3.1.0 - Original Message - From: Pedro Vicente To: plplot-devel@lists.sourceforge.net ; Phil Rosenberg Sent: Saturday, December 10, 2016 12:59 AM Subject: Re: [Plplot-devel] wxPLplotDemo.cpp erro

Re: [Plplot-devel] wxPLplotDemo.cpp errors

2016-12-10 Thread Pedro Vicente
on fault (core dumped) -Pedro - Original Message - From: "Pedro Vicente" To: ; "Phil Rosenberg" Sent: Saturday, December 10, 2016 2:52 AM Subject: Re: [Plplot-devel] wxPLplotDemo.cpp errors > Hi Phil > > My idea for a fix is to move the stream ini

Re: [Plplot-devel] wxPLplotDemo.cpp errors

2016-12-10 Thread Pedro Vicente
from package (not sure which version, I will check) see last email >> I presume you are using 3.1.0 as > released in February, yes, on CentOS -Pedro - Original Message ----- From: "Phil Rosenberg" To: "Pedro Vicente" ; Sent: Saturday, December 10, 2016

Re: [Plplot-devel] wxPLplotDemo.cpp errors

2016-12-10 Thread Pedro Vicente
a CentOS and Ubuntu as virtual guests (not the ones I did the PLplot test) -Pedro - Original Message - From: "Phil Rosenberg" To: "Pedro Vicente" ; Sent: Saturday, December 10, 2016 3:57 AM Subject: Re: [Plplot-devel] wxPLplotDemo.cpp errors > Hi Pedro >

Re: [Plplot-devel] wxPLplotDemo.cpp errors

2016-12-10 Thread Pedro Vicente
:~/plplot-plplot/build/examples/c++$ ./wxPLplotDemo Segmentation fault (core dumped) - Original Message - From: "Pedro Vicente" To: "Phil Rosenberg" ; Sent: Saturday, December 10, 2016 4:18 AM Subject: Re: [Plplot-devel] wxPLplotDemo.cpp errors > Hi Phil >

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

2016-12-10 Thread Pedro Vicente
otstream* pls = frame->GetStream(); assert(pls); PLFLT x[4] = { 1, 2, 3, 4 }; PLFLT y[4] = { 1, 2, 3, 4 }; pls->env(0, 5, 0, 5, 0, 0); pls->line(4, x, y); return true; } -Pedro - Original Message - From: "Phil Rosenberg" To: "Pedro Vicente" ; Sent: S

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

2016-12-12 Thread Pedro Vicente
Hi Phil Here's the fix I did for the linux wxwidgets driver bug https://github.com/pedro-vicente/plplot-wxwidgets these are the comments I added in the code // Modified from PLplot Copyright (C) 2015 Phil Rosenberg // Changes: // A non templated class derived from wxFrame // Use of e

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

2016-12-14 Thread Pedro Vicente
o deep into third party libraries's code it's no fun. when I found the linux wxwidgets bug I reported last week, I wrote a Qt project that allows to debug PLplot and wxWidgets it's here https://github.com/pedro-vicente/plplot-wxwidgets/blob/master/wx_plplot/wx_plplot.qt.ubuntu.x86

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

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

2016-12-14 Thread Pedro Vicente
mainwxPLplotDemo.cpp131 0x4258a4 As opposed to the wxWidgets Windows build, that uses the WIN32 API, for linux it's a totally different API (GTK), so the issue may be a wxWidgets GTK code thing -Pedro On 2016-12-14 10:59, Pedro Vicente wrote: Hi Phil Were you able to reproduce the

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

2016-12-14 Thread Pedro Vicente
indow that does not use wxPLplotwindow (the class used by the demo) this code is here https://github.com/pedro-vicente/plplot-wxwidgets and the way to avoid the bug is just to explicitally call the stream creation code with a function call, named CreatePLplotstream() (that as of now is suppos

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

2016-12-14 Thread Pedro Vicente
-Pedro - Original Message - From: "Alan W. Irwin" To: "Pedro Vicente" Cc: "PLplot development list" Sent: Wednesday, December 14, 2016 5:39 PM Subject: Re: [Plplot-devel] wxPLplotDemo.cpp -- linux build error On 2016-12-14 15:30-0500 Pedro Vicente wrote:

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

2016-12-14 Thread Pedro Vicente
E_f95:BOOL=OFF -DENABLE_tcl:BOOL=OFF -DENABLE_tk:BOOL=OFF -DBUILD_TEST=ON >& cmake.ubuntu.16.04.txt & make VERBOSE=1 test_wxPLplotDemo >& test_wxPLplotDemo.out.ubuntu.16.04.txt & files are attached, the same happens -Pedro - Original Message - From: "Ped

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

2016-12-14 Thread Pedro Vicente
OnCreate ) ); -Pedro ----- Original Message - From: "Alan W. Irwin" To: "Phil Rosenberg" ; "Pedro Vicente" Cc: "PLplot development list" Sent: Wednesday, December 14, 2016 7:16 PM Subject: Re: [Plplot-devel] wxPLplotDemo.cpp -- linux build erro

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

2016-12-14 Thread Pedro Vicente
test this because we can have just a clean linux that can be easily installed and deleted -Pedro - Original Message - From: "Alan W. Irwin" To: "Phil Rosenberg" ; "Pedro Vicente" Cc: "PLplot development list" Sent: Wednesday, Decembe

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

2016-12-14 Thread Pedro Vicente
lates) >>I would be willing to hold the release for you for a few >> extra days beyond December 27th that would be great, that should be enough to have a better idea. I have more time to work on this on the weekends only. -Pedro - Original Message - From: "Alan W. Ir

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

2016-12-14 Thread Pedro Vicente
makes it that it's only called 1 time I'll try this tomorrow -Pedro ----- Original Message - From: "Pedro Vicente" To: "Alan W. Irwin" ; "Phil Rosenberg" Cc: "PLplot development list" Sent: Thursday, December 15, 2016 1:31 AM Subject: R

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"

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

2016-12-14 Thread Pedro Vicente
wxwidgets.org/trunk/classwx_evt_handler.html#a0f30c8fa5583b4a5f661897d63de3b62 should have some solutions -Pedro - Original Message - From: "Pedro Vicente" To: "Alan W. Irwin" ; "Phil Rosenberg" Cc: "PLplot development list" Sent: Thursday, December 15, 2016 1:

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

2016-12-15 Thread Pedro Vicente
:11-0500 Pedro Vicente wrote: > >> 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. > > Hi Pedro: > > Just for the record, what version of Debian? &g

Re: [Plplot-devel] wxPLplotDemo.cpp -- FIXED

2016-12-15 Thread Pedro Vicente
:13:52: Debug: wxPLplotwindow::OnCreate 11:13:52: Debug: wxPLplotwindow::CreateStream 11:13:52: Debug: wxPLplotwindow::OnErase as you can see the stream is NOT NULL when we get at 11:13:52: Debug: Plot() -Pedro On 2016-12-15 10:22, Pedro Vicente wrote: Hi Alan I installed the latest from the debian site

Re: [Plplot-devel] wxPLplotDemo.cpp -- FIXED

2016-12-15 Thread Pedro Vicente
t changes should > stay in for your commit. Because that might help Phil understand > your changes ok -Pedro On 2016-12-15 16:12, Alan W. Irwin wrote: > On 2016-12-15 11:24-0500 Pedro Vicente wrote: > >> Hi Alan >> >> >> Success >> >> Th

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

2016-12-15 Thread Pedro Vicente
- Original Message - From: "Phil Rosenberg" To: "Pedro Vicente" Cc: "Alan W. Irwin" ; "PLplot development list" Sent: Thursday, December 15, 2016 5:06 PM Subject: Re: [Plplot-devel] wxPLplotDemo.cpp -- linux build error > Hi Pedro, Alan > I

Re: [Plplot-devel] Recruiting members of the core development team

2016-12-15 Thread Pedro Vicente
my linux build -Pedro - Original Message - From: "Alan W. Irwin" To: "Pedro Vicente" Cc: "PLplot development list" Sent: Thursday, December 15, 2016 6:22 PM Subject: Recruiting members of the core development team On 2016-12-15 16:39-0500 Pedro Vicente wrote:

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

2016-12-15 Thread Pedro Vicente
From: "Alan W. Irwin" To: "Pedro Vicente" ; "Phil Rosenberg" Cc: "PLplot development list" Sent: Thursday, December 15, 2016 7:05 PM Subject: Re: [Plplot-devel] wxPLplotDemo.cpp -- linux build error > On 2016-12-15 17:19-0500 Pedro Vicente wrote:

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

2016-12-15 Thread Pedro Vicente
ependent of plplot and see if this > works. If it doesn't then we know this is a VirtualBox/wxWidgets bug. > If it does then we can start adding complexity to find where it > breaks. > > On 16 December 2016 at 00:05, Alan W. Irwin > wrote: >> On 2016-12-15 17:19-0500 Pedr

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

2016-12-15 Thread Pedro Vicente
e, -Pedro - Original Message - From: "Alan W. Irwin" To: "Pedro Vicente" Cc: "Phil Rosenberg" ; "PLplot development list" Sent: Thursday, December 15, 2016 8:34 PM Subject: Re: [Plplot-devel] wxPLplotDemo.cpp -- linux build error > On 2016-12-15 19:56-0

Re: [Plplot-devel] The pls NULL fix for VirtualBox'd Linux platforms

2016-12-16 Thread Pedro Vicente
Hi Alan my new commit with debug prints and new commit message is attached -Pedro On 2016-12-15 20:14, Alan W. Irwin wrote: On 2016-12-15 18:39-0500 Pedro Vicente wrote: I did what the README file said and here it is my first patch attached:-) what it has it's *just* some print mes

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

2016-12-16 Thread Pedro Vicente
t; > Programming affiliations with the FreeEOS equation-of-state > implementation for stellar interiors (freeeos.sf.net); the Time > Ephemerides project (timeephem.sf.net); PLplot scientific plotting > software package (plplot.sf.net); the libLASi project > (unifont.org/lasi); the Load

Re: [Plplot-devel] The pls NULL fix for some Linux platforms

2016-12-16 Thread Pedro Vicente
Hi Alan the patch with the 2nd commit with fix is attached -Pedro On 2016-12-15 20:14, Alan W. Irwin wrote: On 2016-12-15 18:39-0500 Pedro Vicente wrote: I did what the README file said and here it is my first patch attached:-) what it has it's *just* some print messages (not my fi

[Plplot-devel] Cmake generation with wxWidgets on Windows

2016-12-16 Thread Pedro Vicente
Hi Alan I am having linking errors on the latest git clone in Windows when I use wxWidgets. It seems that the all the examples (or plplot.lib) are trying to link with wxWidgets , and I get this kind of errors -- Build started: Project: x00c, Configuration: Debug Win32 -- plplot.lib

Re: [Plplot-devel] Cmake generation with wxWidgets on Windows

2016-12-17 Thread Pedro Vicente
for cmake build with wxWidgets Rebuild All: 88 succeeded, 0 failed, 0 skipped = - Original Message - From: "Pedro Vicente" To: "Alan W. Irwin" Cc: "PLplot development list" Sent: Saturday, December 17, 2016 1:55 AM Subject: [Plplot-devel] Cmake generati

Re: [Plplot-devel] The pls NULL fix for some Linux platforms

2016-12-17 Thread Pedro Vicente
s an error in Visual Studio -Pedro - Original Message - From: "Pedro Vicente" To: "Alan W. Irwin" Cc: "PLplot development list" Sent: Friday, December 16, 2016 1:30 PM Subject: Re: [Plplot-devel] The pls NULL fix for some Linux platforms >

Re: [Plplot-devel] The pls NULL fix for some Linux platforms

2016-12-17 Thread Pedro Vicente
branch I saw it, thanks -Pedro - Original Message - From: "Alan W. Irwin" To: "Pedro Vicente" Cc: "PLplot development list" Sent: Saturday, December 17, 2016 3:38 AM Subject: Re: The pls NULL fix for some Linux platforms > On 2016-12-16 13:30-

Re: [Plplot-devel] The pls NULL fix for some Linux platforms

2016-12-17 Thread Pedro Vicente
Hi Alan Patch is attached, it's a good idea to have the "git format-patch" format. -Pedro - Original Message - From: "Alan W. Irwin" To: "Pedro Vicente" Cc: "PLplot development list" Sent: Saturday, December 17, 2016 4:40 AM Subject:

Re: [Plplot-devel] Cmake generation with wxWidgets on Windows

2016-12-17 Thread Pedro Vicente
is to keep things simple So, the solution I have for find_library assumes that the supplied argument -DJANSSON_LIBRARY is a valid file -Pedro - Original Message - From: "Alan W. Irwin" To: "Pedro Vicente" Cc: "PLplot development list" Sent: Saturday, De

Re: [Plplot-devel] Cmake generation with wxWidgets on Windows

2016-12-17 Thread Pedro Vicente
attached cmake.out.txt = first cmake run without existing .libs cmake.out.2.txt = second cmake run with existing .libs - Original Message - From: "Pedro Vicente" To: "Alan W. Irwin" Cc: "PLplot development list" Sent: Saturday, December 17, 2016 7:25

Re: [Plplot-devel] Cmake generation with wxWidgets on Windows

2016-12-18 Thread Pedro Vicente
only after sending the first report that I noticed they did not exist). all good then -Pedro - Original Message - From: "Alan W. Irwin" To: "Pedro Vicente" Cc: "PLplot development list" Sent: Sunday, December 18, 2016 2:28 AM Subject: Re: [Plplot-devel] Cmake

Re: [Plplot-devel] The pls NULL fix for some Linux platforms

2016-12-18 Thread Pedro Vicente
in my case 22:45:01: Debug: wxPLplotwindow::Show 22:45:01: Debug: Plot() 22:45:01: Debug: wxPLplotwindow::OnCreate Plot() is called before OnCreate() and this was what was causing the bug (no stream created when Plot() is called) 3) Leave the code like it is but add further debugging features li

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

2016-12-18 Thread Pedro Vicente
ot;Phil Rosenberg" To: "Pedro Vicente" Cc: "Alan W. Irwin" ; "PLplot development list" Sent: Sunday, December 18, 2016 6:27 PM Subject: Re: [Plplot-devel] wxPLplotDemo.cpp -- linux build error > Hi Pedro > Ah, I had assumed that the OnCreate event was not b

Re: [Plplot-devel] New way to generate wxwidgets debug output

2016-12-19 Thread Pedro Vicente
lot.sf.net); the libLASi project > (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); > and the Linux Brochure Project (lbproject.sf.net). > __ > > Linux-powered Science > __ -- Pedro Vicente pedro.vice...@space-research.org http://www.space

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

2016-12-19 Thread Pedro Vicente
t; Astronomical research affiliation with Department of Physics and >> Astronomy, >> University of Victoria (astrowww.phys.uvic.ca). >> >> Programming affiliations with the FreeEOS equation-of-state >> implementation for stellar interiors (freeeos.sf.net); the Time >

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

2016-12-19 Thread Pedro Vicente
he > issue is just that the create event is delayed. If you are having > trouble getting it to apply, then I'll commit it to master. But I > guess we need to wait for Alan to fix the logging issues first. &

Re: [Plplot-devel] New way to generate wxwidgets debug output

2016-12-19 Thread Pedro Vicente
19 15:25, Alan W. Irwin wrote: > On 2016-12-19 12:33-0500 Pedro Vicente wrote: > >> Hi Alan >> >> I just did a git pull of the master branch with these changes and I >> get compiling errors >> if I don't add >> >> -DPLPLOT_WX_NANOSEC=ON > >

Re: [Plplot-devel] New way to generate wxwidgets debug output

2016-12-19 Thread Pedro Vicente
earch affiliation with Department of Physics and > Astronomy, > University of Victoria (astrowww.phys.uvic.ca). > > Programming affiliations with the FreeEOS equation-of-state > implementation for stellar interiors (freeeos.sf.net); the Time > Ephemerides project (timeephem.sf.net);

Re: [Plplot-devel] New way to generate wxwidgets debug output

2016-12-19 Thread Pedro Vicente
heck for the result. Not sure which , because I never use the C++ I/O, I always use the C API, even in C++ programs. the reference is here http://www.cplusplus.com/reference/fstream/fstream/fstream/ -Pedro - Original Message - From: "Alan W. Irwin" To: "Pedro Vice

Re: [Plplot-devel] New way to generate wxwidgets debug output

2016-12-19 Thread Pedro Vicente
you could use "open" to try to open the stream as described here http://www.cplusplus.com/reference/fstream/fstream/open/ I'll do a small test to see -Pedro - Original Message - From: "Pedro Vicente" To: "Alan W. Irwin" ; "Phil Rosenberg"

Re: [Plplot-devel] New way to generate wxwidgets debug output

2016-12-19 Thread Pedro Vicente
you can use the function "getrandom" as explained here http://stackoverflow.com/questions/2572366/how-to-use-dev-random-or-urandom-in-c http://man7.org/linux/man-pages/man2/getrandom.2.html -Pedro - Original Message - From: "Pedro Vicente" To: "Alan W.

Re: [Plplot-devel] Subscribing to our git feed

2016-12-19 Thread Pedro Vicente
bug: wxPLDevice(): leave 23:26:44: Debug: plD_init_wxwidgets(): leave 23:26:44: Debug: Plot() - Original Message - From: "Alan W. Irwin" To: "Pedro Vicente" ; "PLplot development list" Sent: Monday, December 19, 2016 10:29 PM Subject: Subscribing to ou

Re: [Plplot-devel] Subscribing to our git feed

2016-12-20 Thread Pedro Vicente
is no wait loop; there is also no need to create the stream in OnCreate() -Pedro On 2016-12-20 04:01, Alan W. Irwin wrote: > On 2016-12-19 23:32-0500 Pedro Vicente wrote: > >> Hi Alan >> >> I subscribed to the feed, got the latest master, and all is working >> n

Re: [Plplot-devel] Infinite Yielding issue

2016-12-20 Thread Pedro Vicente
l Message - From: "Alan W. Irwin" To: "Phil Rosenberg" ; "Pedro Vicente" ; "PLplot development list" Sent: Tuesday, December 20, 2016 3:10 PM Subject: Infinite Yielding issue > On 2016-12-20 13:07-0500 Pedro Vicente wrote: > >> Hi Alan, Phi

Re: [Plplot-devel] Subscribing to our git feed

2016-12-20 Thread Pedro Vicente
Hi Phil I agree, the Show() solution is a bad solution, the stream creation must be done in OnCreate() -Pedro - Original Message - From: p.d.rosenb...@gmail.com To: Pedro Vicente ; Alan W. Irwin Cc: PLplot development list Sent: Tuesday, December 20, 2016 6:38 PM Subject

Re: [Plplot-devel] Infinite Yielding issue

2016-12-20 Thread Pedro Vicente
- Original Message - From: "Alan W. Irwin" To: "Pedro Vicente" Cc: "Phil Rosenberg" ; "PLplot development list" Sent: Tuesday, December 20, 2016 6:56 PM Subject: Re: Infinite Yielding issue > On 2016-12-20 17:49-0500 Pedro Vicente wro

[Plplot-devel] Yield - threads

2016-12-20 Thread Pedro Vicente
@Phil this is the main page for the thread documentation http://docs.wxwidgets.org/3.1/overview_thread.html and this page as an example http://docs.wxwidgets.org/3.1/classwx_thread.html -Pedro -- Developer Access P

Re: [Plplot-devel] Infinite Yielding issue

2016-12-20 Thread Pedro Vicente
ne 23:23:09: Debug: wxPLDevice(): m_interactiveTextGcdc done 23:23:09: Debug: wxPLDevice(): SetDC done 23:23:09: Debug: wxPLDevice(): leave 23:23:09: Debug: plD_init_wxwidgets(): leave 23:23:09: Debug: Plot() - Original Message - From: "Alan W. Irwin" To: "Pedro Vicente"

Re: [Plplot-devel] Infinite Yielding issue

2016-12-20 Thread Pedro Vicente
1:38: Debug: wxPLDevice(): leave 23:31:38: Debug: plD_init_wxwidgets(): leave 23:31:38: Debug: Plot() - Original Message ----- From: "Pedro Vicente" To: "Alan W. Irwin" ; "Phil Rosenberg" ; "PLplot development list" Sent: Tuesday, December 20, 2016 11:

Re: [Plplot-devel] Infinite Yielding issue

2016-12-21 Thread Pedro Vicente
lD_init_wxwidgets(): leave 16:27:39: Debug: Plot() ----- Original Message - From: "Pedro Vicente" To: "Alan W. Irwin" ; "Phil Rosenberg" ; "PLplot development list" Sent: Tuesday, December 20, 2016 11:58 PM Subject: Re: [Plplot-devel] Infinite Yiel

Re: [Plplot-devel] Infinite Yielding issue

2016-12-21 Thread Pedro Vicente
emo.cpp https://github.com/pedro-vicente/plplot-wxwidgets I get this output (OnCreate is called after the main app tries to test frame->IsReady() ) the stream here is simulated by a boolean 18:33:43: Debug: wxFrameTest::wxFrameTest 18:33:43: Debug: frame->Create 18:33:43: Debug: wxFrame

Re: [Plplot-devel] Infinite Yielding issue

2016-12-22 Thread Pedro Vicente
ndows 10 phone > > FROM: Alan W. Irwin [1] > SENT: 22 December 2016 05:39 > TO: Pedro Vicente [2]; Phil Rosenberg [3]; PLplot development list > [4] > SUBJECT: Re: [Plplot-devel] Infinite Yielding issue > > Hi Pedro: > > More thoughts: > > I like your example becaus

Re: [Plplot-devel] Infinite Yielding issue

2016-12-22 Thread Pedro Vicente
switching to another commit version that could have or not the same problem. > But finding > a fundamental solution to this issue is important enough that I think > we should put off that commit (if necessary) until 5 days from now > (Tuesday,December 27th when I was planning to m

Re: [Plplot-devel] Infinite Yielding issue

2016-12-22 Thread Pedro Vicente
handled by a static event table, using wxDECLARE_EVENT_TABLE(). An auxiliary function CreateStream() creates the stream in Create(). The code of wxPLplotwindow was moved to a new source file wxPLplotwindow.cpp Tested by: Pedro Vicente on Ubuntu Linux 16.04 with wxwidgets3.0 package installed. Results

Re: [Plplot-devel] Infinite Yielding issue

2016-12-23 Thread Pedro Vicente
): invalid bitmap On 2016-12-23 14:50, Alan W. Irwin wrote: > On 2016-12-23 01:40-0500 Pedro Vicente wrote: > >> Alan, Phil >> >> I went ahead and did a patch commit for option 3), attached, >> that has this: >> >> (note: I wrote the code in Windows,

Re: [Plplot-devel] Infinite Yielding issue

2016-12-23 Thread Pedro Vicente
iginal Message - From: "Alan W. Irwin" To: "Pedro Vicente" ; "Phil Rosenberg" ; "PLplot development list" Sent: Friday, December 23, 2016 4:30 PM Subject: Re: [Plplot-devel] Infinite Yielding issue > On 2016-12-23 15:18-0500 Pedro Vicente

Re: [Plplot-devel] Infinite Yielding issue

2016-12-23 Thread Pedro Vicente
by the way, what are the commands to do comprehensing testing? -Pedro - Original Message - From: "Alan W. Irwin" To: "Pedro Vicente" ; "Phil Rosenberg" ; "PLplot development list" Sent: Friday, December 23, 2016 4:30 PM Subject: Re: [Plplot-de

Re: [Plplot-devel] Linux testing

2016-12-23 Thread Pedro Vicente
X server is used" be because I am accesing my linux machines remotely ? (by using X2Go) 2) maybe put the master back with one of the workarounds that I don't have the infinite loop, so that I have a better idea of what happens in the comprehensing testing? -Pedro - Original Me

Re: [Plplot-devel] Infinite Yielding issue

2016-12-23 Thread Pedro Vicente
not clear -Pedro - Original Message - From: "Alan W. Irwin" To: "Pedro Vicente" Cc: "Phil Rosenberg" ; "PLplot development list" Sent: Friday, December 23, 2016 2:50 PM Subject: Re: [Plplot-devel] Infinite Yielding issue On 2016-12-23

Re: [Plplot-devel] Infinite Yielding issue

2016-12-23 Thread Pedro Vicente
: wxPLDevice(): gc done 00:36:21: Debug: wxPLDevice(): m_interactiveTextGcdc done 00:36:21: Debug: wxPLDevice(): SetDC done 00:36:21: Debug: wxPLDevice(): leave 00:36:21: Debug: plD_init_wxwidgets(): leave 00:36:21: Debug: wxPLplotwindow::OnCreate - Original Message - From: "Pedro Vicente

Re: [Plplot-devel] Infinite Yielding issue

2016-12-24 Thread Pedro Vicente
n W. Irwin" To: "Pedro Vicente" Cc: "Phil Rosenberg" ; "PLplot development list" Sent: Saturday, December 24, 2016 3:42 AM Subject: Re: [Plplot-devel] Infinite Yielding issue > On 2016-12-24 01:13-0500 Pedro Vicente wrote: > >> Hi Alan >> >&

  1   2   >