Hello Sajjadul,

Sajjadul Islam wrote:
> Hello,
> 
> I am new in the arena of SceneGraph and the tutorial is adding a little
> bit more pain as my learning curve is getting more and more steeper.
> 
> As usual copied a code snippet from the daily build tutorial and end up
> with thsse errorrs.....

as already mentioned the code and code snippets in the tutorial a not
compiled as part of the dailybuilds so generally it is not easy to
notice if they break.
In this particular case a rather subtle change caused the breakage: the
constructor RefPtr<FCPtrType>(const FCPtrType &fcp) was made explicit.
Your program will compile if you replace lines like this

        RefPtr<NodePtr> c = parent->getChild(childnum);

with

        RefPtr<NodePtr> c(parent->getChild(childnum));

Generally most information in the tutorial is still valid although in
some cases not fully up to date. The problem seems to be that everyone
who got over the initial bumps did not feel sufficiently motivated to
make that road easier for the next beginner.
Anyway, please keep asking if you encounter more problems, we'll try our
best to help.

        Carsten

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to