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
stuntguitar1...@gmail.com
www.davidrobertbergmanmusic.com
--
David Bergman
David R Bergman Music LLC
"Have Guitar Will Travel"
Morristown NJ
551-655-4720
stuntguitar1...@gmail.com
www.davidrobertbergmanmusic.com
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
[ 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>
_______________________________________________
Plplot-general mailing list
Plplot-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-general