I gather by the error messeges you are using gcc-3.4.4 on cygwin.
I have very bad experiance with gcc-3.4 on cygwin. In fact I could not even get octave itself to work after compiling with this compiler. Did you compile octave yourself or use a prebuilt package?
If you used a prebuilt package than
`mkoctfile -p CXX` -v
will tell you the version of gcc used to compile the package.
Anyway, I recomend gcc-3.3 which is also avaiable using the cygwin setup program.
Please tell me if any of this helped you
Shai
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
thanks for your tip, i could compile octplot with gcc-3.3
next error:
toctave:1> toggle_octplot
error: `addpath' undefined near line 72 column 5
error: evaluating if command near line 68, column 3
error: evaluating if command near line 36, column 1
error: near line 90 of file `/usr/local/share/octave/2.9.3/site/m/octplot/toggle_octplot.m'
octave:1>
but i think that's a problem of octave-forge
it is installed, but maybe I should compile it by myself
Thanks a lot
Michael
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This is definetly an octave-forge problem since addpath is from octave-forge. Octplot will not run without octave-forge, and I also generally recommended it.
Shai
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
i compiled octave by myself, with compiler gcc-3.4, Octave Version 2.9.3. But i tried to install octave-forge from the cygwin-setup.. so now, i have two octave installed. 2.1.xx
./configure in octplot tells me, used Octave 2.9.3 so I think, that's not the problem, but it may be better if I uninstall the cygwin version and compile own versions, with compiler gcc3.4
I will tell you, if it works or not
Thanks for your answer
Mike
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi to everybody...
this is my problem... and i don't why..
installed: Octave 2.9.3
Octplot 0.2.61
thanks for any help
from ftglfontmanager.cpp:22:
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/sstream.tcc: In member functi
on `virtual typename std::basic_stringbuf<_CharT, _Traits, _Alloc>::int_type std
::basic_stringbuf<_CharT, _Traits, _Alloc>::overflow(typename _Traits::int_type)
':
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/sstream.tcc:102: error: expec
ted unqualified-id before '(' token
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/sstream.tcc:104: error: expec
ted unqualified-id before '(' token
make[2]: *** [octplot-ftglfontmanager.o] Error 1
make[2]: Leaving directory `/cygdrive/d/Cygwin/octplot-0.2.61/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cygdrive/d/Cygwin/octplot-0.2.61'
make: *** [all] Error 2
I gather by the error messeges you are using gcc-3.4.4 on cygwin.
I have very bad experiance with gcc-3.4 on cygwin. In fact I could not even get octave itself to work after compiling with this compiler. Did you compile octave yourself or use a prebuilt package?
If you used a prebuilt package than
`mkoctfile -p CXX` -v
will tell you the version of gcc used to compile the package.
Anyway, I recomend gcc-3.3 which is also avaiable using the cygwin setup program.
Please tell me if any of this helped you
Shai
thanks for your tip, i could compile octplot with gcc-3.3
next error:
toctave:1> toggle_octplot
error: `addpath' undefined near line 72 column 5
error: evaluating if command near line 68, column 3
error: evaluating if command near line 36, column 1
error: near line 90 of file `/usr/local/share/octave/2.9.3/site/m/octplot/toggle_octplot.m'
octave:1>
but i think that's a problem of octave-forge
it is installed, but maybe I should compile it by myself
Thanks a lot
Michael
This is definetly an octave-forge problem since addpath is from octave-forge. Octplot will not run without octave-forge, and I also generally recommended it.
Shai
Thanks for answer Shai
i compiled octave by myself, with compiler gcc-3.4, Octave Version 2.9.3. But i tried to install octave-forge from the cygwin-setup.. so now, i have two octave installed. 2.1.xx
./configure in octplot tells me, used Octave 2.9.3 so I think, that's not the problem, but it may be better if I uninstall the cygwin version and compile own versions, with compiler gcc3.4
I will tell you, if it works or not
Thanks for your answer
Mike
Ok Shai
now octplot works. I compiled an own version of octave-forge! Also with gcc-3.3 and everything is okay.
Thanks a lot
Mike