On 16 November 2016 at 11:50, Rambabu Repaka <ramboram...@gmail.com> wrote: > Hi,I got the answer for my question.In the compass node creation sample code > two errors are there. > > First one: replace Compass(); with > compass(void) > { > } > second one: Replace virtual ~Compass() with > Compass::~Compass(void) > { > }
Neither of the above are an error, it's perfectly correct and legal C++ to not use void. The OSG uses constructors and destructor’s without void and doesn't have a problem with users linking to it. There must be something odd about your particular compile set up or how you've tweaked the code. As you've not provided any information about compilers or linking there is no way others can actually tell you want the actual problem is. Robert. _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org