Re: [Opensg-users] a beginner problem

2004-12-07 Thread Dirk Reiners
Hi Jo, On Tue, 2004-12-07 at 17:49, Jo Bard wrote: > Hello, > > i'm not such a beginner but i'm currently in front of a stupid problem that > seriously annoys me : i want to use a SimpleMaterial and my compiler forbids > the setCore() operation : here's my code : > > Sim

Re: [Opensg-users] a beginner problem

2004-12-07 Thread Akos Balazs
Hi Jo, On Wed, 8 Dec 2004, Jo Bard wrote: > and my compiler's message is : > no matching function for call to > 'osg::Node::setCore(osg::SimpleMaterialPtr&)' > .../OpenSG/OSGNodeImpl.h:116: error: candidates are: void > osg::Node::setCore(const osg::NodeCorePtr&) > > i don't understand. I include

[Opensg-users] a beginner problem

2004-12-07 Thread Jo Bard
Hello, i'm not such a beginner but i'm currently in front of a stupid problem that seriously annoys me : i want to use a SimpleMaterial and my compiler forbids the setCore() operation : here's my code : SimpleMaterialPtr materialCore = SimpleMaterial::create();