Hello Mahendra,
I was trying to build osgOcean but had some problems, i wanted to know
which version of gcc is being used (or does it matter?), currently i
have gcc 4.1.2, when i try to build osgOcean, i get the following error,
/opt/openscenegraph/2.8/include/osgDB/fstream:32: error: invalid use of
undefined type ‘struct std::fstream’
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/iosfwd:95:
error: declaration of ‘struct std::fstream’
The error is occuring in an OSG header, not in osgOcean code... Did you
compile OSG yourself or did you get it from a package system? Normally
if you compiled it yourself it should have given you the same error...
J-S
--
______________________________________________________
Jean-Sebastien Guay [email protected]
http://www.cm-labs.com/
http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org