On 2015-03-27 13:48-0000 Phil Rosenberg wrote:

> Hi all
> I just tried to build on a system which has octave installed and got
> the following errors:
>
> Scanning dependencies of target plplot_octave
>
> [ 20%] Building CXX object
> bindings/octave/CMakeFiles/plplot_octave.dir/plplot_octaveOCTAVE_wrap.cxx.o
>
> /home/users/prosenberg01/usr/src/plplot-plplot/build/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:1480:
> error: invalid covariant return type for ‘virtual Octave_map
> octave_swig_type::map_value() const’
>
> /usr/include/octave-3.6.4-rc0/octave/ov-base.h:562: error: overriding
> ‘virtual octave_map octave_base_value::map_value() const’
>
> /home/users/prosenberg01/usr/src/plplot-plplot/build/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:1688:
> error: invalid covariant return type for ‘virtual Octave_map
> octave_swig_ref::map_value() const’
>
> /usr/include/octave-3.6.4-rc0/octave/ov-base.h:562: error: overriding
> ‘virtual octave_map octave_base_value::map_value() const’
>
> make[2]: *** 
> [bindings/octave/CMakeFiles/plplot_octave.dir/plplot_octaveOCTAVE_wrap.cxx.o]
> Error 1
>
> make[1]: *** [bindings/octave/CMakeFiles/plplot_octave.dir/all] Error 2
>
> make: *** [all] Error 2
>
>
> As it happens I don't need Octave so I can just switch it off, but I
> thought I had better report this in case it affects release. The
> machine is running RHEL, so it might be the version is qute old (3.6 I
> guess from the error message above) so perhaps it is an unsupported
> release.

Hi Phil:

Thanks for your test report.  Actually, I am testing octave 3.6.2 here
with no issues.  So your octave version is (slightly) later, and I
think Andrew has tested even a later octave version with no issues so
I doubt the issue is your octave version.  However, it might easily be
a swig version issue. I am using 2.0.7 successfully here.

What version of swig are you using there?

The reason I ask is we know there are some historical swig versions
that are just plain incompatible with octave.

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
__________________________

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to