On Wed, May 7, 2008 at 12:45 PM, David Jurado <[EMAIL PROTECTED]> wrote:

> Good morning,
> I need help, I am trying to compile OSG, but I can't. My IDE is Eclipse
> Platform Version: 3.3.2. When I try to build this project, it show the
> following messages:
>
> **** Build of configuration Debug for project OSG ****
>
> **** Internal Builder is used for build               ****
> g++ -IC:\OpenSceneGraph-2.4.0\include -O0 -g3 -Wall -c -fmessage-length=0
> -oosgWrappers\osg\NodeCallback.o ..\osgWrappers\osg\NodeCallback.cpp
> In file included from
> C:/OpenSceneGraph-2.4.0/include/osgIntrospection/variant_cast:19,
>                  from
> C:/OpenSceneGraph-2.4.0/include/osgIntrospection/InstanceCreator:19,
>                  from
> C:/OpenSceneGraph-2.4.0/include/osgIntrospection/Reflector:24,
>                  from
> C:/OpenSceneGraph-2.4.0/include/osgIntrospection/ReflectionMacros:19,
>                  from ..\osgWrappers\osg\NodeCallback.cpp:8:
> C:/OpenSceneGraph-2.4.0/include/osgIntrospection/ReaderWriter:66: error:
> ISO C++ forbids declaration of `wostream' with no type
> C:/OpenSceneGraph-2.4.0/include/osgIntrospection/ReaderWriter:66: error:
> invalid use of `::'
> C:/OpenSceneGraph-2.4.0/include/osgIntrospection/ReaderWriter:66: error:
> `wostream' declared as a `virtual' field
> C:/OpenSceneGraph-2.4.0/include/osgIntrospection/ReaderWriter:66: error:
> expected `;' before '&' token
> C:/OpenSceneGraph-2.4.0/include/osgIntrospection/ReaderWriter:69: error:
> expected `;' before "virtual"
> C:/OpenSceneGraph-2.4.0/include/osgIntrospection/ReaderWriter:69: error:
> ISO C++ forbids declaration of `wistream' with no type
> C:/OpenSceneGraph-2.4.0/include/osgIntrospection/ReaderWriter:69: error:
> invalid use of `::'
> C:/OpenSceneGraph-2.4.0/include/osgIntrospection/ReaderWriter:69: error:
> `wistream' declared as a `virtual' field
> C:/OpenSceneGraph-2.4.0/include/osgIntrospection/ReaderWriter:69: error:
> expected `;' before '&' token
> C:/OpenSceneGraph-2.4.0/include/osgIntrospection/ReaderWriter:72: error:
> expected `;' before "virtual"
> C:/OpenSceneGraph-2.4.0/include/osgIntrospection/ReaderWriter:121: error:
> ISO C++ forbids declaration of `wostream' with no type
> C:/OpenSceneGraph-2.4.0/include/osgIntrospection/ReaderWriter:121: error:
> invalid use of `::'
> C:/OpenSceneGraph-2.4.0/include/osgIntrospection/ReaderWriter:121: error:
> `wostream' declared as a `virtual' field
> C:/OpenSceneGraph-2.4.0/include/osgIntrospection/ReaderWriter:121: error:
> expected `;' before '&' token
> C:/OpenSceneGraph-2.4.0/include/osgIntrospection/ReaderWriter:126: error:
> expected `;' before "virtual"
> C:/OpenSceneGraph-2.4.0/include/osgIntrospection/ReaderWriter:126: error:
> ISO C++ forbids declaration of `wistream' with no type
> C:/OpenSceneGraph-2.4.0/include/osgIntrospection/ReaderWriter:126: error:
> invalid use of `::'
> C:/OpenSceneGraph-2.4.0/include/osgIntrospection/ReaderWriter:126: error:
> `wistream' declared as a `virtual' field
> C:/OpenSceneGraph-2.4.0/include/osgIntrospection/ReaderWriter:126: error:
> expected `;' before '&' token
> C:/OpenSceneGraph-2.4.0/include/osgIntrospection/ReaderWriter:132: error:
> expected `;' before "virtual"
> Build error occurred, build is stopped
>
>
> Please, somebody help me.


David,

Still having issues with this?  What platform are you compiling for
(compiler version, O/S, etc.)?

Are you compiling the OSG from within Eclipse using CMake generated
makefiles?  See this wiki page for setup details using CMake 2.4.x generated
Makefiles with Eclipse.
http://www.cmake.org/Wiki/CMake:Eclipse

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

Reply via email to