Added osgViewerGetVersion() usage to force Windows to link osgViewer.

This commit is contained in:
Robert Osfield 2007-12-10 16:14:21 +00:00
parent f69a48e552
commit a59790ed6e

View File

@ -21,6 +21,7 @@
#include <osgUtil/SmoothingVisitor>
#include <osgViewer/GraphicsWindow>
#include <osgViewer/Version>
#include <iostream>
@ -118,7 +119,7 @@ public:
MyGraphicsContext context;
if (!context.valid())
{
osg::notify(osg::NOTICE)<<"Error: Unable to create graphis context - cannot run compression"<<std::endl;
osg::notify(osg::NOTICE)<<"Error: Unable to create graphis context, problem with running osgViewer-"<<osgViewerGetVersion()<<", cannot run compression."<<std::endl;
return;
}