Just a heads up that currently swig does not support octave 4.2.  You 
get errors like:

[ 10%] Building CXX object 
bindings/octave/CMakeFiles/plplot_octave.dir/plplot_octaveOCTAVE_wrap.cxx.o
cd /builddir/build/BUILD/plplot-5.11.1-7756f60/fedora/bindings/octave && 
/usr/lib64/ccache/c++   -DPLPLOT_HAVE_CONFIG_H -Dplplot_octave_EXPORTS 
-I/builddir/build/BUILD/plplot-5.11.1-7756f60/include 
-I/builddir/build/BUILD/plplot-5.11.1-7756f60/lib/qsastime 
-I/builddir/build/BUILD/plplot-5.11.1-7756f60/fedora 
-I/builddir/build/BUILD/plplot-5.11.1-7756f60/fedora/include 
-I/builddir/build/BUILD/plplot-5.11.1-7756f60/fedora/bindings/octave 
-I/usr/include/octave-4.2.0 -I/usr/include/octave-4.2.0/octave 
-I/builddir/build/BUILD/plplot-5.11.1-7756f60/bindings/swig-support  -O2 
-g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 
-fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
-grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 
-m64 -mtune=generic -fPIC   -o 
CMakeFiles/plplot_octave.dir/plplot_octaveOCTAVE_wrap.cxx.o -c 
/builddir/build/BUILD/plplot-5.11.1-7756f60/fedora/bindings/octave/plplot_octaveOCTAVE_wrap.cxx
In file included from 
/builddir/build/BUILD/plplot-5.11.1-7756f60/fedora/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:181:0:
/usr/include/octave-4.2.0/octave/toplev.h:28:2: warning: #warning 
"toplev.h has been deprecated; use interpreter.h instead" [-Wcpp]
  #warning "toplev.h has been deprecated; use interpreter.h instead"
   ^~~~~~~
/builddir/build/BUILD/plplot-5.11.1-7756f60/fedora/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:
 
In function 'void SWIG_InstallBinaryOps(int, int)':
/builddir/build/BUILD/plplot-5.11.1-7756f60/fedora/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:2099:46:
 
error: 'op_lshift' is not a member of 'octave_value'
  if 
(!octave_value_typeinfo::lookup_binary_op(octave_value::op_##name,tid1,tid2)) 
\
                                               ^
/builddir/build/BUILD/plplot-5.11.1-7756f60/fedora/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:2147:5:
 
note: in expansion of macro 'swigreg_binary_op'
      swigreg_binary_op(lshift);
      ^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/plplot-5.11.1-7756f60/fedora/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:2100:43:
 
error: 'op_lshift' is not a member of 'octave_value'
 
octave_value_typeinfo::register_binary_op(octave_value::op_##name,tid1,tid2,swig_binary_op_##name);
                                            ^
/builddir/build/BUILD/plplot-5.11.1-7756f60/fedora/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:2147:5:
 
note: in expansion of macro 'swigreg_binary_op'
      swigreg_binary_op(lshift);
      ^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/plplot-5.11.1-7756f60/fedora/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:2099:46:
 
error: 'op_rshift' is not a member of 'octave_value'
  if 
(!octave_value_typeinfo::lookup_binary_op(octave_value::op_##name,tid1,tid2)) 
\
                                               ^
/builddir/build/BUILD/plplot-5.11.1-7756f60/fedora/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:2148:5:
 
note: in expansion of macro 'swigreg_binary_op'
      swigreg_binary_op(rshift);
      ^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/plplot-5.11.1-7756f60/fedora/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:2100:43:
 
error: 'op_rshift' is not a member of 'octave_value'
 
octave_value_typeinfo::register_binary_op(octave_value::op_##name,tid1,tid2,swig_binary_op_##name);
                                            ^
/builddir/build/BUILD/plplot-5.11.1-7756f60/fedora/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:2148:5:
 
note: in expansion of macro 'swigreg_binary_op'
      swigreg_binary_op(rshift);
      ^~~~~~~~~~~~~~~~~


See https://github.com/swig/swig/issues/847

-- 
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

------------------------------------------------------------------------------
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