Hi Bryan,
Are you using windows? It looks like there has been a hiccup on the
installed osgPlugins name such that the default search paths for the
plugins isn't working out of the box as it should. As a work around
you'll need to add the path to lib/osgPlugins-version into your system
paths.
Robert.
On 6/28/07, Bryan Berg <[EMAIL PROTECTED]> wrote:
Hi,
When I try running this example app I get an error message saying that it
cannot find the plugin to read the objects from file "cessna.osg".
I'm not sure if this means that it cannot find "cessna.osg" or something
else.
I do indeed have that file and put its path in the PATH variable.
The code that generates this error is:
// if not loaded assume no arguments passed in, try use default mode instead.
if (!rootnode) rootnode = osgDB::readNodeFile("cessna.osg");
if (!rootnode)
{
osg::notify(osg::NOTICE)<<"Please specify a model filename on the
command line."<<std::endl;
return 1;
}
Thanks,
Bryan
Bryan Berg
The Salk Institute LOG-G
10010 N. Torrey Pines Rd
La Jolla CA 92037
Phone: 858 453-4100 x 1435
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/