c:\dev\openscenegraphsvn\openscenegraph\src\osgviewer\viewerbase.cpp(555) :
error C4716: 'osgViewer::ViewerBase::run' : must return a value
i just added: "return 0;"
int ViewerBase::run()
{
if (!isRealized())
{
realize();
}
#if 0
while (!done())
{
frame();
}
#else
const char* str = getenv("OSG_RUN_FRAME_COUNT");
if (str)
{
int runTillFrameNumber = atoi(str);
while (!done() &&
getViewerFrameStamp()->getFrameNumber()<runTillFrameNumber)
{
frame();
}
}
else
{
while (!done())
{
frame();
}
}
#endif
return 0; //must return a value fix !!!!!!
}
then every thing works well, testes runexamples.bat ok (Visual Studio 2003
.NET)
2007/10/2, Shue, John <[EMAIL PROTECTED]>:
>
> On FreeBSD 6.2-STABLE, the latest SVN version of OSG compiles w/o error
> and "osgviewer cow.osg" runs. No time for more in depth testing at this
> time.
>
> -john
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Robert
> Osfield
> Sent: Tuesday, October 02, 2007 5:30 PM
> To: OpenSceneGraph Users
> Subject: [osg-users] Please test SVN version of OpenSceneGraph
>
> Hi All,
>
> I have checked in a number of potentially breaking changes today.
> Almost all made to try and fix things that were previous broken, so
> fingers crossed we'll be a couple steps further ahead then we were for
> 2.1.13, but only testing will tell how successful this has been.
>
> Key changes are:
>
> include/osg/GLU now has a new setting of the tesselator callback
>
> CMake support for Qt3/Qt4 should now be improved.
>
> CMake support for plugins under Mingw + Cygwin should now be
> improved.
>
> Fix/feature enhancement to ShadowMap
>
> Viewer/CompositeViewer refectoring has been completed, now both share
> all their threading and rendering support with each other via the new
> ViewerBase class from which they both inherit. This means
> CompositeViewer now supports all the threading models that Viewer
> does. The code is based on the original Viewer code so hopefully it
> will be sound.
>
> Now all of the above could throw a spanner in the works for the
> various platforms. I have tried to be careful with these merging
> these changes, but there is always a chance of some things going
> astray. Things work for me under Linux, but as ever I need feedback
> on:
>
> Windows - VS
> Windows - Mingw
> Windows - Cygwin
> Linux - various
> OSX - Cmake
> OSX - XCode
> FreeBSD
> HP-UX
> AIX
> Solaris
> IRIX.
>
> Please test tonight. All going well tomorrow morning I'll tagg 2.1.14.
>
> Thanks for your help,
> Robert.
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.or
> g
> This communication, along with any attachments, is covered by federal and
> state law governing electronic communications and may contain company
> proprietary and legally privileged information.
> If the reader of this message is not the intended recipient, you are
> hereby notified that any dissemination, distribution, use or copying of this
> message is strictly prohibited.
> If you have received this in error, please reply immediately to the sender
> and delete this message. Thank you.
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
--
********************************************
Adrian Egli
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org