<subject: octplot-svn481 compile fails under octave-3.0.1 />
2008.06.23.21:12:34 UT
Hello octplot folks,
I am re-installing the octplot-svn481 after upgrading to
octave-3.0.1 under cygwin-1.5.25-15. I previously had octplot-svn481
installed and working well under octave-2.1.73. I have left my suite
of compilers at gcc-3.3.3-3. My procedure was:
-- 'make uninstall' the old svn481
-- upgrade cygwin and octave to the newer versions
-- svn checkout a fresh copy of the svn481
-- 'autoreconf'
-- './configure'
-- 'make'
The 'make' compilation failed after a point. I am sending to
you the output generated by the makefile from the point where things
went a little wrong. Also inform me as to whether I should now
upgrade to the newer gcc-3.4.4-3 suite of compilers.
Thanks,
George Barrick gbarrick@kent.edu
<file: make_errors.txt>
g++ -I/usr/include/freetype2 -DFTGL_LIBRARY_STATIC -mwindows -DWIN32
-O2 -pipe -g -O2 -lfreetype -lz -o octplot.exe octplot-axes.o
gl2ps.o octplot-prop_bool.o octplot-prop_string.o
octplot-caselessless.o octplot-line.o octplot-prop_color.o
octplot-object.o octplot-prop_handle.o octplot-root.o
octplot-figure.o octplot-octplot_main.o octplot-prop_matrix.o
octplot-socketcom.o octplot-figurewindow.o octplot-octplotapp.o
octplot-prop_radio.o octplot-text.o octplot-ftglfontmanager.o
octplot-op_com.o octplot-prop_scalar.o octplot-util.o
octplot-line_plotter.o octplot-patch.o octplot-mathutils.o
octplot-surface.o octplot-legend.o octplot-ticks.o
octplot-prop_colorradio.o octplot-FTGLExtrdFont.o
octplot-FTOutlineGlyph.o octplot-FTBitmapGlyph.o
octplot-FTGLOutlineFont.o octplot-FTPixmapGlyph.o
octplot-FTCharmap.o octplot-FTGLPixmapFont.o octplot-FTPoint.o
octplot-FTContour.o octplot-FTGLPolygonFont.o
octplot-FTPolyGlyph.o octplot-FTExtrdGlyph.o
octplot-FTGLTextureFont.o octplot-FTSize.o octplot-FTFace.o
octplot-FTGlyph.o octplot-FTTextureGlyph.o octplot-FTFont.o
octplot-FTGlyphContainer.o octplot-FTVectoriser.o
octplot-FTLibrary.o octplot-FTGLBitmapFont.o
-mwindows -lfltk_gl -lglu32 -lopengl32 -lfltk -lole32 -luuid
-lcomctl32 -lwsock32 -lfreetype -lz
/usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/../../../../i686-pc-cygwin/bin/ld:
warning: auto-importing has been activated without
--enable-auto-import specified on the command line.
This should work unless it involves constant data structures referencing
symbols from auto-imported DLLs.Info: resolving vtable for
Fl_Gl_Windowby linking to __imp___ZTV12Fl_Gl_Window
(auto-import)
Info: resolving Fl::e_keysym
by linking to __imp___ZN2Fl8e_keysymE (auto-import)
Info: resolving Fl::e_clicks
by linking to __imp___ZN2Fl8e_clicksE (auto-import)
Info: resolving Fl::e_state
by linking to __imp___ZN2Fl7e_stateE (auto-import)
Info: resolving Fl::e_x
by linking to __imp___ZN2Fl3e_xE (auto-import)
Info: resolving Fl::e_y
by linking to __imp___ZN2Fl3e_yE (auto-import)
Info: resolving vtable for Fl_Input
by linking to __imp___ZTV8Fl_Input (auto-import)
mkoctfile -v -c octplot_command.cc
g++ -c -I/usr/include/hdf5 -I/usr/include/octave-3.0.1
-I/usr/include/octave-3.0.1/octave -mieee-fp -O2 -pipe
octplot_command.cc -o octplot_command.o
In file included from /usr/include/octave-3.0.1/octave/oct-obj.h:33,
from /usr/include/octave-3.0.1/octave/ov-fcn.h:33,
from /usr/include/octave-3.0.1/octave/ov-builtin.h:29,
from /usr/include/octave-3.0.1/octave/defun-int.h:29,
from /usr/include/octave-3.0.1/octave/defun-dld.h:31,
from /usr/include/octave-3.0.1/octave/oct.h:35,
from octplot_command.cc:18:
/usr/include/octave-3.0.1/octave/ov.h:34:18: hdf5.h: No such file or
directory
In file included from /usr/include/octave-3.0.1/octave/ov.h:59,
from /usr/include/octave-3.0.1/octave/oct-obj.h:33,
from /usr/include/octave-3.0.1/octave/ov-fcn.h:33,
from /usr/include/octave-3.0.1/octave/ov-builtin.h:29,
from /usr/include/octave-3.0.1/octave/defun-int.h:29,
from /usr/include/octave-3.0.1/octave/defun-dld.h:31,
from /usr/include/octave-3.0.1/octave/oct.h:35,
from octplot_command.cc:18:
/usr/include/octave-3.0.1/octave/ov-base.h:34:18: hdf5.h: No such file
or directory
In file included from /usr/include/octave-3.0.1/octave/ov.h:59,
from /usr/include/octave-3.0.1/octave/oct-obj.h:33,
from /usr/include/octave-3.0.1/octave/ov-fcn.h:33,
from /usr/include/octave-3.0.1/octave/ov-builtin.h:29,
from /usr/include/octave-3.0.1/octave/defun-int.h:29,
from /usr/include/octave-3.0.1/octave/defun-dld.h:31,
from /usr/include/octave-3.0.1/octave/oct.h:35,
from octplot_command.cc:18:
/usr/include/octave-3.0.1/octave/ov-base.h:434: error: `hid_t' was not
declared in this scope
/usr/include/octave-3.0.1/octave/ov-base.h:434: error: parse error
before `,' token
/usr/include/octave-3.0.1/octave/ov-base.h:437: error: `hid_t' was not
declared in this scope
/usr/include/octave-3.0.1/octave/ov-base.h:437: error: parse error
before `,' token
In file included from /usr/include/octave-3.0.1/octave/oct-obj.h:33,
from /usr/include/octave-3.0.1/octave/ov-fcn.h:33,
from /usr/include/octave-3.0.1/octave/ov-builtin.h:29,
from /usr/include/octave-3.0.1/octave/defun-int.h:29,
from /usr/include/octave-3.0.1/octave/defun-dld.h:31,
from /usr/include/octave-3.0.1/octave/oct.h:35,
from octplot_command.cc:18:
/usr/include/octave-3.0.1/octave/ov.h:826: error: `hid_t' was not
declared in this scope
/usr/include/octave-3.0.1/octave/ov.h:826: error: parse error before
`,' token
/usr/include/octave-3.0.1/octave/ov.h:829: error: `hid_t' was not
declared in this scope
/usr/include/octave-3.0.1/octave/ov.h:829: error: parse error before
`,' token
/usr/include/octave-3.0.1/octave/ov.h: In member function
`bool octave_value::save_hdf5(...)':
/usr/include/octave-3.0.1/octave/ov.h:827: error: `loc_id' undeclared
(first use this function)
/usr/include/octave-3.0.1/octave/ov.h:827: error: (Each undeclared
identifier is reported only once for each function it
appears in.)
/usr/include/octave-3.0.1/octave/ov.h:827: error: `name' undeclared
(first use this function)
/usr/include/octave-3.0.1/octave/ov.h:827: error: `save_as_floats'
undeclared (first use this function)
/usr/include/octave-3.0.1/octave/ov.h: In member function `bool
octave_value::load_hdf5(...)':
/usr/include/octave-3.0.1/octave/ov.h:831: error: `have_h5giterate_bug'
undeclared (first use this function)
In file included from octplot_command.cc:37:
../config.h:62:1: warning: "PACKAGE_NAME" redefined
In file included from /usr/include/octave-3.0.1/octave/oct.h:31,
from octplot_command.cc:18:
/usr/include/octave-3.0.1/octave/config.h:817:1: warning: this is the
location of the previous definition
In file included from octplot_command.cc:37:
../config.h:65:1: warning: "PACKAGE_STRING" redefined
In file included from /usr/include/octave-3.0.1/octave/oct.h:31,
from octplot_command.cc:18:
/usr/include/octave-3.0.1/octave/config.h:820:1: warning:
this is the location of the previous definition
In file included from octplot_command.cc:37:
../config.h:68:1: warning: "PACKAGE_TARNAME" redefined
In file included from /usr/include/octave-3.0.1/octave/oct.h:31,
from octplot_command.cc:18:
/usr/include/octave-3.0.1/octave/config.h:823:1: warning:
this is the location of the previous definition
In file included from octplot_command.cc:37:
../config.h:71:1: warning: "PACKAGE_VERSION" redefined
In file included from /usr/include/octave-3.0.1/octave/oct.h:31,
from octplot_command.cc:18:
/usr/include/octave-3.0.1/octave/config.h:826:1: warning:
this is the location of the previous definition
make[2]: *** [octplot_command.o] Error 1
make[2]: Leaving directory `/usr/src/octplot-0.4.1-svn481/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/octplot-0.4.1-svn481'
make: *** [all] Error 2
</file>
Logged In: YES
user_id=136223
Originator: NO
Hi
I'm afraid octplot is not compatible with octave version 3.x.x There have been numerous changes to octave internal data strictures in the move from 2.9.x to 3.0.0 and porting octplot will be far from trivial.
I also think such a port to be unnecessary since octave 3.0.1 provides a very nice subset of handle graphics built-in, and future releases will also include a native backend instead of gnuplot
Shai