Hi Oliver,

On Tue, 2006-03-07 at 17:37 +0100, Oliver Kutter wrote:
> 
> Does anyone have any experiences with compiling OpenSG 1.6 with gcc 3.2?

No good ones, if that's what you're after...

> I have a Red Hat 8.0 with Kernel 2.4.27 (I know, this one is old) and a Suse 
> 9.2 with Kernel 
> 2.6.8. On the Suse System with gcc 3.3.4, I have no problems compiling 
> OpenSG 1.6. But on the Red Hat System, I get errors when compiling it.
>  
> Here my errors:
>  
> In file included from 
> /home/root/OpenSG-1.6.0/Source/System/NodeCores/Drawables/Geometry/OSGGeoFunctions.cpp:57:
> /home/root/OpenSG-1.6.0/Source/System/NodeCores/Drawables/Geometry/OSGHalfEdgeGraph.h:229:
>  
> syntax error before `*' token
> In file included from 
> /home/root/OpenSG-1.6.0/Source/System/NodeCores/Drawables/Geometry/OSGHalfEdgeGraph.h:242,
> from 
> /home/root/OpenSG-1.6.0/Source/System/NodeCores/Drawables/Geometry/OSGGeoFunctions.cpp:57:
> /home/root/OpenSG-1.6.0/Source/System/NodeCores/Drawables/Geometry/OSGHalfEdgeGraph.inl:
>  
> In constructor `osg::HalfEdgeGraph::TrianglePool::Chunk::Chunk(unsigned int)':
> /home/root/OpenSG-1.6.0/Source/System/NodeCores/Drawables/Geometry/OSGHalfEdgeGraph.inl:220:
> _data' undeclared (first use this function)
> /home/root/OpenSG-1.6.0/Source/System/NodeCores/Drawables/Geometry/OSGHalfEdgeGraph.inl:220:
> (Each undeclared identifier is reported only once for each function it 
> appears in.)
> /home/root/OpenSG-1.6.0/Source/System/NodeCores/Drawables/Geometry/OSGHalfEdgeGraph.inl:
>  
> In member function `osg::HalfEdgeGraph::Triangle*
>    osg::HalfEdgeGraph::TrianglePool::createTriangle()':
> /home/root/OpenSG-1.6.0/Source/System/NodeCores/Drawables/Geometry/OSGHalfEdgeGraph.inl:262:
> class osg::HalfEdgeGraph::TrianglePool::Chunk' has no member named `_data' 
> make[3]: *** [obj-opt/OSGGeoFunctions.o] Fehler 1

We don't officially support 3.2 any more (nobody in the team still has a
machine with 3.2). You can probably try to make it work (for this one I
would try to use more qualified names like HalfEdgeGraph::Triangle
instead of Triangle etc.), but there are probably more probles lurking
behind the scenes, and without a machine we can't really try it
ourselves.

Why don't you just use a newer compiler? Compilers and kernels are
independent, just install a newer compiler on hte old machines and
things will just work.

Yours

        Dirk




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to