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: David B. <stu...@gm...> - 2019-10-17 21:06:31
|
Vadim, Thank you. I had installed using codeblocks-17.12mingw-nosetup.zip which comes with the MinGW compiler (circa 12/2017). If I understand your comment correctly the bug will not be released until later, or is there an existing patch? Rather than edit plplot source might it be better do grab the most recent compiler or is that not stable? Doing the rand fix just exposed another bug related to seed (see below). Is there a list of all possible changes needed? Or is it safe to say any related to the _WIN32 condition, or rand() generators? David [ 79%] Building CXX object drivers/CMakeFiles/wxwidgets.dir/wxwidgets_dev.cpp.obj C:\temp\src\plplot-5.15.0\drivers\wxwidgets_dev.cpp: In constructor 'Rand::Rand()': C:\temp\src\plplot-5.15.0\drivers\wxwidgets_dev.cpp:647:25: error: 'rand_s' was not declared in this scope rand_s( &m_seed ); ^ On 10/17/2019 4:18 PM, Vadim Zeitlin wrote: > On Thu, 17 Oct 2019 14:03:20 -0400 David Bergman wrote: > > DB> [ 79%] Building CXX object > DB> drivers/CMakeFiles/wxwidgets.dir/wxwidgets_dev.cpp.obj > DB> C:\temp\src\plplot-5.15.0\drivers\wxwidgets_dev.cpp: In constructor > DB> 'Rand::Rand()': > DB> C:\temp\src\plplot-5.15.0\drivers\wxwidgets_dev.cpp:647:25: error: > DB> 'rand_s' was not declared in this scope > DB> rand_s( &m_seed ); > DB> ^ > > This error doesn't have anything to do with wxWidgets and is due to > missing rand_s() declaration in "classic" MinGW headers. It so happens that > I ran into the same issue relatively recently (although in completely > different circumstances) and this eventually led to it being fixed in > MinGW, see https://osdn.net/projects/mingw/ticket/39658, so it won't occur > any more with the next MinGW release (5.3). For now you could use the > already proposed workaround. > > DB> C:\temp\src\plplot-5.15.0\drivers\wxwidgets_dev.cpp: In member function > DB> 'void Font::createFont()': > DB> C:\temp\src\plplot-5.15.0\drivers\wxwidgets_dev.cpp:736:101: warning: > DB> 'wxFont::wxFont(int, int, int, int, bool, const wxString&, > DB> wxFontEncoding)' is deprecated: use wxFONT{FAMILY,STYLE,WEIGHT}_XXX > DB> constants ie: wxFONTFAMILY_SWISS, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_BOLD > DB> [-Wdeprecated-declarations] > > This and other warnings are not fatal and just notify you, or rather > plplot developers, that there are better and safer overloads available in > wx 3.x that should be used instead of the old ones. If plplot developers > have any questions about this, please don't hesitate to ask us about it > here, i.e. on wx-users. > > Regards, > VZ > -- David Bergman David R Bergman Music LLC "Have Guitar Will Travel" Morristown NJ 551-655-4720 stu...@gm... www.davidrobertbergmanmusic.com --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus |
From: David B. <stu...@gm...> - 2019-10-17 20:16:21
|
Tom, That file already has the following: // Headers needed for Rand #ifdef _WIN32 // This include must occur before any other include of stdlib.h due to // the #define _CRT_RAND_S #define _CRT_RAND_S #include <stdlib.h> #else #include <fstream> #endif Clearly the lines are in there but dependent on _WIN32. I'm trying to build on a Dell with Windows 10 (64 bit machine and OS) but using MinGW compiler. Should I comment out the #ifdef or could that cause other issues? On 10/17/2019 3:47 PM, Tom Schoonjans wrote: > Hey David, > > The error is coming out > of C:\temp\src\plplot-5.15.0\drivers\wxwidgets_dev.cpp, so you will > need to patch that file. I guess this fix should also go into the > PLplot git repo. > > Best, > > Tom > >> On 17 Oct 2019, at 20:41, David Bergman <dav...@ya... >> <mailto:dav...@ya...>> wrote: >> >> Tom, thanks for your input but I'm not even writing code yet. This >> is a build error and I'm using the out of the box make, cmake and >> other scripts so I wouldn't know what file to put those lines of code >> in. Any thoughts? >> >> Sent from Yahoo Mail on Android >> <https://go.onelink.me/107872968?pid=InProduct&c=Global_Internal_YGrowth_AndroidEmailSig__AndroidUsers&af_wl=ym&af_sub1=Internal&af_sub2=Global_YGrowth&af_sub3=EmailSignature> >> >> On Thu, Oct 17, 2019 at 2:46 PM, Tom Schoonjans via Plplot-general >> <plp...@li... >> <mailto:plp...@li...>> wrote: >> _______________________________________________ >> Plplot-general mailing list >> Plp...@li... >> <mailto:Plp...@li...> >> https://lists.sourceforge.net/lists/listinfo/plplot-general >> >> <Untitled.txt><Untitled.txt> > -- David Bergman David R Bergman Music LLC "Have Guitar Will Travel" Morristown NJ 551-655-4720 stu...@gm... www.davidrobertbergmanmusic.com --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus |
From: David B. <stu...@gm...> - 2019-10-17 19:57:52
|
I'll give it a try and let you know what happens. On 10/17/2019 3:47 PM, Tom Schoonjans wrote: > Hey David, > > The error is coming out > of C:\temp\src\plplot-5.15.0\drivers\wxwidgets_dev.cpp, so you will > need to patch that file. I guess this fix should also go into the > PLplot git repo. > > Best, > > Tom > >> On 17 Oct 2019, at 20:41, David Bergman <dav...@ya... >> <mailto:dav...@ya...>> wrote: >> >> Tom, thanks for your input but I'm not even writing code yet. This >> is a build error and I'm using the out of the box make, cmake and >> other scripts so I wouldn't know what file to put those lines of code >> in. Any thoughts? >> >> Sent from Yahoo Mail on Android >> <https://go.onelink.me/107872968?pid=InProduct&c=Global_Internal_YGrowth_AndroidEmailSig__AndroidUsers&af_wl=ym&af_sub1=Internal&af_sub2=Global_YGrowth&af_sub3=EmailSignature> >> >> On Thu, Oct 17, 2019 at 2:46 PM, Tom Schoonjans via Plplot-general >> <plp...@li... >> <mailto:plp...@li...>> wrote: >> _______________________________________________ >> Plplot-general mailing list >> Plp...@li... >> <mailto:Plp...@li...> >> https://lists.sourceforge.net/lists/listinfo/plplot-general >> >> <Untitled.txt><Untitled.txt> > -- David Bergman David R Bergman Music LLC "Have Guitar Will Travel" Morristown NJ 551-655-4720 stu...@gm... www.davidrobertbergmanmusic.com --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus |
From: David B. <stu...@gm...> - 2019-10-17 19:57:11
|
Tom, thanks for your input but I'm not even writing code yet. This is a build error and I'm using the out of the box make, cmake and other scripts so I wouldn't know what file to put those lines of code in. Any thoughts? On 10/17/2019 2:45 PM, Tom Schoonjans wrote: > Hi David, > > To use rand_s you need to start your source file with: > > #define _CRT_RAND_S > #include <stdlib.h> > > > It is crucial that these lines precede all your other includes, > because other headers may already have dragged in stdlib.h > > Best, > > Tom > >> On 17 Oct 2019, at 19:03, David Bergman <stu...@gm... >> <mailto:stu...@gm...>> wrote: >> >> All, >> >> I am in the process of trying to set up wxWidgets and plplot for >> development using code::blocks with mingw on a Windows 10 machine. >> I previously had a configuration working on a Windows 8 machine with >> VS 2017 but that machine is deceased. >> wxWidgets installed fairly easily with no issues reported and >> everything looks good (though I have not run any test examples yet). >> >> The PLplot build ran and connected to wxWidgets (found it and >> finished reporting it as being ON). Running ming32-make at the >> command prompt I eventually get a failure at 79% with the following >> error message (cut and pasted at end of message). I am using >> wxWidgets-3.1.2 and PLplot-5.15.0. I followed the commands for >> installing using mingw32-make that can be found on the wiki for each >> product. >> >> I have reached out to the plplot group but I'm also asking wxwidgets >> to look at the output since the error message mentions files included >> from the wxwidgets include dir. So it is not clear, to me, if the >> error is related solely to plplot or also to widgets. Before >> building plplot I defined WXWIN=<path to wxwidgets folder> and >> included the dll dir, <>\lib\gcc_dll, in the PATH. My assumption is >> that I have misunderstood something but I cannot figure it out. My >> new build/install in a new Windows 8 machine with VS 2017 seems to >> work but apps crash upon closing and that has not been easy to track >> down either. Thank you in advance for your help. >> >> David >> >> >> [ 79%] Building CXX object >> drivers/CMakeFiles/wxwidgets.dir/wxwidgets_dev.cpp.obj >> C:\temp\src\plplot-5.15.0\drivers\wxwidgets_dev.cpp: In constructor >> 'Rand::Rand()': >> C:\temp\src\plplot-5.15.0\drivers\wxwidgets_dev.cpp:647:25: error: >> 'rand_s' was not declared in this scope >> rand_s( &m_seed ); >> ^ >> C:\temp\src\plplot-5.15.0\drivers\wxwidgets_dev.cpp: In member >> function 'void Font::createFont()': >> C:\temp\src\plplot-5.15.0\drivers\wxwidgets_dev.cpp:736:101: warning: >> 'wxFont::wxFont(int, int, int, int, bool, const wxString&, >> wxFontEncoding)' is deprecated: use wxFONT{FAMILY,STYLE,WEIGHT}_XXX >> constants ie: wxFONTFAMILY_SWISS, wxFONTSTYLE_NORMAL, >> wxFONTWEIGHT_BOLD [-Wdeprecated-declarations] >> m_font = wxFont( pt, family, style, weight, m_underlined, >> wxEmptyString, wxFONTENCODING_DEFAULT ); >> ^ >> In file included from >> C:/temp/src/wxWidgets-3.1.2/include/wx/font.h:652:0, >> from C:/temp/src/wxWidgets-3.1.2/include/wx/window.h:23, >> from C:/temp/src/wxWidgets-3.1.2/include/wx/wx.h:38, >> from C:\temp\src\plplot-5.15.0\drivers\wxwidgets.h:32, >> from >> C:\temp\src\plplot-5.15.0\drivers\wxwidgets_dev.cpp:44: >> C:/temp/src/wxWidgets-3.1.2/include/wx/msw/font.h:124:5: note: >> declared here >> wxFont(int size, >> ^ >> C:\temp\src\plplot-5.15.0\drivers\wxwidgets_dev.cpp: In member >> function 'virtual void wxPLDevice::FillPolygon(PLStream*)': >> C:\temp\src\plplot-5.15.0\drivers\wxwidgets_dev.cpp:1010:58: warning: >> 'wxPen::wxPen(const wxColour&, int, int)' is deprecated: use >> wxPENSTYLE_XXX constants [-Wdeprecated-declarations] >> wxPen edgePen( m_brush.GetColour(), m_scale, wxSOLID ); >> ^ >> In file included from C:/temp/src/wxWidgets-3.1.2/include/wx/pen.h:84:0, >> from C:/temp/src/wxWidgets-3.1.2/include/wx/dc.h:25, >> from C:/temp/src/wxWidgets-3.1.2/include/wx/wx.h:50, >> from C:\temp\src\plplot-5.15.0\drivers\wxwidgets.h:32, >> from >> C:\temp\src\plplot-5.15.0\drivers\wxwidgets_dev.cpp:44: >> C:/temp/src/wxWidgets-3.1.2/include/wx/msw/pen.h:59:5: note: declared >> here >> wxPen(const wxColour& col, int width, int style); >> ^ >> C:\temp\src\plplot-5.15.0\drivers\wxwidgets_dev.cpp: In member >> function 'virtual void wxPLDevice::SetWidth(PLStream*)': >> C:\temp\src\plplot-5.15.0\drivers\wxwidgets_dev.cpp:1046:53: warning: >> 'wxPen::wxPen(const wxColour&, int, int)' is deprecated: use >> wxPENSTYLE_XXX constants [-Wdeprecated-declarations] >> pls->curcolor.a * 255 ), width, wxSOLID ); >> ^ >> In file included from C:/temp/src/wxWidgets-3.1.2/include/wx/pen.h:84:0, >> from C:/temp/src/wxWidgets-3.1.2/include/wx/dc.h:25, >> from C:/temp/src/wxWidgets-3.1.2/include/wx/wx.h:50, >> from C:\temp\src\plplot-5.15.0\drivers\wxwidgets.h:32, >> from >> C:\temp\src\plplot-5.15.0\drivers\wxwidgets_dev.cpp:44: >> C:/temp/src/wxWidgets-3.1.2/include/wx/msw/pen.h:59:5: note: declared >> here >> wxPen(const wxColour& col, int width, int style); >> ^ >> C:\temp\src\plplot-5.15.0\drivers\wxwidgets_dev.cpp: In member >> function 'virtual void wxPLDevice::SetColor(PLStream*)': >> C:\temp\src\plplot-5.15.0\drivers\wxwidgets_dev.cpp:1059:53: warning: >> 'wxPen::wxPen(const wxColour&, int, int)' is deprecated: use >> wxPENSTYLE_XXX constants [-Wdeprecated-declarations] >> pls->curcolor.a * 255 ), width, wxSOLID ); >> ^ >> In file included from C:/temp/src/wxWidgets-3.1.2/include/wx/pen.h:84:0, >> from C:/temp/src/wxWidgets-3.1.2/include/wx/dc.h:25, >> from C:/temp/src/wxWidgets-3.1.2/include/wx/wx.h:50, >> from C:\temp\src\plplot-5.15.0\drivers\wxwidgets.h:32, >> from >> C:\temp\src\plplot-5.15.0\drivers\wxwidgets_dev.cpp:44: >> C:/temp/src/wxWidgets-3.1.2/include/wx/msw/pen.h:59:5: note: declared >> here >> wxPen(const wxColour& col, int width, int style); >> ^ >> drivers\CMakeFiles\wxwidgets.dir\build.make:90: recipe for target >> 'drivers/CMakeFiles/wxwidgets.dir/wxwidgets_dev.cpp.obj' failed >> mingw32-make[2]: *** >> [drivers/CMakeFiles/wxwidgets.dir/wxwidgets_dev.cpp.obj] Error 1 >> CMakeFiles\Makefile2:1410: recipe for target >> 'drivers/CMakeFiles/wxwidgets.dir/all' failed >> mingw32-make[1]: *** [drivers/CMakeFiles/wxwidgets.dir/all] Error 2 >> Makefile:150: recipe for target 'all' failed >> mingw32-make: *** [all] Error 2 >> >> C:\temp\src\plplot-5.15.0\buildmingw> >> >> >> >> --- >> This email has been checked for viruses by Avast antivirus software. >> https://www.avast.com/antivirus >> >> >> >> _______________________________________________ >> Plplot-general mailing list >> Plp...@li... >> https://lists.sourceforge.net/lists/listinfo/plplot-general > -- David Bergman David R Bergman Music LLC "Have Guitar Will Travel" Morristown NJ 551-655-4720 stu...@gm... www.davidrobertbergmanmusic.com |
From: Tom S. <tom...@me...> - 2019-10-17 19:47:54
|
Hey David, The error is coming out of C:\temp\src\plplot-5.15.0\drivers\wxwidgets_dev.cpp, so you will need to patch that file. I guess this fix should also go into the PLplot git repo. Best, Tom > On 17 Oct 2019, at 20:41, David Bergman <dav...@ya...> wrote: > > Tom, thanks for your input but I'm not even writing code yet. This is a build error and I'm using the out of the box make, cmake and other scripts so I wouldn't know what file to put those lines of code in. Any thoughts? > > Sent from Yahoo Mail on Android <https://go.onelink.me/107872968?pid=InProduct&c=Global_Internal_YGrowth_AndroidEmailSig__AndroidUsers&af_wl=ym&af_sub1=Internal&af_sub2=Global_YGrowth&af_sub3=EmailSignature> > On Thu, Oct 17, 2019 at 2:46 PM, Tom Schoonjans via Plplot-general > <plp...@li...> wrote: > _______________________________________________ > Plplot-general mailing list > Plp...@li... <mailto:Plp...@li...> > https://lists.sourceforge.net/lists/listinfo/plplot-general <https://lists.sourceforge.net/lists/listinfo/plplot-general> > <Untitled.txt><Untitled.txt> |
From: David B. <dav...@ya...> - 2019-10-17 19:41:28
|
Tom, thanks for your input but I'm not even writing code yet. This is a build error and I'm using the out of the box make, cmake and other scripts so I wouldn't know what file to put those lines of code in. Any thoughts? Sent from Yahoo Mail on Android On Thu, Oct 17, 2019 at 2:46 PM, Tom Schoonjans via Plplot-general<plp...@li...> wrote: _______________________________________________ Plplot-general mailing list Plp...@li... https://lists.sourceforge.net/lists/listinfo/plplot-general |
From: Tom S. <tom...@me...> - 2019-10-17 18:46:07
|
Hi David, To use rand_s you need to start your source file with: #define _CRT_RAND_S #include <stdlib.h> It is crucial that these lines precede all your other includes, because other headers may already have dragged in stdlib.h Best, Tom > On 17 Oct 2019, at 19:03, David Bergman <stu...@gm...> wrote: > > All, > > I am in the process of trying to set up wxWidgets and plplot for development using code::blocks with mingw on a Windows 10 machine. > I previously had a configuration working on a Windows 8 machine with VS 2017 but that machine is deceased. > wxWidgets installed fairly easily with no issues reported and everything looks good (though I have not run any test examples yet). > > The PLplot build ran and connected to wxWidgets (found it and finished reporting it as being ON). Running ming32-make at the command prompt I eventually get a failure at 79% with the following error message (cut and pasted at end of message). I am using wxWidgets-3.1.2 and PLplot-5.15.0. I followed the commands for installing using mingw32-make that can be found on the wiki for each product. > > I have reached out to the plplot group but I'm also asking wxwidgets to look at the output since the error message mentions files included from the wxwidgets include dir. So it is not clear, to me, if the error is related solely to plplot or also to widgets. Before building plplot I defined WXWIN=<path to wxwidgets folder> and included the dll dir, <>\lib\gcc_dll, in the PATH. My assumption is that I have misunderstood something but I cannot figure it out. My new build/install in a new Windows 8 machine with VS 2017 seems to work but apps crash upon closing and that has not been easy to track down either. Thank you in advance for your help. > > David > > > [ 79%] Building CXX object drivers/CMakeFiles/wxwidgets.dir/wxwidgets_dev.cpp.obj > C:\temp\src\plplot-5.15.0\drivers\wxwidgets_dev.cpp: In constructor 'Rand::Rand()': > C:\temp\src\plplot-5.15.0\drivers\wxwidgets_dev.cpp:647:25: error: 'rand_s' was not declared in this scope > rand_s( &m_seed ); > ^ > C:\temp\src\plplot-5.15.0\drivers\wxwidgets_dev.cpp: In member function 'void Font::createFont()': > C:\temp\src\plplot-5.15.0\drivers\wxwidgets_dev.cpp:736:101: warning: 'wxFont::wxFont(int, int, int, int, bool, const wxString&, wxFontEncoding)' is deprecated: use wxFONT{FAMILY,STYLE,WEIGHT}_XXX constants ie: wxFONTFAMILY_SWISS, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_BOLD [-Wdeprecated-declarations] > m_font = wxFont( pt, family, style, weight, m_underlined, wxEmptyString, wxFONTENCODING_DEFAULT ); > ^ > In file included from C:/temp/src/wxWidgets-3.1.2/include/wx/font.h:652:0, > from C:/temp/src/wxWidgets-3.1.2/include/wx/window.h:23, > from C:/temp/src/wxWidgets-3.1.2/include/wx/wx.h:38, > from C:\temp\src\plplot-5.15.0\drivers\wxwidgets.h:32, > from C:\temp\src\plplot-5.15.0\drivers\wxwidgets_dev.cpp:44: > C:/temp/src/wxWidgets-3.1.2/include/wx/msw/font.h:124:5: note: declared here > wxFont(int size, > ^ > C:\temp\src\plplot-5.15.0\drivers\wxwidgets_dev.cpp: In member function 'virtual void wxPLDevice::FillPolygon(PLStream*)': > C:\temp\src\plplot-5.15.0\drivers\wxwidgets_dev.cpp:1010:58: warning: 'wxPen::wxPen(const wxColour&, int, int)' is deprecated: use wxPENSTYLE_XXX constants [-Wdeprecated-declarations] > wxPen edgePen( m_brush.GetColour(), m_scale, wxSOLID ); > ^ > In file included from C:/temp/src/wxWidgets-3.1.2/include/wx/pen.h:84:0, > from C:/temp/src/wxWidgets-3.1.2/include/wx/dc.h:25, > from C:/temp/src/wxWidgets-3.1.2/include/wx/wx.h:50, > from C:\temp\src\plplot-5.15.0\drivers\wxwidgets.h:32, > from C:\temp\src\plplot-5.15.0\drivers\wxwidgets_dev.cpp:44: > C:/temp/src/wxWidgets-3.1.2/include/wx/msw/pen.h:59:5: note: declared here > wxPen(const wxColour& col, int width, int style); > ^ > C:\temp\src\plplot-5.15.0\drivers\wxwidgets_dev.cpp: In member function 'virtual void wxPLDevice::SetWidth(PLStream*)': > C:\temp\src\plplot-5.15.0\drivers\wxwidgets_dev.cpp:1046:53: warning: 'wxPen::wxPen(const wxColour&, int, int)' is deprecated: use wxPENSTYLE_XXX constants [-Wdeprecated-declarations] > pls->curcolor.a * 255 ), width, wxSOLID ); > ^ > In file included from C:/temp/src/wxWidgets-3.1.2/include/wx/pen.h:84:0, > from C:/temp/src/wxWidgets-3.1.2/include/wx/dc.h:25, > from C:/temp/src/wxWidgets-3.1.2/include/wx/wx.h:50, > from C:\temp\src\plplot-5.15.0\drivers\wxwidgets.h:32, > from C:\temp\src\plplot-5.15.0\drivers\wxwidgets_dev.cpp:44: > C:/temp/src/wxWidgets-3.1.2/include/wx/msw/pen.h:59:5: note: declared here > wxPen(const wxColour& col, int width, int style); > ^ > C:\temp\src\plplot-5.15.0\drivers\wxwidgets_dev.cpp: In member function 'virtual void wxPLDevice::SetColor(PLStream*)': > C:\temp\src\plplot-5.15.0\drivers\wxwidgets_dev.cpp:1059:53: warning: 'wxPen::wxPen(const wxColour&, int, int)' is deprecated: use wxPENSTYLE_XXX constants [-Wdeprecated-declarations] > pls->curcolor.a * 255 ), width, wxSOLID ); > ^ > In file included from C:/temp/src/wxWidgets-3.1.2/include/wx/pen.h:84:0, > from C:/temp/src/wxWidgets-3.1.2/include/wx/dc.h:25, > from C:/temp/src/wxWidgets-3.1.2/include/wx/wx.h:50, > from C:\temp\src\plplot-5.15.0\drivers\wxwidgets.h:32, > from C:\temp\src\plplot-5.15.0\drivers\wxwidgets_dev.cpp:44: > C:/temp/src/wxWidgets-3.1.2/include/wx/msw/pen.h:59:5: note: declared here > wxPen(const wxColour& col, int width, int style); > ^ > drivers\CMakeFiles\wxwidgets.dir\build.make:90: recipe for target 'drivers/CMakeFiles/wxwidgets.dir/wxwidgets_dev.cpp.obj' failed > mingw32-make[2]: *** [drivers/CMakeFiles/wxwidgets.dir/wxwidgets_dev.cpp.obj] Error 1 > CMakeFiles\Makefile2:1410: recipe for target 'drivers/CMakeFiles/wxwidgets.dir/all' failed > mingw32-make[1]: *** [drivers/CMakeFiles/wxwidgets.dir/all] Error 2 > Makefile:150: recipe for target 'all' failed > mingw32-make: *** [all] Error 2 > > C:\temp\src\plplot-5.15.0\buildmingw> > > > > --- > This email has been checked for viruses by Avast antivirus software. > https://www.avast.com/antivirus > > > > _______________________________________________ > Plplot-general mailing list > Plp...@li... > https://lists.sourceforge.net/lists/listinfo/plplot-general |
From: David B. <stu...@gm...> - 2019-10-17 18:04:01
|
All, I am in the process of trying to set up wxWidgets and plplot for development using code::blocks with mingw on a Windows 10 machine. I previously had a configuration working on a Windows 8 machine with VS 2017 but that machine is deceased. wxWidgets installed fairly easily with no issues reported and everything looks good (though I have not run any test examples yet). The PLplot build ran and connected to wxWidgets (found it and finished reporting it as being ON). Running ming32-make at the command prompt I eventually get a failure at 79% with the following error message (cut and pasted at end of message). I am using wxWidgets-3.1.2 and PLplot-5.15.0. I followed the commands for installing using mingw32-make that can be found on the wiki for each product. I have reached out to the plplot group but I'm also asking wxwidgets to look at the output since the error message mentions files included from the wxwidgets include dir. So it is not clear, to me, if the error is related solely to plplot or also to widgets. Before building plplot I defined WXWIN=<path to wxwidgets folder> and included the dll dir, <>\lib\gcc_dll, in the PATH. My assumption is that I have misunderstood something but I cannot figure it out. My new build/install in a new Windows 8 machine with VS 2017 seems to work but apps crash upon closing and that has not been easy to track down either. Thank you in advance for your help. David [ 79%] Building CXX object drivers/CMakeFiles/wxwidgets.dir/wxwidgets_dev.cpp.obj C:\temp\src\plplot-5.15.0\drivers\wxwidgets_dev.cpp: In constructor 'Rand::Rand()': C:\temp\src\plplot-5.15.0\drivers\wxwidgets_dev.cpp:647:25: error: 'rand_s' was not declared in this scope rand_s( &m_seed ); ^ C:\temp\src\plplot-5.15.0\drivers\wxwidgets_dev.cpp: In member function 'void Font::createFont()': C:\temp\src\plplot-5.15.0\drivers\wxwidgets_dev.cpp:736:101: warning: 'wxFont::wxFont(int, int, int, int, bool, const wxString&, wxFontEncoding)' is deprecated: use wxFONT{FAMILY,STYLE,WEIGHT}_XXX constants ie: wxFONTFAMILY_SWISS, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_BOLD [-Wdeprecated-declarations] m_font = wxFont( pt, family, style, weight, m_underlined, wxEmptyString, wxFONTENCODING_DEFAULT ); ^ In file included from C:/temp/src/wxWidgets-3.1.2/include/wx/font.h:652:0, from C:/temp/src/wxWidgets-3.1.2/include/wx/window.h:23, from C:/temp/src/wxWidgets-3.1.2/include/wx/wx.h:38, from C:\temp\src\plplot-5.15.0\drivers\wxwidgets.h:32, from C:\temp\src\plplot-5.15.0\drivers\wxwidgets_dev.cpp:44: C:/temp/src/wxWidgets-3.1.2/include/wx/msw/font.h:124:5: note: declared here wxFont(int size, ^ C:\temp\src\plplot-5.15.0\drivers\wxwidgets_dev.cpp: In member function 'virtual void wxPLDevice::FillPolygon(PLStream*)': C:\temp\src\plplot-5.15.0\drivers\wxwidgets_dev.cpp:1010:58: warning: 'wxPen::wxPen(const wxColour&, int, int)' is deprecated: use wxPENSTYLE_XXX constants [-Wdeprecated-declarations] wxPen edgePen( m_brush.GetColour(), m_scale, wxSOLID ); ^ In file included from C:/temp/src/wxWidgets-3.1.2/include/wx/pen.h:84:0, from C:/temp/src/wxWidgets-3.1.2/include/wx/dc.h:25, from C:/temp/src/wxWidgets-3.1.2/include/wx/wx.h:50, from C:\temp\src\plplot-5.15.0\drivers\wxwidgets.h:32, from C:\temp\src\plplot-5.15.0\drivers\wxwidgets_dev.cpp:44: C:/temp/src/wxWidgets-3.1.2/include/wx/msw/pen.h:59:5: note: declared here wxPen(const wxColour& col, int width, int style); ^ C:\temp\src\plplot-5.15.0\drivers\wxwidgets_dev.cpp: In member function 'virtual void wxPLDevice::SetWidth(PLStream*)': C:\temp\src\plplot-5.15.0\drivers\wxwidgets_dev.cpp:1046:53: warning: 'wxPen::wxPen(const wxColour&, int, int)' is deprecated: use wxPENSTYLE_XXX constants [-Wdeprecated-declarations] pls->curcolor.a * 255 ), width, wxSOLID ); ^ In file included from C:/temp/src/wxWidgets-3.1.2/include/wx/pen.h:84:0, from C:/temp/src/wxWidgets-3.1.2/include/wx/dc.h:25, from C:/temp/src/wxWidgets-3.1.2/include/wx/wx.h:50, from C:\temp\src\plplot-5.15.0\drivers\wxwidgets.h:32, from C:\temp\src\plplot-5.15.0\drivers\wxwidgets_dev.cpp:44: C:/temp/src/wxWidgets-3.1.2/include/wx/msw/pen.h:59:5: note: declared here wxPen(const wxColour& col, int width, int style); ^ C:\temp\src\plplot-5.15.0\drivers\wxwidgets_dev.cpp: In member function 'virtual void wxPLDevice::SetColor(PLStream*)': C:\temp\src\plplot-5.15.0\drivers\wxwidgets_dev.cpp:1059:53: warning: 'wxPen::wxPen(const wxColour&, int, int)' is deprecated: use wxPENSTYLE_XXX constants [-Wdeprecated-declarations] pls->curcolor.a * 255 ), width, wxSOLID ); ^ In file included from C:/temp/src/wxWidgets-3.1.2/include/wx/pen.h:84:0, from C:/temp/src/wxWidgets-3.1.2/include/wx/dc.h:25, from C:/temp/src/wxWidgets-3.1.2/include/wx/wx.h:50, from C:\temp\src\plplot-5.15.0\drivers\wxwidgets.h:32, from C:\temp\src\plplot-5.15.0\drivers\wxwidgets_dev.cpp:44: C:/temp/src/wxWidgets-3.1.2/include/wx/msw/pen.h:59:5: note: declared here wxPen(const wxColour& col, int width, int style); ^ drivers\CMakeFiles\wxwidgets.dir\build.make:90: recipe for target 'drivers/CMakeFiles/wxwidgets.dir/wxwidgets_dev.cpp.obj' failed mingw32-make[2]: *** [drivers/CMakeFiles/wxwidgets.dir/wxwidgets_dev.cpp.obj] Error 1 CMakeFiles\Makefile2:1410: recipe for target 'drivers/CMakeFiles/wxwidgets.dir/all' failed mingw32-make[1]: *** [drivers/CMakeFiles/wxwidgets.dir/all] Error 2 Makefile:150: recipe for target 'all' failed mingw32-make: *** [all] Error 2 C:\temp\src\plplot-5.15.0\buildmingw> --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus |
From: David B. <stu...@gm...> - 2019-10-13 20:48:05
|
I tried reinstalling widgets with monolithic=0 (off) and this time plplot found widgets in the build stage. However when I entered mingw32-make in the second to last step it crashed at 79%. I am not sure why monolithic=0 worked to correct the first problem and may have introduced a new problem. Since I am setting WXWIN to the widgets dir and the dll dir is in the system path is did not set any widgets config variables in the first call to ming32-make to build plplot. Attached is the error produced this time. Any help would be appreciated. David On 10/12/2019 10:03 AM, David Bergman wrote: > > I have an update. I wiped everything and started over, thinking that > I may have moved items to new directories between the widgets and > plplot installs. Now I am getting a fatal error in the plplot build > when I run |mingw32-make the first time, before the install.| > > |I've attached files containing the exact commands executed and their > source (websites), and a file containing the error.| > > |Thank you for your help.| > > |David| > > | > | > > On 10/11/2019 4:04 PM, David Bergman wrote: >> Hi all, >> >> I have been trying to work past some issues with plplot + wxwxidgets >> + visual studio on Windows 8 for longer than it's worth. I seem to >> have everything built w/o issue but examples crash on closing and I >> cannot figure out why. >> >> I am trying to do a complete install now on a windows 10 machine and >> I'm using Code Blocks and MinGW compiler. >> >> wxWidgets installed without issue and now I'm trying to build the >> plplot with the wxwidgets driver. >> >> I've followed the instructions on >> https://sourceforge.net/p/plplot/wiki/Configure_PLplot_for_MinGW_CLI/ >> >> The install "seemed" to work but it claims that there is no wxwidgets >> driver present, it missed it. The dir to the correct lib is in the >> system path. I may have misinterpreted the instructions but I cannot >> figure out the detail. Please help. >> >> My plplot and widgets folders are in C:\temp\src\<folder> and the >> commands issued were. >> >> starting in the plplot dir: >> >> mkdir buildmingw >> >> set WXWIN=C:\temp\src\wxWidgets-3.1.2\ >> >> cd buildmingw >> >> cmake .. -G "MinGW Makefiles" >> -DCMAKE_INSTALL_PREFIX="C:\temp\src\plplot-5.15.0\buildmingw" >> -DBUILD_TEST=ON >> >> No fatal errors occurred, it just didn't pick up the widgets. >> >> Thanks in advance for your help. >> >> David >> >> >> > -- > David Bergman > David R Bergman Music LLC > "Have Guitar Will Travel" > Morristown NJ > 551-655-4720 > stu...@gm... > www.davidrobertbergmanmusic.com -- David Bergman David R Bergman Music LLC "Have Guitar Will Travel" Morristown NJ 551-655-4720 stu...@gm... www.davidrobertbergmanmusic.com --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus |
From: David B. <stu...@gm...> - 2019-10-12 14:03:41
|
I have an update. I wiped everything and started over, thinking that I may have moved items to new directories between the widgets and plplot installs. Now I am getting a fatal error in the plplot build when I run |mingw32-make the first time, before the install.| |I've attached files containing the exact commands executed and their source (websites), and a file containing the error.| |Thank you for your help.| |David| | | On 10/11/2019 4:04 PM, David Bergman wrote: > Hi all, > > I have been trying to work past some issues with plplot + wxwxidgets + > visual studio on Windows 8 for longer than it's worth. I seem to have > everything built w/o issue but examples crash on closing and I cannot > figure out why. > > I am trying to do a complete install now on a windows 10 machine and > I'm using Code Blocks and MinGW compiler. > > wxWidgets installed without issue and now I'm trying to build the > plplot with the wxwidgets driver. > > I've followed the instructions on > https://sourceforge.net/p/plplot/wiki/Configure_PLplot_for_MinGW_CLI/ > > The install "seemed" to work but it claims that there is no wxwidgets > driver present, it missed it. The dir to the correct lib is in the > system path. I may have misinterpreted the instructions but I cannot > figure out the detail. Please help. > > My plplot and widgets folders are in C:\temp\src\<folder> and the > commands issued were. > > starting in the plplot dir: > > mkdir buildmingw > > set WXWIN=C:\temp\src\wxWidgets-3.1.2\ > > cd buildmingw > > cmake .. -G "MinGW Makefiles" > -DCMAKE_INSTALL_PREFIX="C:\temp\src\plplot-5.15.0\buildmingw" > -DBUILD_TEST=ON > > No fatal errors occurred, it just didn't pick up the widgets. > > Thanks in advance for your help. > > David > > > -- David Bergman David R Bergman Music LLC "Have Guitar Will Travel" Morristown NJ 551-655-4720 stu...@gm... www.davidrobertbergmanmusic.com --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus |
From: David B. <stu...@gm...> - 2019-10-11 20:04:24
|
Hi all, I have been trying to work past some issues with plplot + wxwxidgets + visual studio on Windows 8 for longer than it's worth. I seem to have everything built w/o issue but examples crash on closing and I cannot figure out why. I am trying to do a complete install now on a windows 10 machine and I'm using Code Blocks and MinGW compiler. wxWidgets installed without issue and now I'm trying to build the plplot with the wxwidgets driver. I've followed the instructions on https://sourceforge.net/p/plplot/wiki/Configure_PLplot_for_MinGW_CLI/ The install "seemed" to work but it claims that there is no wxwidgets driver present, it missed it. The dir to the correct lib is in the system path. I may have misinterpreted the instructions but I cannot figure out the detail. Please help. My plplot and widgets folders are in C:\temp\src\<folder> and the commands issued were. starting in the plplot dir: mkdir buildmingw set WXWIN=C:\temp\src\wxWidgets-3.1.2\ cd buildmingw cmake .. -G "MinGW Makefiles" -DCMAKE_INSTALL_PREFIX="C:\temp\src\plplot-5.15.0\buildmingw" -DBUILD_TEST=ON No fatal errors occurred, it just didn't pick up the widgets. Thanks in advance for your help. David --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus |
From: xiaohai w. <xia...@ho...> - 2019-09-27 15:50:38
|
thank you very much, i have solved the problem with your advises 2019年9月27日 上午8:33,Arjen Markus <Arj...@de...>写道: Hi Xiaohai, -----Original Message----- From: Alan W. Irwin <Ala...@gm...> ... > Install the project... > -- Install configuration: "" > CMake Error at cmake_install.cmake:44 (file): > file cannot create directory: C:/Program Files > (x86)/plplot/share/plplot5.15.0/examples. Maybe need administrative > privileges. > > > NMAKE : fatal error U1077: “.\cmake.exe”: 返回代码“0x1” > Stop. > > 返回代码 means "return code" > > how can i solve this? Hi xiaohai: When you configure PLplot set the -DCMAKE_INSTALL_PREFIX cmake option to the pathname of a non-existent directory that you have the adminstrative priviledge to create yourself. Then when you run "nmake install" that directory will be created and filled up with the PLplot installation (which is much smaller than your build tree because unused files such as object files created by builds are not installed) to build applications that link with installed PLplot libraries and drivers. Such examples (and both a traditional and CMake-based build system for them) are supplied in all our supported computer languages in the $PREFIX/share/plplot-5.15.0/examples source tree, where $PREFIX is the directory you chose above. By the way, it sounds like you are making excellent progress with the nmake approach. Good luck with the rest of your PLplot experience as well! >>AM: An alternative would be to run the command window as administrator - if you search for the command prompt and right-click on the name that appears you get the choice to run it as a different user or as administrator. Regards, Arjen 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: Arjen M. <Arj...@de...> - 2019-09-27 06:33:11
|
Hi Xiaohai, -----Original Message----- From: Alan W. Irwin <Ala...@gm...> ... > Install the project... > -- Install configuration: "" > CMake Error at cmake_install.cmake:44 (file): > file cannot create directory: C:/Program Files > (x86)/plplot/share/plplot5.15.0/examples. Maybe need administrative > privileges. > > > NMAKE : fatal error U1077: “.\cmake.exe”: 返回代码“0x1” > Stop. > > 返回代码 means "return code" > > how can i solve this? Hi xiaohai: When you configure PLplot set the -DCMAKE_INSTALL_PREFIX cmake option to the pathname of a non-existent directory that you have the adminstrative priviledge to create yourself. Then when you run "nmake install" that directory will be created and filled up with the PLplot installation (which is much smaller than your build tree because unused files such as object files created by builds are not installed) to build applications that link with installed PLplot libraries and drivers. Such examples (and both a traditional and CMake-based build system for them) are supplied in all our supported computer languages in the $PREFIX/share/plplot-5.15.0/examples source tree, where $PREFIX is the directory you chose above. By the way, it sounds like you are making excellent progress with the nmake approach. Good luck with the rest of your PLplot experience as well! >>AM: An alternative would be to run the command window as administrator - if you search for the command prompt and right-click on the name that appears you get the choice to run it as a different user or as administrator. Regards, Arjen 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: Alan W. I. <Ala...@gm...> - 2019-09-27 00:47:06
|
On 2019-09-26 19:52-0000 xiaohai wang wrote: > i am trying the command in https://sourceforge.net/p/plplot/wiki/Configure_PLplot_for_Visual_CXX_CLI/ > ( is it correct to install plplot for c not only for c++ according to this page?)<https://sourceforge.net/p/plplot/wiki/Configure_PLplot_for_Visual_CXX_CLI/> > for my c project in Visual Studio on windows to do the cmake > > and after i typed nmake install in command window throws a error like this > > [100%] Built target x31 > [100%] Built target x33 > Install the project... > -- Install configuration: "" > CMake Error at cmake_install.cmake:44 (file): > file cannot create directory: C:/Program Files > (x86)/plplot/share/plplot5.15.0/examples. Maybe need administrative > privileges. > > > NMAKE : fatal error U1077: “.\cmake.exe”: 返回代码“0x1” > Stop. > > 返回代码 means "return code" > > how can i solve this? Hi xiaohai: When you configure PLplot set the -DCMAKE_INSTALL_PREFIX cmake option to the pathname of a non-existent directory that you have the adminstrative priviledge to create yourself. Then when you run "nmake install" that directory will be created and filled up with the PLplot installation (which is much smaller than your build tree because unused files such as object files created by builds are not installed) to build applications that link with installed PLplot libraries and drivers. Such examples (and both a traditional and CMake-based build system for them) are supplied in all our supported computer languages in the $PREFIX/share/plplot-5.15.0/examples source tree, where $PREFIX is the directory you chose above. By the way, it sounds like you are making excellent progress with the nmake approach. Good luck with the rest of your PLplot experience as well! Alan __________________________ Alan W. Irwin 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.org); 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: xiaohai w. <xia...@ho...> - 2019-09-26 19:52:58
|
i am trying the command in https://sourceforge.net/p/plplot/wiki/Configure_PLplot_for_Visual_CXX_CLI/ ( is it correct to install plplot for c not only for c++ according to this page?)<https://sourceforge.net/p/plplot/wiki/Configure_PLplot_for_Visual_CXX_CLI/> for my c project in Visual Studio on windows to do the cmake and after i typed nmake install in command window throws a error like this [100%] Built target x31 [100%] Built target x33 Install the project... -- Install configuration: "" CMake Error at cmake_install.cmake:44 (file): file cannot create directory: C:/Program Files (x86)/plplot/share/plplot5.15.0/examples. Maybe need administrative privileges. NMAKE : fatal error U1077: “.\cmake.exe”: 返回代码“0x1” Stop. 返回代码 means "return code" how can i solve this? thank you in advantage |
From: xiaohai w. <xia...@ho...> - 2019-09-26 13:28:34
|
Hello, ty for your reply I used CMAKE GUI to generate the dll and lib and i didnt choose any options except the standards then, i have runned "plplot.sln" in the generated cmake folder, tried to build "All_BUILD" in the list, but i got the error like that [cid:7599a1df-3529-4ebf-8017-74b9662bb915] but i still built a test projekt in Visual Studio this is my linked lib files: xfig.lib ,svg.lib, qsastime.lib,ps.lib,plplotcxx.lib,null.lib,mem.lib,csirocsa.lib and i added the include directories(in my cmake folder): E:\TUKL\Projektarbeit\plot\plplot-5.15.0_vs\test_plplot\test_plplot // for config.h E:\TUKL\Projektarbeit\plot\plplot-5.15.0_vs\include E:\TUKL\Projektarbeit\plot\plplot-5.15.0\examples\c and for dll files i did nothing i got the exception like this [cid:ef6c069e-6826-4438-adc6-41daa51b836f] maybe do you have any idea? Thank you very much in advance for your answer ________________________________ 发件人: Jim Dishaw <ji...@di...> 发送时间: 2019年9月26日 12:40 收件人: stuntguitar1969 <stu...@gm...> 抄送: xiaohai wang <xia...@ho...>; plp...@li... <plp...@li...> 主题: Re: [Plplot-general] PLplot in Visual Studio 2017 with C On Sep 25, 2019, at 11:54 PM, stuntguitar1969 <stu...@gm...> wrote: Can you at least provide more info on what you mean by not runable? Does it not even open a command window, not compile, you get a window but cannot get a plot to show? I am having similar issues with windows 8.1 and vs 2017. Sent from my Verizon, Samsung Galaxy smartphone -------- Original message -------- From: xiaohai wang <xia...@ho...> Date: 9/25/19 6:57 PM (GMT-05:00) To: plp...@li... Subject: [Plplot-general] PLplot in Visual Studio 2017 with C Hallo guys, i am trying to install PLplot in Visual Studio in Windows 10 and need it to be used in a C projekt, after i used cmake gui to produce the lib and dll and config.h files, i linked every lib files in "lib" folder and included plcdemos.h, and added the generated config.h files ,but the x00c.c is still not runable. Did anyone know why? do you have a tipps about how to install it in C? ty Would you provide the cmake command line that you used? Also, if you built a dynamic library, are the DLLs in the PATH? |
From: Jim D. <ji...@di...> - 2019-09-26 12:41:02
|
> On Sep 25, 2019, at 11:54 PM, stuntguitar1969 <stu...@gm...> wrote: > > > Can you at least provide more info on what you mean by not runable? Does it not even open a command window, not compile, you get a window but cannot get a plot to show? I am having similar issues with windows 8.1 and vs 2017. > > > > Sent from my Verizon, Samsung Galaxy smartphone > > -------- Original message -------- > From: xiaohai wang <xia...@ho...> > Date: 9/25/19 6:57 PM (GMT-05:00) > To: plp...@li... > Subject: [Plplot-general] PLplot in Visual Studio 2017 with C > > Hallo guys, > > i am trying to install PLplot in Visual Studio in Windows 10 and need it to be used in a C projekt, after i used cmake gui to produce the lib and dll and config.h files, i linked every lib files in "lib" folder and included plcdemos.h, and added the generated config.h files ,but the x00c.c is still not runable. Did anyone know why? do you have a tipps about how to install it in C? > > ty Would you provide the cmake command line that you used? Also, if you built a dynamic library, are the DLLs in the PATH? |
From: stuntguitar1969 <stu...@gm...> - 2019-09-25 23:08:37
|
Can you at least provide more info on what you mean by not runable? Does it not even open a command window, not compile, you get a window but cannot get a plot to show? I am having similar issues with windows 8.1 and vs 2017. Sent from my Verizon, Samsung Galaxy smartphone -------- Original message --------From: xiaohai wang <xia...@ho...> Date: 9/25/19 6:57 PM (GMT-05:00) To: plp...@li... Subject: [Plplot-general] PLplot in Visual Studio 2017 with C Hallo guys, i am trying to install PLplot in Visual Studio in Windows 10 and need it to be used in a C projekt, after i used cmake gui to produce the lib and dll and config.h files, i linked every lib files in "lib" folder and included plcdemos.h, and added the generated config.h files ,but the x00c.c is still not runable. Did anyone know why? do you have a tipps about how to install it in C? ty |
From: xiaohai w. <xia...@ho...> - 2019-09-25 22:57:53
|
Hallo guys, i am trying to install PLplot in Visual Studio in Windows 10 and need it to be used in a C projekt, after i used cmake gui to produce the lib and dll and config.h files, i linked every lib files in "lib" folder and included plcdemos.h, and added the generated config.h files ,but the x00c.c is still not runable. Did anyone know why? do you have a tipps about how to install it in C? ty |
From: Alan W. I. <Ala...@gm...> - 2019-09-24 03:39:52
|
On 2019-09-23 15:53+0200 Xavier Cardil wrote: > Has anyone ever made actual financial candlesticks with plplot ? > Matplotlib has a 'bar' method that you can use to draw bars and so build > the OHCL body, > it would be useful to know if there is something similar in plplot > > If someone has an example lying around it would be greatly appreciated. Yes, we do have such an example. See, <http://plplot.org/examples.php?demo=32>. We have implemented no high-level API for such plots. Therefore, this C-only example was implemented with more fundamental PLplot API calls by one of our users back in 2009. Of course, that lack of high-level API does give you complete freedom to change the style of this plot anyway you like using lower level API calls. If you have a high interest in such plots and a good idea for what the high-level API for such plots should look like without constraining users too much with regard to style, we are certainly open to more contributions in this area. Alan __________________________ Alan W. Irwin 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.org); 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: Xavier C. <car...@gm...> - 2019-09-23 13:53:41
|
Has anyone ever made actual financial candlesticks with plplot ? Matplotlib has a 'bar' method that you can use to draw bars and so build the OHCL body, it would be useful to know if there is something similar in plplot If someone has an example lying around it would be greatly appreciated. Thanks |
From: Xavier C. <car...@gm...> - 2019-09-16 18:04:29
|
actually I installed all QT dev libraries only to realize that ubuntu packs plplot-driver-qt. I just installed this package after installing the QT dev libs and it works. I have implemented your pslmema solution and it works. Now I really can't wait to profile and see how fast it is, but Ii estimate it's about 50% faster than matplotlib. On Mon, Sep 16, 2019 at 7:40 PM Hazen Babcock <hba...@ma...> wrote: > On 9/16/19 1:37 PM, Xavier Cardil wrote: > > just found the solution without having to compile from source, ubuntu 18 > > has plplot-driver-qt package > > You might have been missing the development version of the Qt libraries. > Were all the Qt drivers missing? Or just memqt? > > -Hazen > |
From: Hazen B. <hba...@ma...> - 2019-09-16 17:40:49
|
On 9/16/19 1:37 PM, Xavier Cardil wrote: > just found the solution without having to compile from source, ubuntu 18 > has plplot-driver-qt package You might have been missing the development version of the Qt libraries. Were all the Qt drivers missing? Or just memqt? -Hazen |
From: Xavier C. <car...@gm...> - 2019-09-16 17:37:27
|
just found the solution without having to compile from source, ubuntu 18 has plplot-driver-qt package On Mon, Sep 16, 2019 at 6:50 PM Xavier Cardil <car...@gm...> wrote: > I am implementing plsmema as discussed, but after installing all QT5 dev > libs, plplot is not showing the memqt option to plot, which means I am > missing something. Do I have to compile from source enabling memqt perhaps > ? Is there any post around that I can refer to ? > > Thanks ! > > On Thu, Sep 5, 2019 at 8:15 PM Xavier Cardil <car...@gm...> > wrote: > >> That's great, thanks for the example Hazen ! I'll be implementing this in >> the following days >> >> On Thu, Sep 5, 2019 at 5:52 PM Hazen Babcock <hba...@ma...> wrote: >> >>> On 9/5/19 6:16 AM, Xavier Cardil wrote: >>> > Thank you for your responses. >>> > It took me a day to realize that this might be actually the best >>> > solution, as plotting to memory will be way faster than writing to >>> disk. >>> > As long as we can plot to memory via plsmema( ) and then retrieve it, >>> > it should be possible to convert the plot to a Numpy array ? >>> > Keras takes images as arrays as per our requirement. In matplotlib this >>> > is done behind the covers with Pillow + Numpy if I'm not wrong. >>> > Pillow can store images as arrays in memory, so it's similar to what >>> > plsmema( ) does. I mentioned RGBA encoded string instead of Numpy array >>> > because I believe Pillow stores images in memory as RGBA strings, and I >>> > was trying to find a replacement for the whole procedure ( matplotlib >>> is >>> > terribly slow ) >>> > >>> > It would be great to hear more comments from you about this, thanks ! >>> > >>> >>> Here is an example (using the "memqt" driver, but "memcairo" should also >>> work). >>> >>> #!/usr/bin/env python3 >>> >>> from PIL import Image >>> >>> import numpy >>> import plplot >>> >>> width = 480 >>> height = 320 >>> plot_buffer = numpy.zeros((height, width, 4), numpy.uint8) >>> >>> plplot.plsmema(width, height, plot_buffer) >>> >>> plplot.plstart("memqt", 1, 1) >>> plplot.plenv(0, 360, 0, 90, 0, 2) >>> plplot.plend1() >>> >>> plot_image = Image.frombytes("RGBA", (width, height), plot_buffer) >>> plot_image.save("image.png") >>> >>> >>> The final plot is available in the plot_buffer numpy array object, or in >>> the plot_image PIL/Pillow Image object. >>> >>> -Hazen >>> >> |
From: Xavier C. <car...@gm...> - 2019-09-16 16:50:28
|
I am implementing plsmema as discussed, but after installing all QT5 dev libs, plplot is not showing the memqt option to plot, which means I am missing something. Do I have to compile from source enabling memqt perhaps ? Is there any post around that I can refer to ? Thanks ! On Thu, Sep 5, 2019 at 8:15 PM Xavier Cardil <car...@gm...> wrote: > That's great, thanks for the example Hazen ! I'll be implementing this in > the following days > > On Thu, Sep 5, 2019 at 5:52 PM Hazen Babcock <hba...@ma...> wrote: > >> On 9/5/19 6:16 AM, Xavier Cardil wrote: >> > Thank you for your responses. >> > It took me a day to realize that this might be actually the best >> > solution, as plotting to memory will be way faster than writing to disk. >> > As long as we can plot to memory via plsmema( ) and then retrieve it, >> > it should be possible to convert the plot to a Numpy array ? >> > Keras takes images as arrays as per our requirement. In matplotlib this >> > is done behind the covers with Pillow + Numpy if I'm not wrong. >> > Pillow can store images as arrays in memory, so it's similar to what >> > plsmema( ) does. I mentioned RGBA encoded string instead of Numpy array >> > because I believe Pillow stores images in memory as RGBA strings, and I >> > was trying to find a replacement for the whole procedure ( matplotlib is >> > terribly slow ) >> > >> > It would be great to hear more comments from you about this, thanks ! >> > >> >> Here is an example (using the "memqt" driver, but "memcairo" should also >> work). >> >> #!/usr/bin/env python3 >> >> from PIL import Image >> >> import numpy >> import plplot >> >> width = 480 >> height = 320 >> plot_buffer = numpy.zeros((height, width, 4), numpy.uint8) >> >> plplot.plsmema(width, height, plot_buffer) >> >> plplot.plstart("memqt", 1, 1) >> plplot.plenv(0, 360, 0, 90, 0, 2) >> plplot.plend1() >> >> plot_image = Image.frombytes("RGBA", (width, height), plot_buffer) >> plot_image.save("image.png") >> >> >> The final plot is available in the plot_buffer numpy array object, or in >> the plot_image PIL/Pillow Image object. >> >> -Hazen >> > |