Hi,
 I am trying to build the development version of plplot with octave
bindings. However I get numerous errors.
Is the version incompatible with later versions of octave?

Thanks

[ 71%] Building CXX object
bindings/octave/CMakeFiles/plplot_octave.dir/plplot_octaveOCTAVE_wrap.cxx.o
In file included from /usr/local/include/octave-3.7.5/octave/dim-vector.h:35:0,
                 from /usr/local/include/octave-3.7.5/octave/Array.h:35,
                 from /usr/local/include/octave-3.7.5/octave/boolMatrix.h:27,
                 from /usr/local/include/octave-3.7.5/octave/mx-base.h:32,
                 from /usr/local/include/octave-3.7.5/octave/Matrix.h:30,
                 from /usr/local/include/octave-3.7.5/octave/oct.h:33,
                 from
/home/rc/Downloads/plplot/build/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:154:
/usr/local/include/octave-3.7.5/octave/oct-refcount.h:27:3: error:
#error "The file <octave/config.h> must be included before
oct-refcount.h."
In file included from /usr/local/include/octave-3.7.5/octave/mx-base.h:28:0,
                 from /usr/local/include/octave-3.7.5/octave/Matrix.h:30,
                 from /usr/local/include/octave-3.7.5/octave/oct.h:33,
                 from
/home/rc/Downloads/plplot/build/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:154:
/usr/local/include/octave-3.7.5/octave/MatrixType.h:36:1: error:
variable ‘OCTAVE_API MatrixType’ has initializer but incomplete type
/usr/local/include/octave-3.7.5/octave/MatrixType.h:36:1: warning:
extended initializer lists only available with -std=c++11 or
-std=gnu++11 [enabled by default]
/usr/local/include/octave-3.7.5/octave/MatrixType.h:38:1: error:
expected primary-expression before ‘public’
/usr/local/include/octave-3.7.5/octave/MatrixType.h:38:1: error:
expected ‘}’ before ‘public’
/usr/local/include/octave-3.7.5/octave/MatrixType.h:38:1: error:
expected ‘,’ or ‘;’ before ‘public’
/usr/local/include/octave-3.7.5/octave/MatrixType.h:56:20: error:
expected constructor, destructor, or type conversion before ‘;’ token
/usr/local/include/octave-3.7.5/octave/MatrixType.h:58:21: error:
‘MatrixType’ does not name a type

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to