About 6 months ago, Paul Kienzle posted an example of using the
minimum code
necessary to enbed Octave in another application. I was able to
compile it back
then, but can't get it to compile now. I tried going back to the
version of
Octave from when he posted the link, but it still didn't work, so I am
assuming
it has something to do with updates in the compiler. Here is the link
again for
the download:
http://octave.sf.net/octave_embed.tar.gz
It is giving me errors similar to the following:
/usr/local/lib/octave-2.1.57/
liboctinterp.a(builtins.o)(.text+0x30497): In funct
ion `_Z16install_fft_fcnsv':
/usr/local/include/c++/3.3.3/bits/stl_alloc.h:652: undefined reference
to `Ffft(
octave_value_list const&, int)'
/usr/local/lib/octave-2.1.57/
liboctinterp.a(builtins.o)(.text+0x3054d):/usr/loca
l/include/c++/3.3.3/bits/stl_alloc.h:652: undefined reference to
`Fifft(octave_v
alue_list const&, int)'
/usr/local/lib/octave-2.1.57/
liboctinterp.a(builtins.o)(.text+0x30bf7): In funct
ion `_Z17install_fft2_fcnsv':
/usr/local/include/c++/3.3.3/bits/stl_alloc.h:652: undefined reference
to `Ffft2
(octave_value_list const&, int)'
There are a whole bunch more of these with different functions.
John Swensen
jswensen at intergate dot com
-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/