Hey everyone,

I'm trying to build plplot 5.11.0 on FreeBSD with wxwidgets support. I
have wx28-gtk2-2.8.12 and agg-2.5_11 installed, and am compiling with
the following options:
-DPLD_wxpng:BOOL=ON
-DwxWidgets_CONFIG_EXECUTABLE:FILEPATH="/usr/local/bin/wxgtk2-2.8-config"


Compiler output is below including the error (only key parts extracted
to keep the size down). Any help with this would be appreciated. Note
that plplot 5.11.0 builds fine with wxwidgets support disabled.

...

-- WARNING: You have enabled the PLD_png device which is disabled by
default either because it is deprecated or because there are know
issues with it. Please check the documentation / release notes for
details.
-- WARNING: You have enabled the PLD_wxpng device which is disabled by
default either because it is deprecated or because there are know
issues with it. Please check the documentation / release notes for
details.

...

Summary of CMake build system results for PLplot

Install location variables which can be set by the user:
CMAKE_INSTALL_PREFIX:      /usr/local
CMAKE_INSTALL_EXEC_PREFIX  /usr/local
CMAKE_INSTALL_BINDIR   /usr/local/bin
CMAKE_INSTALL_DATADIR   /usr/local/share
CMAKE_INSTALL_LIBDIR   /usr/local/lib
CMAKE_INSTALL_INCLUDEDIR   /usr/local/include
CMAKE_INSTALL_INFODIR   /usr/local/info
CMAKE_INSTALL_MANDIR   /usr/local/man

Derived install location variables:
DATA_DIR /usr/local/share/plplot
LIB_DIR /usr/local/lib
INCLUDE_DIR /usr/local/include/plplot
BIN_DIR /usr/local/bin
TCL_DIR /usr/local/share/plplot/tcl
ADA_INCLUDE_DIR /usr/local/share/ada/adainclude/plplotada
ADA_LIB_DIR /usr/local/lib/ada/adalib/plplotada
PYTHON_INSTDIR
DRV_DIR /usr/local/lib/plplot/drivers
DOC_DIR /usr/local/share/doc/plplot
MAN_DIR /usr/local/man
INFO_DIR /usr/local/info

Other important CMake variables:

CMAKE_SYSTEM_NAME: FreeBSD
UNIX: 1
WIN32:
APPLE:
MSVC: (MSVC_VERSION: )
MINGW:
MSYS:
CYGWIN:
BORLAND:
WATCOM:

SWIG_FOUND: 1
PERL_FOUND: TRUE
X11_FOUND: 1

CMAKE_BUILD_TYPE: Release
CMAKE_C_COMPILER CMAKE_C_FLAGS: /usr/bin/cc -O2 -pipe
-D_IS_BUILDING_PLPLOT_PORT_ -fstack-protector -fno-strict-aliasing
CMAKE_CXX_COMPILER CMAKE_CXX_FLAGS: /usr/bin/c++ -O2 -pipe
-D_IS_BUILDING_PLPLOT_PORT_ -fstack-protector -fno-strict-aliasing
CMAKE_Fortran_COMPILER CMAKE_Fortran_FLAGS: /usr/local/bin/gfortran48
-O -Wl,-rpath=/usr/local/lib/gcc48
Target Fortran:

ENABLE_DYNDRIVERS: ON
DRIVERS_LIST: cairo;qt;gd;mem;null;ps;psttf;svg;wxwidgets;xfig;xwin
DEVICES_LIST: memcairo;extcairo;pdfcairo;pngcairo;pscairo;epscairo;svgcair
o;xcairo;epsqt;pdfqt;qtwidget;bmpqt;jpgqt;pngqt;ppmqt;
tiffqt;extqt;memqt;svgqt;png;mem;null;ps;psttf;svg;wxwidgets;wxpng;xfig;xwin

Library options:
BUILD_SHARED_LIBS: ON PL_DOUBLE: ON

Optional libraries:
PL_HAVE_QHULL: ON WITH_CSA: ON
PL_HAVE_FREETYPE: ON PL_HAVE_PTHREAD: ON
HAVE_AGG: HAVE_SHAPELIB: OFF

Language Bindings:
ENABLE_ada: OFF
ENABLE_cxx: ON
ENABLE_d: OFF
ENABLE_f95: ON
ENABLE_java: OFF
ENABLE_lua: ON
ENABLE_ocaml: OFF
ENABLE_octave: OFF
ENABLE_pdl: OFF
ENABLE_python: OFF
ENABLE_qt: ON
ENABLE_pyqt4: OFF
ENABLE_tcl: ON
ENABLE_itcl: ON
ENABLE_tk: OFF
ENABLE_itk: OFF
ENABLE_wxwidgets: ON

-- Configuring done

...


Building CXX object drivers/CMakeFiles/wxwidgets.dir/wxwidgets_dev.cpp.o
cd /wrkdirs/usr/ports/math/plplot/work/plplot-5.11.0/drivers &&
/usr/bin/c++   -DPLPLOT_HAVE_CONFIG_H -Dwxwidgets_EXPORTS -O2 -pipe
-D_IS_BUILDING_PLPLOT_PORT_ -fstack-protector -fno-strict-aliasing -O2
-pipe -D_IS_BUILDING_PLPLOT_PORT_ -fstack-protector
-fno-strict-aliasing -fPIC
-I/wrkdirs/usr/ports/math/plplot/work/plplot-5.11.0/include
-I/wrkdirs/usr/ports/math/plplot/work/plplot-5.11.0/lib/qsastime
-I/wrkdirs/usr/ports/math/plplot/work/plplot-5.11.0/lib/nistcd
-I/wrkdirs/usr/ports/math/plplot/work/plplot-5.11.0
-I/usr/local/lib/wx/include/gtk2-ansi-release-2.8
-I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-D__WXGTK__ -D_THREAD_SAFE  -DUSINGDLL -o
CMakeFiles/wxwidgets.dir/wxwidgets_dev.cpp.o -c
/wrkdirs/usr/ports/math/plplot/work/plplot-5.11.0/drivers/wxwidgets_dev.cpp
/wrkdirs/usr/ports/math/plplot/work/plplot-5.11.0/drivers/
wxwidgets.cpp:231:5:
error: unknown type name 'wxPLDevBase'; did you mean 'wxPLDevice'?
    wxPLDevBase* dev;
    ^~~~~~~~~~~
    wxPLDevice
/wrkdirs/usr/ports/math/plplot/work/plplot-5.11.0/drivers/wxwidgets.h:40:7:
note: 'wxPLDevice' declared here
class wxPLDevice
      ^
/wrkdirs/usr/ports/math/plplot/work/plplot-5.11.0/drivers/
wxwidgets.cpp:232:11:
error: use of undeclared identifier 'common_init'
    dev = common_init( pls );
          ^
/wrkdirs/usr/ports/math/plplot/work/plplot-5.11.0/drivers/
wxwidgets.cpp:246:10:
error: no member named 'showGUI' in 'wxPLDevice'
    dev->showGUI    = false;
    ~~~  ^
/wrkdirs/usr/ports/math/plplot/work/plplot-5.11.0/drivers/
wxwidgets.cpp:247:10:
error: no member named 'bitmapType' in 'wxPLDevice'
    dev->bitmapType = wxBITMAP_TYPE_PNG;
    ~~~  ^
4 errors generated.
drivers/CMakeFiles/wxwidgets.dir/build.make:57: recipe for target
'drivers/CMakeFiles/wxwidgets.dir/wxwidgets.cpp.o' failed
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to