Hi Phil

Is the deprecated wxWidgets still functioning?

I gave it a try am I'm getting an error
This is Windows Visual Studio, wxWidgets 3.1, plplot 5.11.1

what I did

used the commented code in the sample wxPLplotDemo.cpp

that starts with

//class MyPlotwindow : public wxPLplotwindow

I did not run any cmake flag to use the old code (is there one?),
so my shortcut was to rename

deprecated_wxPLplotstream.h.in
to
deprecated_wxPLplotstream.h

and set this
#define WX_TEMP_PL_HAVE_FREETYPE_IS_@PL_HAVE_FREETYPE@
to either
#define WX_TEMP_PL_HAVE_FREETYPE_IS_ON
#define WX_TEMP_PL_HAVE_FREETYPE_IS_OFF

my error call stack is

wx_plplot.exe!plParseDrvOpts(DrvOpt * acc_opt) Line 1521        C
        wx_plplot.exe!plD_init_wxwidgets(PLStream * pls) Line 167       C++
        wx_plplot.exe!plP_init() Line 144       C
        wx_plplot.exe!c_plinit() Line 2341      C
        wx_plplot.exe!plstream::init() Line 1008        C++
        wx_plplot.exe!wxPLplotstream::Create(wxDC * dc, int width, int 
height, int style) Line 85      C++
        wx_plplot.exe!wxPLplotstream::wxPLplotstream(wxDC * dc, int width, 
int height, int style) Line 36  C++
        wx_plplot.exe!wxPLplotwindow::wxPLplotwindow(wxWindow * parent, int 
id, const wxPoint & pos, const wxSize & size, long style, int pl_style) 
Line 60 C++
        wx_plplot.exe!MyPlotwindow::MyPlotwindow(wxFrame * frame, wxWindow * 
parent, int id, const wxPoint & pos, const wxSize & size, long style, 
int pl_style) Line 58   C++
        wx_plplot.exe!MyFrame::MyFrame(const wxString & title) Line 95  C++
        wx_plplot.exe!wxAppPlot::OnInit() Line 210      C++



so the error comes from this function

plParseDrvOpts( DrvOpt *acc_opt )

and the exit is this code

if ( !fl )
         {
             snprintf( msg, sizeof ( msg ) - 1, "Option '%s' not 
recognized.\n\nRecognized options for this driver are:\n", drvp->option 
);
             plwarn( msg );
             plHelpDrvOpts( acc_opt );
             plexit( "" );
         }

where
drvp->option
is "backend" at this point


thanks

-- 
Pedro Vicente
pedro.vice...@space-research.org
http://www.space-research.org/

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/xeonphi
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to