OK, I'm using Fedora 11 now, as i got sick of the issues i was having on the 
laptop using vs, so now I got it to get past the cmake section, but when I try 
to make the 1.0 zip, i get:

[r...@pciii bin]# make install
Scanning dependencies of target osgOcean
[  5%] Building CXX object 
src/osgOcean/CMakeFiles/osgOcean.dir/DistortionSurface.cpp.o
In file included from /usr/include/osgDB/Output:20,
                 from /usr/include/osgDB/DotOsgWrapper:21,
                 from /usr/include/osgDB/Registry:25,
                 from ../../../src/osgOcean/DistortionSurface.cpp:20:
/usr/include/osgDB/fstream:32: error: invalid use of incomplete type ‘struct 
std::fstream’
/usr/lib/gcc/x86_64-redhat-linux/4.4.0/../../../../include/c++/4.4.0/iosfwd:87: 
error: declaration of ‘struct std::fstream’
/usr/include/osgDB/fstream:44: error: invalid use of incomplete type ‘struct 
std::ifstream’
/usr/lib/gcc/x86_64-redhat-linux/4.4.0/../../../../include/c++/4.4.0/iosfwd:81: 
error: declaration of ‘struct std::ifstream’
/usr/include/osgDB/fstream:56: error: invalid use of incomplete type ‘struct 
std::ofstream’
/usr/lib/gcc/x86_64-redhat-linux/4.4.0/../../../../include/c++/4.4.0/iosfwd:84: 
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
[r...@pciii bin]# make
[  5%] Building CXX object 
src/osgOcean/CMakeFiles/osgOcean.dir/DistortionSurface.cpp.o
In file included from /usr/include/osgDB/Output:20,
                 from /usr/include/osgDB/DotOsgWrapper:21,
                 from /usr/include/osgDB/Registry:25,
                 from ../../../src/osgOcean/DistortionSurface.cpp:20:
/usr/include/osgDB/fstream:32: error: invalid use of incomplete type ‘struct 
std::fstream’
/usr/lib/gcc/x86_64-redhat-linux/4.4.0/../../../../include/c++/4.4.0/iosfwd:87: 
error: declaration of ‘struct std::fstream’
/usr/include/osgDB/fstream:44: error: invalid use of incomplete type ‘struct 
std::ifstream’
/usr/lib/gcc/x86_64-redhat-linux/4.4.0/../../../../include/c++/4.4.0/iosfwd:81: 
error: declaration of ‘struct std::ifstream’
/usr/include/osgDB/fstream:56: error: invalid use of incomplete type ‘struct 
std::ofstream’
/usr/lib/gcc/x86_64-redhat-linux/4.4.0/../../../../include/c++/4.4.0/iosfwd:84: 
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


I'm using fftw3 as the selected library, the other 2 are unchecked.

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=16164#16164





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to