Hello all, can anyone please tell me if GCC version matters when compiling osgOcean?, i have a problem compiling it, the error i get is :
make [ 5%] Building CXX object src/osgOcean/CMakeFiles/osgOcean.dir/DistortionSurface.cpp.o /localhome/mgopaludur/OSG/OpenSceneGraph-2.8.3/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’ /localhome/mgopaludur/OSG/OpenSceneGraph-2.8.3/include/osgDB/fstream:44: error: invalid use of undefined type ‘struct std::ifstream’ /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/iosfwd:89: error: declaration of ‘struct std::ifstream’ /localhome/mgopaludur/OSG/OpenSceneGraph-2.8.3/include/osgDB/fstream:56: error: invalid use of undefined type ‘struct std::ofstream’ /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/iosfwd:92: error: declaration of ‘struct std::ofstream’ make[2]: *** [src/osgOcean/CMakeFiles/osgOcean.dir/DistortionSurface.cpp.o] Error 1 make[1]: *** [src/osgOcean/CMakeFiles/osgOcean.dir/all] Error 2 make: *** [all] Error 2 what am i doing wrong?, it will be really nice if someone comes up with an explaination Regards, -- http://www.mahendragr.com
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

