You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
(3) |
May
(14) |
Jun
(1) |
Jul
(3) |
Aug
(1) |
Sep
|
Oct
(2) |
Nov
(16) |
Dec
(1) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(13) |
Feb
(22) |
Mar
(7) |
Apr
(8) |
May
(8) |
Jun
(11) |
Jul
(2) |
Aug
|
Sep
(5) |
Oct
(31) |
Nov
(23) |
Dec
(3) |
2002 |
Jan
(1) |
Feb
(17) |
Mar
(10) |
Apr
(3) |
May
(1) |
Jun
(2) |
Jul
|
Aug
|
Sep
(11) |
Oct
(5) |
Nov
(21) |
Dec
(20) |
2003 |
Jan
(27) |
Feb
(13) |
Mar
(20) |
Apr
(11) |
May
(12) |
Jun
(7) |
Jul
(16) |
Aug
(21) |
Sep
(9) |
Oct
(28) |
Nov
(24) |
Dec
(30) |
2004 |
Jan
(31) |
Feb
(5) |
Mar
|
Apr
(8) |
May
(12) |
Jun
(7) |
Jul
(13) |
Aug
(12) |
Sep
(2) |
Oct
(14) |
Nov
(42) |
Dec
(14) |
2005 |
Jan
|
Feb
|
Mar
(20) |
Apr
(17) |
May
(9) |
Jun
|
Jul
(7) |
Aug
(3) |
Sep
(17) |
Oct
(14) |
Nov
(9) |
Dec
|
2006 |
Jan
|
Feb
|
Mar
(13) |
Apr
(2) |
May
(46) |
Jun
(2) |
Jul
(20) |
Aug
(26) |
Sep
(31) |
Oct
(5) |
Nov
(9) |
Dec
(13) |
2007 |
Jan
(24) |
Feb
(22) |
Mar
(13) |
Apr
(25) |
May
(25) |
Jun
(9) |
Jul
(20) |
Aug
(9) |
Sep
(26) |
Oct
(3) |
Nov
(4) |
Dec
(3) |
2008 |
Jan
(92) |
Feb
(35) |
Mar
(39) |
Apr
(15) |
May
|
Jun
|
Jul
(18) |
Aug
(5) |
Sep
(5) |
Oct
(7) |
Nov
(10) |
Dec
(27) |
2009 |
Jan
(35) |
Feb
(34) |
Mar
(13) |
Apr
(9) |
May
(18) |
Jun
(9) |
Jul
(15) |
Aug
(13) |
Sep
(64) |
Oct
(7) |
Nov
(43) |
Dec
|
2010 |
Jan
(75) |
Feb
(22) |
Mar
(44) |
Apr
(34) |
May
(47) |
Jun
(77) |
Jul
(28) |
Aug
(7) |
Sep
(45) |
Oct
(1) |
Nov
(19) |
Dec
(7) |
2011 |
Jan
(14) |
Feb
|
Mar
(6) |
Apr
(12) |
May
(19) |
Jun
(3) |
Jul
(8) |
Aug
(4) |
Sep
(3) |
Oct
(21) |
Nov
(11) |
Dec
(4) |
2012 |
Jan
(2) |
Feb
(9) |
Mar
|
Apr
(1) |
May
(2) |
Jun
|
Jul
(1) |
Aug
(5) |
Sep
(5) |
Oct
(1) |
Nov
(18) |
Dec
(2) |
2013 |
Jan
(15) |
Feb
(16) |
Mar
(8) |
Apr
(5) |
May
|
Jun
(1) |
Jul
(17) |
Aug
(3) |
Sep
(17) |
Oct
(43) |
Nov
(25) |
Dec
(9) |
2014 |
Jan
(4) |
Feb
(8) |
Mar
(20) |
Apr
(14) |
May
(49) |
Jun
(1) |
Jul
|
Aug
(18) |
Sep
(2) |
Oct
(1) |
Nov
(22) |
Dec
(3) |
2015 |
Jan
(41) |
Feb
(2) |
Mar
(34) |
Apr
(30) |
May
(14) |
Jun
(17) |
Jul
(29) |
Aug
(3) |
Sep
(3) |
Oct
(1) |
Nov
(7) |
Dec
(4) |
2016 |
Jan
|
Feb
|
Mar
(1) |
Apr
(4) |
May
(1) |
Jun
|
Jul
(1) |
Aug
|
Sep
(25) |
Oct
(9) |
Nov
(14) |
Dec
(13) |
2017 |
Jan
(11) |
Feb
(8) |
Mar
(12) |
Apr
(4) |
May
(25) |
Jun
(2) |
Jul
|
Aug
(5) |
Sep
(10) |
Oct
(25) |
Nov
|
Dec
(6) |
2018 |
Jan
(18) |
Feb
(6) |
Mar
(6) |
Apr
(1) |
May
(7) |
Jun
(13) |
Jul
(8) |
Aug
|
Sep
(5) |
Oct
(2) |
Nov
(17) |
Dec
(3) |
2019 |
Jan
(11) |
Feb
(4) |
Mar
(13) |
Apr
(19) |
May
(1) |
Jun
(2) |
Jul
(8) |
Aug
(4) |
Sep
(32) |
Oct
(51) |
Nov
(1) |
Dec
(9) |
2020 |
Jan
(9) |
Feb
(6) |
Mar
|
Apr
|
May
(3) |
Jun
(2) |
Jul
(5) |
Aug
(4) |
Sep
|
Oct
|
Nov
|
Dec
|
2021 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(7) |
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
(2) |
Nov
(3) |
Dec
|
2022 |
Jan
(3) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2024 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2025 |
Jan
(3) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Phil R. <p.d...@gm...> - 2018-06-07 13:55:51
|
Hi David Sorry, I haven't replied - I've been away and off email for close to a month. Anyway - the problem is that when you create your wxPLplotwindow using the default constructor it gets a size of wxDefaultSize at initialisation. This is 20x20 pixels on my Windows system. PLPlot then uses this size along with the DPI to calculate the most appropriate text size, which comes out at I think about 0.3 mm. This is converted to a pt size and used to create a wxFont. One of either of the following is happening wxFont only accepts integers for pt size and the pt size is less than 1 so gets rounded down to 0 and no text is drawn, or the text is sortof there, but it is so small it doesn't actually show up. The easiest workaround is to specify a size at construction time - this will change when your frame actually sorts out the sizing of its child windows, but that's fine. So something like m_right = new wxPLplotwindow<wxPanel>(true, wxSize(800, 800)); works and the text displays. You should also be able to manually set the size using pls->schr() in your Plot function, but I've just quickly tried that and it didn't work. I'll try to investigate why. Hope that gets you going for now. Phil On 6 June 2018 at 13:01, David Bergman <stu...@gm...> wrote: > Alan, > > Thanks. It seems that we're making some progress. I am working on Windows > and I do not get the warning > "Somehow we attempted to plot before the wxPLplotwindow was ready. The plot > will not be drawn". > I get a plot with some missing elements. I've not tried to build or run in > Linux. > > Thanks for your help, > David > > > On 6/6/2018 1:48 AM, Alan W. Irwin wrote: >> >> On 2018-05-25 15:37-0400 David Bergman wrote: >> >>> Alan, >>> >>> I regret waiting this long to reply but have had a lot of work. >>> To tell you the truth I am not sure what exactly caused the issue but >>> I've deleted the "wxOVERRIDE" from the code, which was clearly a copy-paste >>> from a wxWidgets example. >>> >>> I copied the simple.cpp code into the PLplot-Widgets example. >>> >>> cmake and nmake both ran find but cmake install generated the following >>> fatal error. Recall that I had quite a bit of trouble getting it to install >>> the first time and I may have missed an option that is required. Not sure >>> if my error is due to the same issue that caused your error. >>> >>> >>> Install the project... >>> -- Install configuration: "Debug" >>> -- Installing: C:/Program Files (x86)/plplot/share/doc/plplot/ABOUT >>> CMake Error at cmake_install.cmake:39 (file): >>> file INSTALL cannot copy file "C:/plplot-5.13.0/ABOUT" to "C:/Program >>> Files >>> (x86)/plplot/share/doc/plplot/ABOUT". >>> >>> >>> NMAKE : fatal error U1077: 'echo' : return code '0x1' >>> Stop. >> >> >> Hi David: >> >> In my case, it was configuration of a new computer which kept me from >> replying to what you said above in a timely way. My apologies for that >> delay. But that new computer configuration has now been a success (I >> am writing this from the new computer and PLplot also builds >> on that new computer) so I now have a chance to answer you. >> >> I think the nmake trouble you are having is due to the (default) install >> prefix >> "C:/Program Files (x86)" having a blank in the path. I think all those >> "blank in >> path" issues are now gone in the git version of PLplot so please try that >> not >> only for that reason but also because that is the version of PLplot I test >> with >> in any case. >> >> I tried a similar test (copying simple.cpp on top of >> examples/c++/wxPLplotDemo.cpp) here, >> but in my case I configured PLplot with the cmake option -DBUILD_TEST=ON >> which >> allows users to test in the build tree without having to install. The >> result on >> my new Debian Buster platform was I could build and run simple.cpp using >> "make test_wxPLplotDemo". That test had two key warnings which were >> >> Gtk-Message: 22:23:32.181: GtkDialog mapped without a transient parent. >> This is discouraged. >> >> on the command line + a dialog box with the following contents: >> >> "Somehow we attempted to plot before the wxPLplotwindow was ready. The >> plot will not be drawn". >> >> And indeed that was followed by a blank plot. So it appears your >> simple.cpp is still >> not set up correctly for the Linux case. >> >> I have put this thread back on the plplot-general list because Phil >> Rosenberg, the author of the PLplot wxwidgets binding and device may >> wish to comment since he had similar "waiting for events" trouble in >> the past on Linux which might be related to what I am seeing on Linux with >> the current simple.cpp. >> >> Alan >> __________________________ >> Alan W. Irwin >> >> 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 >> Ephemerides project (timeephem.sf.net); PLplot scientific plotting >> software package (plplot.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 >> __________________________ > > > > --- > This email has been checked for viruses by Avast antivirus software. > https://www.avast.com/antivirus > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Plplot-general mailing list > Plp...@li... > https://lists.sourceforge.net/lists/listinfo/plplot-general |
From: David B. <stu...@gm...> - 2018-06-06 12:02:18
|
Alan, Thanks. It seems that we're making some progress. I am working on Windows and I do not get the warning "Somehow we attempted to plot before the wxPLplotwindow was ready. The plot will not be drawn". I get a plot with some missing elements. I've not tried to build or run in Linux. Thanks for your help, David On 6/6/2018 1:48 AM, Alan W. Irwin wrote: > On 2018-05-25 15:37-0400 David Bergman wrote: > >> Alan, >> >> I regret waiting this long to reply but have had a lot of work. >> To tell you the truth I am not sure what exactly caused the issue but >> I've deleted the "wxOVERRIDE" from the code, which was clearly a >> copy-paste from a wxWidgets example. >> >> I copied the simple.cpp code into the PLplot-Widgets example. >> >> cmake and nmake both ran find but cmake install generated the >> following fatal error. Recall that I had quite a bit of trouble >> getting it to install the first time and I may have missed an option >> that is required. Not sure if my error is due to the same issue that >> caused your error. >> >> >> Install the project... >> -- Install configuration: "Debug" >> -- Installing: C:/Program Files (x86)/plplot/share/doc/plplot/ABOUT >> CMake Error at cmake_install.cmake:39 (file): >> file INSTALL cannot copy file "C:/plplot-5.13.0/ABOUT" to >> "C:/Program Files >> (x86)/plplot/share/doc/plplot/ABOUT". >> >> >> NMAKE : fatal error U1077: 'echo' : return code '0x1' >> Stop. > > Hi David: > > In my case, it was configuration of a new computer which kept me from > replying to what you said above in a timely way. My apologies for that > delay. But that new computer configuration has now been a success (I > am writing this from the new computer and PLplot also builds > on that new computer) so I now have a chance to answer you. > > I think the nmake trouble you are having is due to the (default) > install prefix > "C:/Program Files (x86)" having a blank in the path. I think all > those "blank in > path" issues are now gone in the git version of PLplot so please try > that not > only for that reason but also because that is the version of PLplot I > test with > in any case. > > I tried a similar test (copying simple.cpp on top of > examples/c++/wxPLplotDemo.cpp) here, > but in my case I configured PLplot with the cmake option > -DBUILD_TEST=ON which > allows users to test in the build tree without having to install. The > result on > my new Debian Buster platform was I could build and run simple.cpp using > "make test_wxPLplotDemo". That test had two key warnings which were > > Gtk-Message: 22:23:32.181: GtkDialog mapped without a transient > parent. This is discouraged. > > on the command line + a dialog box with the following contents: > > "Somehow we attempted to plot before the wxPLplotwindow was ready. > The plot will not be drawn". > > And indeed that was followed by a blank plot. So it appears your > simple.cpp is still > not set up correctly for the Linux case. > > I have put this thread back on the plplot-general list because Phil > Rosenberg, the author of the PLplot wxwidgets binding and device may > wish to comment since he had similar "waiting for events" trouble in > the past on Linux which might be related to what I am seeing on Linux > with > the current simple.cpp. > > Alan > __________________________ > Alan W. Irwin > > 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 > Ephemerides project (timeephem.sf.net); PLplot scientific plotting > software package (plplot.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 > __________________________ --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus |
From: Alan W. I. <Ala...@gm...> - 2018-06-06 07:16:58
|
On 2018-05-25 15:37-0400 David Bergman wrote: > Alan, > > I regret waiting this long to reply but have had a lot of work. > To tell you the truth I am not sure what exactly caused the issue but I've > deleted the "wxOVERRIDE" from the code, which was clearly a copy-paste from a > wxWidgets example. > > I copied the simple.cpp code into the PLplot-Widgets example. > > cmake and nmake both ran find but cmake install generated the following fatal > error. Recall that I had quite a bit of trouble getting it to install the > first time and I may have missed an option that is required. Not sure if my > error is due to the same issue that caused your error. > > > Install the project... > -- Install configuration: "Debug" > -- Installing: C:/Program Files (x86)/plplot/share/doc/plplot/ABOUT > CMake Error at cmake_install.cmake:39 (file): > file INSTALL cannot copy file "C:/plplot-5.13.0/ABOUT" to "C:/Program Files > (x86)/plplot/share/doc/plplot/ABOUT". > > > NMAKE : fatal error U1077: 'echo' : return code '0x1' > Stop. Hi David: In my case, it was configuration of a new computer which kept me from replying to what you said above in a timely way. My apologies for that delay. But that new computer configuration has now been a success (I am writing this from the new computer and PLplot also builds on that new computer) so I now have a chance to answer you. I think the nmake trouble you are having is due to the (default) install prefix "C:/Program Files (x86)" having a blank in the path. I think all those "blank in path" issues are now gone in the git version of PLplot so please try that not only for that reason but also because that is the version of PLplot I test with in any case. I tried a similar test (copying simple.cpp on top of examples/c++/wxPLplotDemo.cpp) here, but in my case I configured PLplot with the cmake option -DBUILD_TEST=ON which allows users to test in the build tree without having to install. The result on my new Debian Buster platform was I could build and run simple.cpp using "make test_wxPLplotDemo". That test had two key warnings which were Gtk-Message: 22:23:32.181: GtkDialog mapped without a transient parent. This is discouraged. on the command line + a dialog box with the following contents: "Somehow we attempted to plot before the wxPLplotwindow was ready. The plot will not be drawn". And indeed that was followed by a blank plot. So it appears your simple.cpp is still not set up correctly for the Linux case. I have put this thread back on the plplot-general list because Phil Rosenberg, the author of the PLplot wxwidgets binding and device may wish to comment since he had similar "waiting for events" trouble in the past on Linux which might be related to what I am seeing on Linux with the current simple.cpp. Alan __________________________ Alan W. Irwin 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 Ephemerides project (timeephem.sf.net); PLplot scientific plotting software package (plplot.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 __________________________ |
From: Jim D. <li...@di...> - 2018-05-25 20:51:44
|
> On May 25, 2018, at 3:02 PM, David Bergman <stu...@gm...> wrote: > > I have a question about the examples. > There's code for generating all the plots that appear on the PLplot website but whenever I compile and run them I just get the first in the list. > The functions (or objects) take inputs but I cannot seem to execute them with other options for which plot to generate (I can choose the output device as expected). > > Can anyone provide a quick response about what I'm doing wrong? > In each demo, the subsequent plots are on a new page. If you are using an interactive device, you need to advance the page. On a non interactive device (e.g. a PDF), you should get all the pages. Please let me know if that is not working for you. > Thank you. > David > > --- > This email has been checked for viruses by Avast antivirus software. > https://www.avast.com/antivirus > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Plplot-general mailing list > Plp...@li... > https://lists.sourceforge.net/lists/listinfo/plplot-general |
From: David B. <stu...@gm...> - 2018-05-25 19:02:22
|
I have a question about the examples. There's code for generating all the plots that appear on the PLplot website but whenever I compile and run them I just get the first in the list. The functions (or objects) take inputs but I cannot seem to execute them with other options for which plot to generate (I can choose the output device as expected). Can anyone provide a quick response about what I'm doing wrong? Thank you. David --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus |
From: Alan W. I. <ir...@be...> - 2018-05-04 21:45:27
|
On 2018-05-04 13:55-0400 David Bergman wrote: > Alan, > > Thanks for the quick response. You are correct, this was a rather convoluted > piecemeal hack of several examples from both wxwidgets and plplot. > > Attached is a simplified version. Just to test that out, I locally copied that version on top of examples/c++/wxPLplotDemo.cpp and then tested using a CMake-based build of PLplot as follows: software@raven> make test_wxPLplotDemo [ 0%] Built target plhershey-unicode-gen [ 0%] Built target plhershey-unicode.h_built [ 0%] Built target csirocsa [ 16%] Built target csironn [ 16%] Built target tai-utc-gen [ 16%] Built target tai-utc.h_built [ 16%] Built target deltaT-gen [ 16%] Built target deltaT.h_built [ 16%] Built target qsastime [ 83%] Built target plplot [100%] Built target plplotcxx [100%] Built target plplotwxwidgets [100%] Building CXX object examples/c++/CMakeFiles/wxPLplotDemo.dir/wxPLplotDemo.cpp.o /home/software/plplot/HEAD/plplot.git/examples/c++/wxPLplotDemo.cpp:109:22: error: expected ‘;’ at end of member declaration virtual bool OnInit() wxOVERRIDE; ^ /home/software/plplot/HEAD/plplot.git/examples/c++/wxPLplotDemo.cpp:109:24: error: ‘wxOVERRIDE’ does not name a type virtual bool OnInit() wxOVERRIDE; ^ examples/c++/CMakeFiles/wxPLplotDemo.dir/build.make:62: recipe for target 'examples/c++/CMakeFiles/wxPLplotDemo.dir/wxPLplotDemo.cpp.o' failed make[3]: *** [examples/c++/CMakeFiles/wxPLplotDemo.dir/wxPLplotDemo.cpp.o] Error 1 CMakeFiles/Makefile2:13159: recipe for target 'examples/c++/CMakeFiles/wxPLplotDemo.dir/all' failed make[2]: *** [examples/c++/CMakeFiles/wxPLplotDemo.dir/all] Error 2 CMakeFiles/Makefile2:5315: recipe for target 'examples/CMakeFiles/test_wxPLplotDemo.dir/rule' failed make[1]: *** [examples/CMakeFiles/test_wxPLplotDemo.dir/rule] Error 2 Makefile:1807: recipe for target 'test_wxPLplotDemo' failed make: *** [test_wxPLplotDemo] Error 2 You should be able to follow my Linux steps on Windows by copying your simple.cpp on top of examples/c++/wxPLplotDemo.cpp, configuring PLplot using cmake on the command line using the "NMake Makefiles" generator, and replacing make with nmake to attempt to build the test_wxPLplotDemo target. Let me know how that test attempt goes, and please fix whatever causes the above build error (at least for the Linux case) in your simple.cpp and send it to me again. Alan __________________________ Alan W. Irwin 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 Ephemerides project (timeephem.sf.net); PLplot scientific plotting software package (plplot.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 __________________________ |
From: David B. <stu...@gm...> - 2018-05-04 17:56:14
|
Alan, Thanks for the quick response. You are correct, this was a rather convoluted piecemeal hack of several examples from both wxwidgets and plplot. Attached is a simplified version. There is one, and only on, plot function, and a very simple widgets GUI with no buttons or menus. The issue is present, i.e. no tick mark values and no labels. I did not add any external frames, rather than show a difference I opted to show one thing in this example. The only real difference is that I am using a wxPanel to make the plot in the splitter window. I am fairly new to both PLplot and wxWidgets so I may be using these functions incorrectly (it is not my intent to unnecessarily spin people up for help but I have tried and am clearly missing something). Viable hypotheses are (1) I'm instantiating the Panel incorrectly, (2) invoking the plot incorrectly, (3) that plots and panels don't work like plots and frames do (and I'm missing some data), (4) there is a size issue and the text I expect to see is outside the limits of the Panel. As I stated before, in a more complex code base this issue goes away if I "re-plot" the same plot in the same window via an external button push. Would it help if the plot function was "owned" by the myApp? David On 5/3/2018 4:45 PM, Alan W. Irwin wrote: > On 2018-05-03 13:56-0400 David Bergman wrote: > > P.S. I noticed just after (natch) I sent off my previous post that you > had included source code in your post, but it is hard for me to > evaluate whether you have simplified that example as much as possible. > > So here is what I would like you to do instead. Please give us the > simplest possible patch for examples/c++/wxPLplotDemo.cpp that > demonstrates the issue. Such a patch clearly demonstrates the minimal > changes required to show the issue. It also should allow our current > build and test system to build and test your (slight) modification of > examples/c++/wxPLplotDemo.cpp, and that would be a great convenience > for us when we are attempting to replicate the issue on our various > platforms. > > Alan > __________________________ > Alan W. Irwin > > 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 > Ephemerides project (timeephem.sf.net); PLplot scientific plotting > software package (plplot.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 > __________________________ > --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus |
From: Alan W. I. <ir...@be...> - 2018-05-03 20:45:14
|
On 2018-05-03 13:56-0400 David Bergman wrote: P.S. I noticed just after (natch) I sent off my previous post that you had included source code in your post, but it is hard for me to evaluate whether you have simplified that example as much as possible. So here is what I would like you to do instead. Please give us the simplest possible patch for examples/c++/wxPLplotDemo.cpp that demonstrates the issue. Such a patch clearly demonstrates the minimal changes required to show the issue. It also should allow our current build and test system to build and test your (slight) modification of examples/c++/wxPLplotDemo.cpp, and that would be a great convenience for us when we are attempting to replicate the issue on our various platforms. Alan __________________________ Alan W. Irwin 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 Ephemerides project (timeephem.sf.net); PLplot scientific plotting software package (plplot.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 __________________________ |
From: Alan W. I. <ir...@be...> - 2018-05-03 20:26:02
|
On 2018-05-03 13:56-0400 David Bergman wrote: > Dear all, > > I am using plplot 5.13.0 and wxwidgets 3.1.0 in a windows environment, VS > 2017. > I've attempted to merge the plplot wxwidgets example with more complex > wxwidgets examples to generate plots in various frames and panels in a larger > GUI format. > > The specific example that produced the figures in this email were made using > wxWidgets uiaction sample (UI action simulator) and the WxPLplotDemo code. > > In a nut shell I've made a splitter window in the main GUI and placed a copy > of one of the plots there via a call to Plot() in the mainframe definition. > The same plot is called for some menu action too. > > The issue I am seeing is that the plot in the main GUI does not have axis > labels or tick mark values but the separate plot, activated by the menu does. > > Also, if I refresh the plot in the gui via a separate menu action the missing > data returns. > > All calls are to the same function. I'm asking here first since it's the > plot generated by PLplot that is inconsistency but it may be a wxwidgets > issue. > > (it is clear that I was messing with other PLplot attributes too, like > subplot, color, etc. This was not the cause of the difference as it is > present regardless.) Modified code is attached (note that the "run > simulation" menu item will cause a crash.), it is a quick hack job but I'm > not seeing an obvious cause for the diff. > > This is the main frame GUI > > > This is the separate plot generated in a new frame. Hi David: I suggest you make a self-contained example that demonstrates the issue in the simplest way possible. Such simplified test examples are really worthwhile since they normally help you to find the bug in your own code or if there is no such bug make it much easier to debug external library code such as that from PLplot or wxwidgets. Also if it turns out the bug is not in your own code such a simplified example should be easy for PLplot developers to build with CMake and run on various platforms to see whether the issue shows up on all platforms. For example, I would be willing to help with such a test on the Linux platform. Good luck with implementing this suggested simplified example, and let us know how it goes. Alan __________________________ Alan W. Irwin 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 Ephemerides project (timeephem.sf.net); PLplot scientific plotting software package (plplot.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 __________________________ |
From: David B. <stu...@gm...> - 2018-05-03 17:56:29
|
Dear all, I am using plplot 5.13.0 and wxwidgets 3.1.0 in a windows environment, VS 2017. I've attempted to merge the plplot wxwidgets example with more complex wxwidgets examples to generate plots in various frames and panels in a larger GUI format. The specific example that produced the figures in this email were made using wxWidgets uiaction sample (UI action simulator) and the WxPLplotDemo code. In a nut shell I've made a splitter window in the main GUI and placed a copy of one of the plots there via a call to Plot() in the mainframe definition. The same plot is called for some menu action too. The issue I am seeing is that the plot in the main GUI does not have axis labels or tick mark values but the separate plot, activated by the menu does. Also, if I refresh the plot in the gui via a separate menu action the missing data returns. All calls are to the same function. I'm asking here first since it's the plot generated by PLplot that is inconsistency but it may be a wxwidgets issue. (it is clear that I was messing with other PLplot attributes too, like subplot, color, etc. This was not the cause of the difference as it is present regardless.) Modified code is attached (note that the "run simulation" menu item will cause a crash.), it is a quick hack job but I'm not seeing an obvious cause for the diff. This is the main frame GUI This is the separate plot generated in a new frame. --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus |
From: W. M. <wad...@gm...> - 2018-04-29 22:37:58
|
Hi, I have successfully done a "make" but "make install" fails with this error message on RedHat 6.9: -- Installing: /work/scratch/fchami/plplot-5.13.0/include/plplot/qsastime.h CMake Error at lib/qsastime/cmake_install.cmake:49 (file): file INSTALL cannot find "/work/scratch/fchami/plplot.build/lib/qsastime/qsastimedll.h". Call Stack (most recent call first): lib/cmake_install.cmake:44 (include) cmake_install.cmake:68 (include) Makefile:96: recipe for target 'install' failed make: *** [install] Error 1 Any help will be appreciated. Cheers, Wadud. -- web: http://miahw.wordpress.com mobile: +447905 755604 gpg: BDFB 2E29 B22F |
From: Alan W. I. <ir...@be...> - 2018-03-23 23:30:46
|
On 2018-03-23 15:29-0400 David Bergman wrote: > Thanks for the tip. If I do get that far I will post it. Do I need to be a > developer on this project? Or should I just email out to the group? Attaching a (compressed) patch to a post to this mailing list would be fine. And if/when that time comes I would encourage you to generate that patch with "git format-patch" since that makes it easier to give you git credit for your work. But if you don't want to use that git command a patch generated any other way would also be acceptable. And to answer your first question, if someone shows sustained interest in PLplot development by submitting good patches over a significant number of months, and they let us know they hope to continue to actively develop PLplot, then we generally invite that person to be a core PLplot developer which gives them several project-related capabilities (e.g., push capability for our git repository, the ability to add to our wiki, etc.). But even if you are not a core PLplot developer, you can help us a lot by sending in patches for single-issue improvements (such as discussed above) or by doing comprehensive testing of PLplot. That latter simply consists of running scripts/comprehensive_test.sh for the HEAD of the git master branch for PLplot for some (or ideally all) of the platforms you have access to. That script runs all our tests for all our major build-tree and install-tree configurations, and assembles the results into a report tarball. If you send that report tarball to us (as an attachment to a post to this list) it is easy for us to analyze it for any PLplot problems on the platforms where you are running the script and also give you credit for running that test in our wiki with an entry in the comprehensive testing report table in <https://sourceforge.net/p/plplot/wiki/Testing_PLplot/#Testing%20Reports>. To learn more about that script run scripts/comprehensive_test.sh --help Alan __________________________ Alan W. Irwin 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 Ephemerides project (timeephem.sf.net); PLplot scientific plotting software package (plplot.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 __________________________ |
From: David B. <stu...@gm...> - 2018-03-23 19:29:59
|
Thanks for the tip. If I do get that far I will post it. Do I need to be a developer on this project? Or should I just email out to the group? On 3/21/2018 10:26 PM, Alan W. Irwin wrote: > On 2018-03-21 18:47-0400 David Bergman wrote: > >> Alan, >> >> Thanks for the reply. MATLAB and SCILAB functions are overloaded to >> allow to this. For example the following figures were generated by >> such a call to surf(x,y,z), with x, y, and z each a n-by-n matrix. >> >> I believe this causes the function to trace curves of constant u and >> v, though I am not sure. I use it to make 3-dim cardioid patterns. >> >> I believe the following wound work (with some mods). >> >> u = linspace(min,max,n); >> >> [U,V] = meshgrid(u,u); >> >> define some functions. >> >> X(U,V), Y(U,V), Z(U,V) >> >> then >> >> surf(X,Y,Z). >> >> if u and v are theta and phi in spherical coordinates, then >> sin(Th).*cos(Ph), sin(Th).*sin(Ph), cos(Th) would generate the unit >> sphere. > > Hi David: > > Cool plots! > > And I just realized we could produce something like those with > <http://plplot.org/docbook-manual/plplot-html-5.13.0/plpoly3.html>. > For an example that uses calls to plpoly3 to plot a unit sphere, see > <http://plplot.org/examples.php?demo=18>. It should be > possible (but likely not trivial) to modify that example to plot > something more > interesting than the unit sphere, and with a convenient API, e.g., > > void > plmeshxyz(PLINT nx, PLINT ny, PLINT nz, PLFLT_MATRIX x, PLFLT_MATRIX > PLFLT_MATRIX z); > > where plmeshxyz calls plpoly3 appropriately inside. > > I haven't looked at the details of what would be required, but if you > do have success with this type of approach, we will likely ask you to > donate your work to PLplot under the LGPL so others can benefit. > > Alan > __________________________ > Alan W. Irwin > > 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 > Ephemerides project (timeephem.sf.net); PLplot scientific plotting > software package (plplot.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 > __________________________ > --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus |
From: Alan W. I. <ir...@be...> - 2018-03-22 02:26:24
|
On 2018-03-21 18:47-0400 David Bergman wrote: > Alan, > > Thanks for the reply. MATLAB and SCILAB functions are overloaded to allow to > this. For example the following figures were generated by such a call to > surf(x,y,z), with x, y, and z each a n-by-n matrix. > > I believe this causes the function to trace curves of constant u and v, > though I am not sure. I use it to make 3-dim cardioid patterns. > > I believe the following wound work (with some mods). > > u = linspace(min,max,n); > > [U,V] = meshgrid(u,u); > > define some functions. > > X(U,V), Y(U,V), Z(U,V) > > then > > surf(X,Y,Z). > > if u and v are theta and phi in spherical coordinates, then sin(Th).*cos(Ph), > sin(Th).*sin(Ph), cos(Th) would generate the unit sphere. Hi David: Cool plots! And I just realized we could produce something like those with <http://plplot.org/docbook-manual/plplot-html-5.13.0/plpoly3.html>. For an example that uses calls to plpoly3 to plot a unit sphere, see <http://plplot.org/examples.php?demo=18>. It should be possible (but likely not trivial) to modify that example to plot something more interesting than the unit sphere, and with a convenient API, e.g., void plmeshxyz(PLINT nx, PLINT ny, PLINT nz, PLFLT_MATRIX x, PLFLT_MATRIX PLFLT_MATRIX z); where plmeshxyz calls plpoly3 appropriately inside. I haven't looked at the details of what would be required, but if you do have success with this type of approach, we will likely ask you to donate your work to PLplot under the LGPL so others can benefit. Alan __________________________ Alan W. Irwin 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 Ephemerides project (timeephem.sf.net); PLplot scientific plotting software package (plplot.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 __________________________ |
From: David B. <stu...@gm...> - 2018-03-21 22:48:00
|
Alan, Thanks for the reply. MATLAB and SCILAB functions are overloaded to allow to this. For example the following figures were generated by such a call to surf(x,y,z), with x, y, and z each a n-by-n matrix. I believe this causes the function to trace curves of constant u and v, though I am not sure. I use it to make 3-dim cardioid patterns. I believe the following wound work (with some mods). u = linspace(min,max,n); [U,V] = meshgrid(u,u); define some functions. X(U,V), Y(U,V), Z(U,V) then surf(X,Y,Z). if u and v are theta and phi in spherical coordinates, then sin(Th).*cos(Ph), sin(Th).*sin(Ph), cos(Th) would generate the unit sphere. Thanks, David On 3/20/2018 10:09 PM, Alan W. Irwin wrote: > On 2018-03-20 17:05-0400 David Bergman wrote: > >> All, >> >> I am interested in making a surface plot in 3-dim of a parameterized >> surface in the following format, >> x(u,v), y(u,v), z(u,v) >> rather than the usual z = f(u,v). >> >> MATLAB, SCILAB, and Octave have this option and I was wondering if >> PLplot has it as well. >> I did look through the examples and documented interfaces and nothing >> seemed to match this. >> > > Hi David: > > Our plcont and plshades API's have this capability, see > <http://plplot.org/docbook-manual/plplot-html-5.13.0/plcont.html> and > <http://plplot.org/docbook-manual/plplot-html-5.13.0/plshades.html>, > but our other means of making 3D plots, e.g., plmesh (see > <http://plplot.org/docbook-manual/plplot-html-5.13.0/tri-d-plots.html> > for the full list of our 3D API's) have only one-dimensional x and y > arguments. > > By the way, can you give me an example of, say, a mesh plot of a > parameterized surface? I thought such plots required one-dimensional > x and y vectors since the results are typically a collection of 3D > lines, z(y)_i, at a fixed set of one-dimensional x_i values and > another set of 3D lines, z(x)_j, at a fixed one-dimension set of y_j > values. In fact, all the MATLAB examples I have just looked up of > mesh plots seem to be of this type. > > Alan > __________________________ > Alan W. Irwin > > 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 > Ephemerides project (timeephem.sf.net); PLplot scientific plotting > software package (plplot.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 > __________________________ > --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus |
From: Alan W. I. <ir...@be...> - 2018-03-21 02:09:12
|
On 2018-03-20 17:05-0400 David Bergman wrote: > All, > > I am interested in making a surface plot in 3-dim of a parameterized surface > in the following format, > x(u,v), y(u,v), z(u,v) > rather than the usual z = f(u,v). > > MATLAB, SCILAB, and Octave have this option and I was wondering if PLplot has > it as well. > I did look through the examples and documented interfaces and nothing seemed > to match this. > Hi David: Our plcont and plshades API's have this capability, see <http://plplot.org/docbook-manual/plplot-html-5.13.0/plcont.html> and <http://plplot.org/docbook-manual/plplot-html-5.13.0/plshades.html>, but our other means of making 3D plots, e.g., plmesh (see <http://plplot.org/docbook-manual/plplot-html-5.13.0/tri-d-plots.html> for the full list of our 3D API's) have only one-dimensional x and y arguments. By the way, can you give me an example of, say, a mesh plot of a parameterized surface? I thought such plots required one-dimensional x and y vectors since the results are typically a collection of 3D lines, z(y)_i, at a fixed set of one-dimensional x_i values and another set of 3D lines, z(x)_j, at a fixed one-dimension set of y_j values. In fact, all the MATLAB examples I have just looked up of mesh plots seem to be of this type. Alan __________________________ Alan W. Irwin 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 Ephemerides project (timeephem.sf.net); PLplot scientific plotting software package (plplot.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 __________________________ |
From: David B. <stu...@gm...> - 2018-03-20 21:06:10
|
All, I am interested in making a surface plot in 3-dim of a parameterized surface in the following format, x(u,v), y(u,v), z(u,v) rather than the usual z = f(u,v). MATLAB, SCILAB, and Octave have this option and I was wondering if PLplot has it as well. I did look through the examples and documented interfaces and nothing seemed to match this. Thank you in advance for your help. David --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus |
From: David B. <stu...@gm...> - 2018-02-19 20:05:28
|
Thanks, I have been able to get to the PLplot main site and class descriptions. On 2/19/2018 2:35 PM, Alan W. Irwin wrote: > On 2018-02-17 15:24-0500 David Bergman wrote: > >> Does anyone know the timeline for PLplot site to be back up? >> >> "Project web is currently offline pending the final migration of its >> data to our new datacenter." > > Hi David: > > During that migration, I also had some difficulty. For example, I > could not gain access to another SF software project git repository > for a day or two to push my changes. But I am pretty sure that > migration of SF to a new hardware centre is fully completed now. For > example, I haven't tried yet to git push new PLplot code, but I did > that successfully with another SF project so I assume git pushes now > also work again for PLplot. Also, our SF website (accessed via > plplot.org), and our project page at sf.net/projects/plplot all seem > to be working now. > > Let me know if you discover any PLplot services (all of which are > provided by SF) that are still not working properly. > > Alan > __________________________ > Alan W. Irwin > > 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 > Ephemerides project (timeephem.sf.net); PLplot scientific plotting > software package (plplot.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 > __________________________ > --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus |
From: Alan W. I. <ir...@be...> - 2018-02-19 20:01:47
|
On 2018-02-17 15:24-0500 David Bergman wrote: > Does anyone know the timeline for PLplot site to be back up? > > "Project web is currently offline pending the final migration of its data to > our new datacenter." Hi David: During that migration, I also had some difficulty. For example, I could not gain access to another SF software project git repository for a day or two to push my changes. But I am pretty sure that migration of SF to a new hardware centre is fully completed now. For example, I haven't tried yet to git push new PLplot code, but I did that successfully with another SF project so I assume git pushes now also work again for PLplot. Also, our SF website (accessed via plplot.org), and our project page at sf.net/projects/plplot all seem to be working now. Let me know if you discover any PLplot services (all of which are provided by SF) that are still not working properly. Alan __________________________ Alan W. Irwin 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 Ephemerides project (timeephem.sf.net); PLplot scientific plotting software package (plplot.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 __________________________ |
From: David B. <stu...@gm...> - 2018-02-17 20:24:32
|
Does anyone know the timeline for PLplot site to be back up? "Project web is currently offline pending the final migration of its data to our new datacenter." Thanks. --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus |
From: Phil R. <p.d...@gm...> - 2018-02-05 14:29:32
|
Hi David I have a feeling you are looking in <build-directory>/include. You need to install using the command nmake install, the libraries and required headers will then be copied to the install directory. If you didn't specify an install directory in your cmake command then the default is I think something like <program-files>/plplot. Because this default directory requires admin privileges to be written to you may need to do nmake install from an elevated command prompt https://www.lifewire.com/how-to-open-an-elevated-command-prompt-2618088 Fingers crossed this is the last obstacle :-) Phil On 4 February 2018 at 23:29, David Bergman <dav...@ya...> wrote: > Phil, > > There was cygwin in the path. I removed it and rebuilt. It seems to have > gone without any problems generating all the dll. However, I cannot fin > any of the expected header files. > > The include dir only has > plConfig.h > plDevs.h > pldll.h > plhershwy-unicode.h > > David > > > On Sunday, February 4, 2018, 1:48:51 PM EST, Phil Rosenberg < > p.d...@gm...> wrote: > > > Hmm, not sure. > > Are you rebuilding the whole library? Did you clean out the old build > directory? How did you download? Are any cygwin binary directories on your > path? > > Phil > > On Feb 4, 2018 11:32, "David Bergman" <dav...@ya...> wrote: > > I am building on windows, DOS cmd build instructions as per > > https://sourceforge.net/p/ plplot/wiki/Configure_PLplot_ > for_Visual_CXX_CLI/ > <https://sourceforge.net/p/plplot/wiki/Configure_PLplot_for_Visual_CXX_CLI/> > > as before. cmake, nmake, nmake install. > > I downloaded from the link you sent, not sure what happened. > > > > > > > On Sunday, February 4, 2018, 4:45:29 AM EST, Phil Rosenberg < > p.d...@gm...> wrote: > > > Hi David > Can I as what toolset you are using to build with? > Libltdl appears to be gnu related, but I thought you were building with > the standard windows toolset. > > Phil > > Get Outlook for Android <https://aka.ms/ghei36> > > > > From: David Bergman > Sent: Sunday, February 4, 03:41 > Subject: Re: [Plplot-general] More questions about install > To: Phil Rosenberg > > > Scratch this last email, I discovered a typo in my cmake command. > However, after getting past this I am now getting the following, > > Could not open driver module wxwidgets > libltdl error: No error information > NMAKE : fatal error U1077: '..\dll\test-drv-info.exe' : return code '0x1' > Stop. > NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual > Studio\2017 > \Community\VC\Tools\MSVC\14. 11.25503\bin\HostX86\x86\ nmake.exe"' : > return code ' > 0x2' > Stop. > NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual > Studio\2017 > \Community\VC\Tools\MSVC\14. 11.25503\bin\HostX86\x86\ nmake.exe"' : > return code ' > 0x2' > Stop. > > > > On Saturday, February 3, 2018, 8:59:14 PM EST, David Bergman < > dav...@ya...> wrote: > > > Phil, > > I have the latest but I'm getting new build errors. > The IDE install failed for most projects and eventually hung. This > occurred before but restarting usually fixes. > The DOS install failed on the nmake command, > > NMAKE : fatal error U1073: don't know how to make 'C:\\all' > Stop. > NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual > Studio\2017 > \Community\VC\Tools\MSVC\14. 11.25503\bin\HostX86\x86\ nmake.exe"' : > return code ' > 0x2' > Stop. > > There were no errors in the cmake command and I'm doing this the same as > before (after help from Arjen to turn off cairo devices). > > Could I manually add the code snippet to the header or do the libs need to > be rebuilt with the change? > > Thanks, > David > > > > > On Saturday, February 3, 2018, 4:12:57 PM EST, Phil Rosenberg < > p.d...@gm...> wrote: > > > Hi David > I just had another look at the code comparing to the release you are using > and you were absolutely right, there is a bug there. I have just fixed that > and pushed the resulting code up to our git repo. You can pull the latest > code from there at https://sourceforge.net/p/ > <https://sourceforge.net/p/plplot/plplot/ci/master/tree/>plpl ot > <https://sourceforge.net/p/plplot/plplot/ci/master/tree/>/ > <https://sourceforge.net/p/plplot/plplot/ci/master/tree/>plplot > <https://sourceforge.net/p/plplot/plplot/ci/master/tree/>/ > <https://sourceforge.net/p/plplot/plplot/ci/master/tree/>ci > <https://sourceforge.net/p/plplot/plplot/ci/master/tree/>/master/tree/ > <https://sourceforge.net/p/plplot/plplot/ci/master/tree/> in your > browser, or using git using the command > > git clone git://git.code.sf.net/p/ plplot/plplot > <http://git.code.sf.net/p/plplot/plplot> > > Let us know if you are having any difficulties grabbing it. > > Phil > *From:* David Bergman <dav...@ya...> > *Sent:* Saturday, February 3, 2018 6:49:13 PM > *To:* Phil Rosenberg > *Subject:* Re: [Plplot-general] More questions about install > > Phil, > Would the bug be in the header or the the call in the test code *.cpp? > If it's the header then I'd like the new version. But if it's the driver > then would the documentation on wxWidgets classes be informative? > I notice typical declarations have wxTemplate<Type> * x = something(NULL), > to initialize the variable. > No such input appears in the driver. > Thanks, > David > > > On Saturday, February 3, 2018, 11:20:08 AM EST, Phil Rosenberg < > p.d...@gm...> wrote: > > > Hi David > Can I just confirm which version of PLplot you are using or if it is a > version grabbed from the git repo? > > I ask because the line numbers don't seem to match up with the version I > have. But looking at my code I have a feeling that bug has been fixed. > > Phil > > > On Feb 3, 2018 15:56, "David Bergman" <davidrbergman > <dav...@ya...>@yahoo.com <dav...@ya...>> wrote: > > I tried running the wxPLplotDemo example and got the following compilation > error: > > error C4703: potentially uninitialized local pointer variable 'drawDc' > used on line 378 of wxplplotwindow.h > > Looking through the code it appears that every declaration of drawDC is as > follows > > wxDC *drawDc = m_memoryDc; > > except the last function > > void wxPLplotwindow<WXWINDOW>:: setUseGraphicsContext( bool > useGraphicsContext ) > { > wxDC *drawDc; > ... > } > > I am not familiar with the details of the code but it appears that the > variable is set to something before it is used. This is not modified code. > > Please advise. > Thanks, > David > > > > > > > > > On Saturday, February 3, 2018, 4:01:05 AM EST, Phil Rosenberg < > p.d...@gm...> wrote: > > > Hi David > Yes, that's exactly what you need to do. <Type> can be pretty much any > wxWidget window class, although I suggest using wxPanel. Using wxFrame > works on Windows, but is apparently not good practice and some things don't > work properly if you render directly to a wxFrame on Linux. > > In terms of a demo, check out wxPLplotDemo.cpp in the PLplot source code. > It is in examples/c++ > > Phil > > *From:* David Bergman <davidrbergman <dav...@ya...>@yahoo.com > <dav...@ya...>> > *Sent:* Saturday, February 3, 2018 1:59:39 AM > *To:* plplot <plp...@li...>- > <plp...@li...>devel > <plp...@li...>@lists. sourceforge.net > <plp...@li...>; Phil Rosenberg > *Subject:* Re: [Plplot-general] More questions about install > > Phil, > > I am at the point where I have been able to successfully build new > projects for wxWidgets and PLplot independently from scratch, > compile-link-run. > I copied some code from a wxPLplotDemo into a new GUI I've developed. > > The following declaration gives an error, > > wxPLplotwindow* plotwindow; > > "argument list missing" > > Should the format be > > wxPLplotwindow<type> etc > > or is there still an issue with the wx drivers? I have header, lib, and > dll for wxwidgets functions, and enable_wxwidgets = ON was present in the > cmake output. > > Thanks in advance for our help. > David > > > On Friday, February 2, 2018, 12:14:04 PM EST, Phil Rosenberg < > p.d...@gm...> wrote: > > > Hi David > Integrating wxWidgets into PLplot should be as simple as defining the > WXWIN system variable before running cmake. Cmake should see that and > automagically find wxWidgets and build that backend for the library along > with the example. > > Where things may get complicated is matching the library settings for > Unicode, static vs dynamic runtimes and debug vs release builds. I'm not > sure if these only need matching for static libraries or if dlls need these > matching too. > > If you have any trouble just drop us an email. > > Phil > > On Feb 2, 2018 14:37, "David Bergman" <davidrbergman > <dav...@ya...>@yahoo.com <dav...@ya...>> wrote: > > Phil, > > Thanks for reaching out. > At this point the VS IDE build and install has never worked right, without > massive errors. The latest trial produced the release version without > error but not the debug. > > Following the instructions for a command line build, with help from Arjen, > in windows (not Cygwin) produced a directory without errors. The IDE build > and the command prompt build are significantly different in the content (in > my opinion). > > I've been able to build a VS project from scratch using PLplot headers and > dll and it worked. So, I'm counting that as a success. I have not yet had > a chance to do more complex plots, fully test the functions, or integrate > with widgets which is my intent. I may need more help in the future. > > I will say that there was one dll that the VS compiler/linker said was > corrupted but I don't recall which one. > Just to get past it and get something working I deleted this from the > project. It may come back to bite me later. > > David > > > > On Friday, February 2, 2018, 9:23:06 AM EST, Phil Rosenberg < > p.d...@gm...> wrote: > > > Hi David > I would have gotten involved in this thread earlier if I had realised it > had moved to Visual Studio an wxWidgets and away from Cygwin. Sorry for > just reading the title and not the text. > > I always use the visual studio IDE, I don't know if that is the route you > ended up going down. Have you found the instructions at https://sourceforge.net/p/ > > <https://sourceforge.net/p/plplot/wiki/Configure_PLplot_for_the_Visual_Studio_IDE/> > plplot > <https://sourceforge.net/p/plplot/wiki/Configure_PLplot_for_the_Visual_Studio_IDE/>/wiki/Configure_PLplot_ > for_the_Visual_Studio_IDE/ > <https://sourceforge.net/p/plplot/wiki/Configure_PLplot_for_the_Visual_Studio_IDE/>? > They are a little out of date, but I don't think much has changed. > > Phil > > On 26 January 2018 at 14:57, David Bergman via Plplot-general <plplot > <plp...@li...>-general@lists. sourceforge.net > <plp...@li...>> wrote: > > That worked. Are there any good tutorials for using this with wxWidgets > and VC++? > I think I need to set up the wxWidgets driver. > You may hear from me again... > David > > > On Friday, January 26, 2018, 9:38:32 AM EST, Arjen Markus < > Arj...@de...> wrote: > > > Hi David, > > That is easier – did you install the stuff via “nmake install” or are you > working from the build directory? > > That is what I usually do and then I have to expand the PATH environment > variable: > > set PATH=d:\plplot-build-dir\dll;% PATH% > cd examples\cxx > x01.exe > > Fill in the right directory for “plplot-build-dir” above. > > Regards, > > Arjen > > *From:* David Bergman [mailto:davidrbergman@yahoo. com > <dav...@ya...>] > *Sent:* Friday, January 26, 2018 3:34 PM > *To:* Arjen Markus > *Cc:* Plplot <Plp...@li...>-general@lists. > sourceforge.net <Plp...@li...> (plplot > <plp...@li...>-general@lists. sourceforge.net > <plp...@li...>) > *Subject:* Re: RE: RE: [Plplot-general] More questions about install > > Arjen, > Thanks, that worked to get past this hurdle. nmake and nmake install > worked. > Frankly, I'm not sure what state plplot is in but I tried running an > example exe and got an error message that plplotcxx.dll is not installed on > my computer. > However, this *.dll does exists in the dll folder. > How does that work? > David > > > On Friday, January 26, 2018, 8:15:24 AM EST, Arjen Markus < > Arj...@de...> wrote: > > > Hi David, > > I was a bit hasty, I think – the cairo device driver actually consists of > a whole slew of them and you would have to set all of them to off to avoid > the cairo device (things like PLD_wincairo and PLD_epscairo). If I read the > CMake files correctly, then you should be able to turn off that family of > devices by -DDEFAULT_NO_CAIRO_DEVICES=ON. (I hope I am right this time) > > Regards, > > Arjen > > > *From:* David Bergman [mailto:davidrbergman@yahoo. com > <dav...@ya...>] > *Sent:* Thursday, January 25, 2018 2:12 PM > *To:* Arjen Markus > *Cc:* Plplot <Plp...@li...>-general@lists. > sourceforge.net <Plp...@li...> (plplot > <plp...@li...>-general@lists. sourceforge.net > <plp...@li...>) > *Subject:* Re: RE: [Plplot-general] More questions about install > > Arjen, > Thanks. I tried again with your suggestion but the following warning. > > CMake Warning: > Manually-specified variables were not used by the project: > > PLD_cairo > > I tried variant, e.g. all cap, etc, just in case there was a typo. No > luck. > > Any other suggestions would be appreciated. > On another note, not sure is you saw my other email status. Installing > from the IDE seemed to work for the Release build but not the Debug, > several projects failed to build. I cannot decipher why one would build > and the other not. Additionally the *.exe for the examples did not get > created as in previous installs. It seems that each try produces a > different state. > > Thank you in advance. > David > > > > On Thursday, January 25, 2018, 2:44:51 AM EST, Arjen Markus < > Arj...@de...> wrote: > > > Hi David, > > Wrt your message (it got caught in my spam filter for reasons best known > to itself): > > “Arjen, > > I just installed CMake 3.9.4 and tried the build from a DOS command prompt > (not using VS INSTALL). Same issues, partial output is attached. > It crashes at ciaro [26%]. Do I need ciaro to use plplot? > > David” > > Apparently the build system is finding libraries that are connected to the > cairo device. Unfortunately, they are not truly compatible. The best way to > take care of that is to use the option –DPLD_cairo=OFF, forcing the build > system to ignore that device. This kind of things sometimes happens. > > Regards, > > Arjen > > > > *Arjen** Markus* > Sr. Adviseur/Onderzoeker > T > +31(0)88 335 8559 > E > Arj...@de... > > > * www.deltares.com* <http://www.deltares.com/> > Postbus <http://www.deltares.com/> > 177 <http://www.deltares.com/> > 2600 MH Delft <http://www.deltares.com/> > > > Please consider the environment before printing this email > <http://www.deltares.com/> > DISCLAIMER: This message is intended exclusively for the addressee(s) and > may contain confidential and privileged information. If you are not the > intended recipient please notify the sender immediately and destroy this > message. Unauthorized use, disclosure or copying of this message is > strictly prohibited. The foundation ' <http://www.deltares.com/>Stichting > <http://www.deltares.com/> <http://www.deltares.com/>Deltares > <http://www.deltares.com/>', which has its seat at Delft, The > Netherlands, Commercial Registration Number 41146461, is not liable in any > way whatsoever for consequences and/or damages resulting from the improper, > incomplete and untimely dispatch, receipt and/or content of this e-mail. > <http://www.deltares.com/> > DISCLAIMER: This message is intended exclusively for the addressee(s) and > may contain confidential and privileged information. If you are not the > intended recipient please notify the sender immediately and destroy this > message. Unauthorized use, disclosure or copying of this message is > strictly prohibited. The foundation 'Stichting Deltares', which has its > seat at Delft, The Netherlands, Commercial Registration Number 41146461, is > not liable in any way whatsoever for consequences and/or damages resulting > from the improper, incomplete and untimely dispatch, receipt and/or content > of this e-mail. > DISCLAIMER: This message is intended exclusively for the addressee(s) and > may contain confidential and privileged information. If you are not the > intended recipient please notify the sender immediately and destroy this > message. Unauthorized use, disclosure or copying of this message is > strictly prohibited. The foundation 'Stichting Deltares', which has its > seat at Delft, The Netherlands, Commercial Registration Number 41146461, is > not liable in any way whatsoever for consequences and/or damages resulting > from the improper, incomplete and untimely dispatch, receipt and/or content > of this e-mail. > > ------------------------------ ------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > ______________________________ _________________ > Plplot-general mailing list > Plplot <Plp...@li...>-general@lists. > sourceforge.net <Plp...@li...> > https://lists.sourceforge.net/ lists/ > <https://lists.sourceforge.net/lists/listinfo/plplot-general>listinfo > <https://lists.sourceforge.net/lists/listinfo/plplot-general>/ > <https://lists.sourceforge.net/lists/listinfo/plplot-general>plplot > <https://lists.sourceforge.net/lists/listinfo/plplot-general>-general > <https://lists.sourceforge.net/lists/listinfo/plplot-general> > > > > > > > > |
From: David B. <dav...@ya...> - 2018-02-02 14:37:32
|
Phil, Thanks for reaching out.At this point the VS IDE build and install has never worked right, without massive errors. The latest trial produced the release version without error but not the debug. Following the instructions for a command line build, with help from Arjen, in windows (not Cygwin) produced a directory without errors. The IDE build and the command prompt build are significantly different in the content (in my opinion). I've been able to build a VS project from scratch using PLplot headers and dll and it worked. So, I'm counting that as a success. I have not yet had a chance to do more complex plots, fully test the functions, or integrate with widgets which is my intent. I may need more help in the future. I will say that there was one dll that the VS compiler/linker said was corrupted but I don't recall which one.Just to get past it and get something working I deleted this from the project. It may come back to bite me later. David On Friday, February 2, 2018, 9:23:06 AM EST, Phil Rosenberg <p.d...@gm...> wrote: Hi DavidI would have gotten involved in this thread earlier if I had realised it had moved to Visual Studio an wxWidgets and away from Cygwin. Sorry for just reading the title and not the text. I always use the visual studio IDE, I don't know if that is the route you ended up going down. Have you found the instructions at https://sourceforge.net/p/plplot/wiki/Configure_PLplot_for_the_Visual_Studio_IDE/? They are a little out of date, but I don't think much has changed. Phil On 26 January 2018 at 14:57, David Bergman via Plplot-general <plp...@li...> wrote: That worked. Are there any good tutorials for using this with wxWidgets and VC++?I think I need to set up the wxWidgets driver.You may hear from me again...David On Friday, January 26, 2018, 9:38:32 AM EST, Arjen Markus <Arj...@de...> wrote: Hi David, That is easier – did you install the stuff via “nmake install” or are you working from the build directory? That is what I usually do and then I have to expand the PATH environment variable: set PATH=d:\plplot-build-dir\dll;% PATH% cd examples\cxx x01.exe Fill in the right directory for “plplot-build-dir” above. Regards, Arjen From: David Bergman [mailto:davidrbergman@yahoo. com] Sent: Friday, January 26, 2018 3:34 PM To: Arjen Markus Cc: Plplot-general@lists. sourceforge.net (plplot-general@lists. sourceforge.net) Subject: Re: RE: RE: [Plplot-general] More questions about install Arjen, Thanks, that worked to get past this hurdle. nmake and nmake install worked. Frankly, I'm not sure what state plplot is in but I tried running an example exe and got an error message that plplotcxx.dll is not installed on my computer. However, this *.dll does exists in the dll folder. How does that work? David On Friday, January 26, 2018, 8:15:24 AM EST, Arjen Markus <Arj...@de...> wrote: Hi David, I was a bit hasty, I think – the cairo device driver actually consists of a whole slew of them and you would have to set all of them to off to avoid the cairo device (things like PLD_wincairo and PLD_epscairo). If I read the CMake files correctly, then you should be able to turn off that family of devices by -DDEFAULT_NO_CAIRO_DEVICES=ON. (I hope I am right this time) Regards, Arjen From: David Bergman [mailto:davidrbergman@yahoo. com] Sent: Thursday, January 25, 2018 2:12 PM To: Arjen Markus Cc: Plplot-general@lists. sourceforge.net (plplot-general@lists. sourceforge.net) Subject: Re: RE: [Plplot-general] More questions about install Arjen, Thanks. I tried again with your suggestion but the following warning. CMake Warning: Manually-specified variables were not used by the project: PLD_cairo I tried variant, e.g. all cap, etc, just in case there was a typo. No luck. Any other suggestions would be appreciated. On another note, not sure is you saw my other email status. Installing from the IDE seemed to work for the Release build but not the Debug, several projects failed to build. I cannot decipher why one would build and the other not. Additionally the *.exe for the examples did not get created as in previous installs. It seems that each try produces a different state. Thank you in advance. David On Thursday, January 25, 2018, 2:44:51 AM EST, Arjen Markus <Arj...@de...> wrote: Hi David, Wrt your message (it got caught in my spam filter for reasons best known to itself): “Arjen, I just installed CMake 3.9.4 and tried the build from a DOS command prompt (not using VS INSTALL). Same issues, partial output is attached. It crashes at ciaro [26%]. Do I need ciaro to use plplot? David” Apparently the build system is finding libraries that are connected to the cairo device. Unfortunately, they are not truly compatible. The best way to take care of that is to use the option –DPLD_cairo=OFF, forcing the build system to ignore that device. This kind of things sometimes happens. Regards, Arjen Arjen Markus Sr. Adviseur/Onderzoeker | T | +31(0)88 335 8559 | | E | Arj...@de... | | | | | | www.deltares.com | | Postbus 177 2600 MH Delft | | | | | | | | | Please consider the environment before printing this email DISCLAIMER: This message is intended exclusively for the addressee(s) and may contain confidential and privileged information. If you are not the intended recipient please notify the sender immediately and destroy this message. Unauthorized use, disclosure or copying of this message is strictly prohibited. The foundation 'Stichting Deltares', which has its seat at Delft, The Netherlands, Commercial Registration Number 41146461, is not liable in any way whatsoever for consequences and/or damages resulting from the improper, incomplete and untimely dispatch, receipt and/or content of this e-mail. DISCLAIMER: This message is intended exclusively for the addressee(s) and may contain confidential and privileged information. If you are not the intended recipient please notify the sender immediately and destroy this message. Unauthorized use, disclosure or copying of this message is strictly prohibited. The foundation 'Stichting Deltares', which has its seat at Delft, The Netherlands, Commercial Registration Number 41146461, is not liable in any way whatsoever for consequences and/or damages resulting from the improper, incomplete and untimely dispatch, receipt and/or content of this e-mail. DISCLAIMER: This message is intended exclusively for the addressee(s) and may contain confidential and privileged information. If you are not the intended recipient please notify the sender immediately and destroy this message. Unauthorized use, disclosure or copying of this message is strictly prohibited. The foundation 'Stichting Deltares', which has its seat at Delft, The Netherlands, Commercial Registration Number 41146461, is not liable in any way whatsoever for consequences and/or damages resulting from the improper, incomplete and untimely dispatch, receipt and/or content of this e-mail. ------------------------------ ------------------------------ ------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ______________________________ _________________ Plplot-general mailing list Plplot-general@lists. sourceforge.net https://lists.sourceforge.net/ lists/listinfo/plplot-general |
From: Phil R. <p.d...@gm...> - 2018-02-02 14:23:13
|
Hi David I would have gotten involved in this thread earlier if I had realised it had moved to Visual Studio an wxWidgets and away from Cygwin. Sorry for just reading the title and not the text. I always use the visual studio IDE, I don't know if that is the route you ended up going down. Have you found the instructions at https://sourceforge.net/p/plplot/wiki/Configure_PLplot_for_the_Visual_Studio_IDE/? They are a little out of date, but I don't think much has changed. Phil On 26 January 2018 at 14:57, David Bergman via Plplot-general < plp...@li...> wrote: > That worked. Are there any good tutorials for using this with wxWidgets > and VC++? > I think I need to set up the wxWidgets driver. > You may hear from me again... > David > > > On Friday, January 26, 2018, 9:38:32 AM EST, Arjen Markus < > Arj...@de...> wrote: > > > Hi David, > > > > That is easier – did you install the stuff via “nmake install” or are you > working from the build directory? > > > > That is what I usually do and then I have to expand the PATH environment > variable: > > > > set PATH=d:\plplot-build-dir\dll;%PATH% > > cd examples\cxx > > x01.exe > > > > Fill in the right directory for “plplot-build-dir” above. > > > > Regards, > > > > Arjen > > > > *From:* David Bergman [mailto:dav...@ya...] > *Sent:* Friday, January 26, 2018 3:34 PM > *To:* Arjen Markus > *Cc:* Plp...@li... (plplot-general@lists. > sourceforge.net) > *Subject:* Re: RE: RE: [Plplot-general] More questions about install > > > > Arjen, > > Thanks, that worked to get past this hurdle. nmake and nmake install > worked. > > Frankly, I'm not sure what state plplot is in but I tried running an > example exe and got an error message that plplotcxx.dll is not installed on > my computer. > > However, this *.dll does exists in the dll folder. > > How does that work? > > David > > > > > > On Friday, January 26, 2018, 8:15:24 AM EST, Arjen Markus < > Arj...@de...> wrote: > > > > > > Hi David, > > > > I was a bit hasty, I think – the cairo device driver actually consists of > a whole slew of them and you would have to set all of them to off to avoid > the cairo device (things like PLD_wincairo and PLD_epscairo). If I read the > CMake files correctly, then you should be able to turn off that family of > devices by -DDEFAULT_NO_CAIRO_DEVICES=ON. (I hope I am right this time) > > > > Regards, > > > > Arjen > > > > > > *From:* David Bergman [mailto:dav...@ya... > <dav...@ya...>] > *Sent:* Thursday, January 25, 2018 2:12 PM > *To:* Arjen Markus > *Cc:* Plp...@li... (plplot-general@lists. > sourceforge.net) > *Subject:* Re: RE: [Plplot-general] More questions about install > > > > Arjen, > > Thanks. I tried again with your suggestion but the following warning. > > > > CMake Warning: > Manually-specified variables were not used by the project: > > > > PLD_cairo > > > > I tried variant, e.g. all cap, etc, just in case there was a typo. No > luck. > > > > Any other suggestions would be appreciated. > > On another note, not sure is you saw my other email status. Installing > from the IDE seemed to work for the Release build but not the Debug, > several projects failed to build. I cannot decipher why one would build > and the other not. Additionally the *.exe for the examples did not get > created as in previous installs. It seems that each try produces a > different state. > > > > Thank you in advance. > > David > > > > > > > > On Thursday, January 25, 2018, 2:44:51 AM EST, Arjen Markus < > Arj...@de...> wrote: > > > > > > Hi David, > > > > Wrt your message (it got caught in my spam filter for reasons best known > to itself): > > > > “Arjen, > > > > I just installed CMake 3.9.4 and tried the build from a DOS command prompt > (not using VS INSTALL). Same issues, partial output is attached. > > It crashes at ciaro [26%]. Do I need ciaro to use plplot? > > > > David” > > > > Apparently the build system is finding libraries that are connected to the > cairo device. Unfortunately, they are not truly compatible. The best way to > take care of that is to use the option –DPLD_cairo=OFF, forcing the build > system to ignore that device. This kind of things sometimes happens. > > > > Regards, > > > > Arjen > > > > > > > *Arjen Markus* > Sr. Adviseur/Onderzoeker > > T > > +31(0)88 335 8559 <+31%2088%20335%208559> > > E > > Arj...@de... > > > > > > * www.deltares.com* <http://www.deltares.com/> > > Postbus 177 > 2600 MH Delft <http://www.deltares.com/> > > > <http://www.deltares.com/> > > > Please consider the environment before printing this email > <http://www.deltares.com/> > > DISCLAIMER: This message is intended exclusively for the addressee(s) and > may contain confidential and privileged information. If you are not the > intended recipient please notify the sender immediately and destroy this > message. Unauthorized use, disclosure or copying of this message is > strictly prohibited. The foundation 'Stichting Deltares', which has its > seat at Delft, The Netherlands, Commercial Registration Number 41146461, is > not liable in any way whatsoever for consequences and/or damages resulting > from the improper, incomplete and untimely dispatch, receipt and/or content > of this e-mail. <http://www.deltares.com/> > > DISCLAIMER: This message is intended exclusively for the addressee(s) and > may contain confidential and privileged information. If you are not the > intended recipient please notify the sender immediately and destroy this > message. Unauthorized use, disclosure or copying of this message is > strictly prohibited. The foundation 'Stichting Deltares', which has its > seat at Delft, The Netherlands, Commercial Registration Number 41146461, is > not liable in any way whatsoever for consequences and/or damages resulting > from the improper, incomplete and untimely dispatch, receipt and/or content > of this e-mail. > DISCLAIMER: This message is intended exclusively for the addressee(s) and > may contain confidential and privileged information. If you are not the > intended recipient please notify the sender immediately and destroy this > message. Unauthorized use, disclosure or copying of this message is > strictly prohibited. The foundation 'Stichting Deltares', which has its > seat at Delft, The Netherlands, Commercial Registration Number 41146461, is > not liable in any way whatsoever for consequences and/or damages resulting > from the improper, incomplete and untimely dispatch, receipt and/or content > of this e-mail. > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Plplot-general mailing list > Plp...@li... > https://lists.sourceforge.net/lists/listinfo/plplot-general > > |
From: David B. <dav...@ya...> - 2018-01-26 14:57:35
|
That worked. Are there any good tutorials for using this with wxWidgets and VC++?I think I need to set up the wxWidgets driver.You may hear from me again...David On Friday, January 26, 2018, 9:38:32 AM EST, Arjen Markus <Arj...@de...> wrote: Hi David, That is easier – did you install the stuff via “nmake install” or are you working from the build directory? That is what I usually do and then I have to expand the PATH environment variable: set PATH=d:\plplot-build-dir\dll;%PATH% cd examples\cxx x01.exe Fill in the right directory for “plplot-build-dir” above. Regards, Arjen From: David Bergman [mailto:dav...@ya...] Sent: Friday, January 26, 2018 3:34 PM To: Arjen Markus Cc: Plp...@li... (plp...@li...) Subject: Re: RE: RE: [Plplot-general] More questions about install Arjen, Thanks, that worked to get past this hurdle. nmake and nmake install worked. Frankly, I'm not sure what state plplot is in but I tried running an example exe and got an error message that plplotcxx.dll is not installed on my computer. However, this *.dll does exists in the dll folder. How does that work? David On Friday, January 26, 2018, 8:15:24 AM EST, Arjen Markus <Arj...@de...> wrote: Hi David, I was a bit hasty, I think – the cairo device driver actually consists of a whole slew of them and you would have to set all of them to off to avoid the cairo device (things like PLD_wincairo and PLD_epscairo). If I read the CMake files correctly, then you should be able to turn off that family of devices by -DDEFAULT_NO_CAIRO_DEVICES=ON. (I hope I am right this time) Regards, Arjen From: David Bergman [mailto:dav...@ya...] Sent: Thursday, January 25, 2018 2:12 PM To: Arjen Markus Cc: Plp...@li... (plp...@li...) Subject: Re: RE: [Plplot-general] More questions about install Arjen, Thanks. I tried again with your suggestion but the following warning. CMake Warning: Manually-specified variables were not used by the project: PLD_cairo I tried variant, e.g. all cap, etc, just in case there was a typo. No luck. Any other suggestions would be appreciated. On another note, not sure is you saw my other email status. Installing from the IDE seemed to work for the Release build but not the Debug, several projects failed to build. I cannot decipher why one would build and the other not. Additionally the *.exe for the examples did not get created as in previous installs. It seems that each try produces a different state. Thank you in advance. David On Thursday, January 25, 2018, 2:44:51 AM EST, Arjen Markus <Arj...@de...> wrote: Hi David, Wrt your message (it got caught in my spam filter for reasons best known to itself): “Arjen, I just installed CMake 3.9.4 and tried the build from a DOS command prompt (not using VS INSTALL). Same issues, partial output is attached. It crashes at ciaro [26%]. Do I need ciaro to use plplot? David” Apparently the build system is finding libraries that are connected to the cairo device. Unfortunately, they are not truly compatible. The best way to take care of that is to use the option –DPLD_cairo=OFF, forcing the build system to ignore that device. This kind of things sometimes happens. Regards, Arjen Arjen Markus Sr. Adviseur/Onderzoeker | T | +31(0)88 335 8559 | | E | Arj...@de... | | | | | | www.deltares.com | | Postbus 177 2600 MH Delft | | | | | | | | | Please consider the environment before printing this email DISCLAIMER: This message is intended exclusively for the addressee(s) and may contain confidential and privileged information. If you are not the intended recipient please notify the sender immediately and destroy this message. Unauthorized use, disclosure or copying of this message is strictly prohibited. The foundation 'Stichting Deltares', which has its seat at Delft, The Netherlands, Commercial Registration Number 41146461, is not liable in any way whatsoever for consequences and/or damages resulting from the improper, incomplete and untimely dispatch, receipt and/or content of this e-mail. DISCLAIMER: This message is intended exclusively for the addressee(s) and may contain confidential and privileged information. If you are not the intended recipient please notify the sender immediately and destroy this message. Unauthorized use, disclosure or copying of this message is strictly prohibited. The foundation 'Stichting Deltares', which has its seat at Delft, The Netherlands, Commercial Registration Number 41146461, is not liable in any way whatsoever for consequences and/or damages resulting from the improper, incomplete and untimely dispatch, receipt and/or content of this e-mail. DISCLAIMER: This message is intended exclusively for the addressee(s) and may contain confidential and privileged information. If you are not the intended recipient please notify the sender immediately and destroy this message. Unauthorized use, disclosure or copying of this message is strictly prohibited. The foundation 'Stichting Deltares', which has its seat at Delft, The Netherlands, Commercial Registration Number 41146461, is not liable in any way whatsoever for consequences and/or damages resulting from the improper, incomplete and untimely dispatch, receipt and/or content of this e-mail. |
From: David B. <dav...@ya...> - 2018-01-26 14:54:03
|
I believe I did set PATH, as that was one of the steps on the site. I'll try again. I installed via "nmake install".On another note does this method of building produce all the same results as building and installing from the IDE?I have virtually no header files, or code, just dll, lib, etc.Not sure what to expect as each method produces different file structure. Thanks,David On Friday, January 26, 2018, 9:38:32 AM EST, Arjen Markus <Arj...@de...> wrote: Hi David, That is easier – did you install the stuff via “nmake install” or are you working from the build directory? That is what I usually do and then I have to expand the PATH environment variable: set PATH=d:\plplot-build-dir\dll;%PATH% cd examples\cxx x01.exe Fill in the right directory for “plplot-build-dir” above. Regards, Arjen From: David Bergman [mailto:dav...@ya...] Sent: Friday, January 26, 2018 3:34 PM To: Arjen Markus Cc: Plp...@li... (plp...@li...) Subject: Re: RE: RE: [Plplot-general] More questions about install Arjen, Thanks, that worked to get past this hurdle. nmake and nmake install worked. Frankly, I'm not sure what state plplot is in but I tried running an example exe and got an error message that plplotcxx.dll is not installed on my computer. However, this *.dll does exists in the dll folder. How does that work? David On Friday, January 26, 2018, 8:15:24 AM EST, Arjen Markus <Arj...@de...> wrote: Hi David, I was a bit hasty, I think – the cairo device driver actually consists of a whole slew of them and you would have to set all of them to off to avoid the cairo device (things like PLD_wincairo and PLD_epscairo). If I read the CMake files correctly, then you should be able to turn off that family of devices by -DDEFAULT_NO_CAIRO_DEVICES=ON. (I hope I am right this time) Regards, Arjen From: David Bergman [mailto:dav...@ya...] Sent: Thursday, January 25, 2018 2:12 PM To: Arjen Markus Cc: Plp...@li... (plp...@li...) Subject: Re: RE: [Plplot-general] More questions about install Arjen, Thanks. I tried again with your suggestion but the following warning. CMake Warning: Manually-specified variables were not used by the project: PLD_cairo I tried variant, e.g. all cap, etc, just in case there was a typo. No luck. Any other suggestions would be appreciated. On another note, not sure is you saw my other email status. Installing from the IDE seemed to work for the Release build but not the Debug, several projects failed to build. I cannot decipher why one would build and the other not. Additionally the *.exe for the examples did not get created as in previous installs. It seems that each try produces a different state. Thank you in advance. David On Thursday, January 25, 2018, 2:44:51 AM EST, Arjen Markus <Arj...@de...> wrote: Hi David, Wrt your message (it got caught in my spam filter for reasons best known to itself): “Arjen, I just installed CMake 3.9.4 and tried the build from a DOS command prompt (not using VS INSTALL). Same issues, partial output is attached. It crashes at ciaro [26%]. Do I need ciaro to use plplot? David” Apparently the build system is finding libraries that are connected to the cairo device. Unfortunately, they are not truly compatible. The best way to take care of that is to use the option –DPLD_cairo=OFF, forcing the build system to ignore that device. This kind of things sometimes happens. Regards, Arjen Arjen Markus Sr. Adviseur/Onderzoeker | T | +31(0)88 335 8559 | | E | Arj...@de... | | | | | | www.deltares.com | | Postbus 177 2600 MH Delft | | | | | | | | | Please consider the environment before printing this email DISCLAIMER: This message is intended exclusively for the addressee(s) and may contain confidential and privileged information. If you are not the intended recipient please notify the sender immediately and destroy this message. Unauthorized use, disclosure or copying of this message is strictly prohibited. The foundation 'Stichting Deltares', which has its seat at Delft, The Netherlands, Commercial Registration Number 41146461, is not liable in any way whatsoever for consequences and/or damages resulting from the improper, incomplete and untimely dispatch, receipt and/or content of this e-mail. DISCLAIMER: This message is intended exclusively for the addressee(s) and may contain confidential and privileged information. If you are not the intended recipient please notify the sender immediately and destroy this message. Unauthorized use, disclosure or copying of this message is strictly prohibited. The foundation 'Stichting Deltares', which has its seat at Delft, The Netherlands, Commercial Registration Number 41146461, is not liable in any way whatsoever for consequences and/or damages resulting from the improper, incomplete and untimely dispatch, receipt and/or content of this e-mail. DISCLAIMER: This message is intended exclusively for the addressee(s) and may contain confidential and privileged information. If you are not the intended recipient please notify the sender immediately and destroy this message. Unauthorized use, disclosure or copying of this message is strictly prohibited. The foundation 'Stichting Deltares', which has its seat at Delft, The Netherlands, Commercial Registration Number 41146461, is not liable in any way whatsoever for consequences and/or damages resulting from the improper, incomplete and untimely dispatch, receipt and/or content of this e-mail. |