On 2015-09-09 20:44-0700 Alan W. Irwin wrote: > On 2015-09-09 14:30-0700 Alan W. Irwin wrote: > >> Hi Phil: >> >> I just discovered that commit 9dc7393d = "Rewrite of the wxWidgets >> text processing methods" does not build on Debian oldstable with >> wxwidgets version 2.8.12.1. The reason is that version of wxwidgets >> does not contain wx/ustring.h, i.e., your rewrite depends on >> wxwidgets-3.0.0 or later. That is fine with me since I generally >> don't think we should go out of our way to support old versions of >> software libraries (and in any case I will likely be moving to Debian >> stable with wxwidgets version 3.0.2 in the near future). >> >> Anyhow, I am preceding on the assumption that the minimum version of >> wxwidgets we support is now 3.0.0 (see my recent commit b4245b3 to >> that effect). >> >> Please commit a change to README.release saying we only support >> wxwidgets-3.0.0 or later so this change does not give a nasty surprise >> to users who still are attempting to use wxwidgets-2.x. > > To Phil, Arjen, and Greg: > > @Phil: > There are some build issues with this commit on Linux that I found > once I switched to epa_built wxwidgets-3.0.2. > > Here are the relevant error messages for the build. Note the location > /home/wine/newstart/build_script/install-linux is the install prefix > for epa_built software such as wxwidgets since I use my wine user > account both for general wine testing and also epa_building on Linux. > > /home/software/plplot/HEAD/plplot.git/drivers/wxwidgets_dev.cpp: In member > function ‘void wxPLDevice::DrawTextLine(PLUNICODE*, int, wxCoord, > wxCoord, PLFLT, PLFLT, bool, PLINT&, PLFLT&, PLFLT&, bool&, PLUNICODE&, > wxCoord&, wxCoord&, wxCoord&)’: > /home/software/plplot/HEAD/plplot.git/drivers/wxwidgets_dev.cpp:984:47: > error: call of overloaded ‘wxUString(PLUNICODE&)’ is ambiguous [...] > /home/software/plplot/HEAD/plplot.git/drivers/wxwidgets_dev.cpp: In member > function ‘void wxPLDevice::DrawTextSection(wxString, wxCoord, wxCoord, PLFLT, > PLFLT, bool, bool, PLUNICODE, wxCoord&, wxCoord&, wxCoord&)’: > /home/software/plplot/HEAD/plplot.git/drivers/wxwidgets_dev.cpp:1088:115: > error: taking address of temporary [-fpermissive] > make[2]: *** [drivers/CMakeFiles/wxwidgets.dir/wxwidgets_dev.cpp.o] Error 1 > make[1]: *** [drivers/CMakeFiles/wxwidgets.dir/all] Error 2 > make[1]: *** Waiting for unfinished jobs....
Greg sent me a git format-patch commit off-list which solved all the above build issues for me. Pushed (commit id a6d2a43) with thanks! 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 __________________________ ------------------------------------------------------------------------------ _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel