On 06/27/2013 11:44 AM, RCY wrote: > 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
I'm seeing the same now with octave 3.8.0-rc2. -- Orion Poplawski Technical Manager 303-415-9701 x222 NWRA/CoRA Division FAX: 303-415-9702 3380 Mitchell Lane or...@cora.nwra.com Boulder, CO 80301 http://www.cora.nwra.com ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel