[osg-users] ViewerBase.cpp

Mihai Radu radu at cm-labs.com
Tue Oct 2 15:39:30 PDT 2007

Compiling in Xp Vs 2005:
> error C4716: 'osgViewer::ViewerBase::run' : must return a value
It looks like it expects an int for return value.
I assume that it returns the same value the program will return when
done(), so at line 553 add:
return 0;

It's surely a small oversight.

Mihai Radu

More information about the osg-users mailing list