Hi,
I'm reading OpenSceneGraph 3.0 Beginners Guide. When I tried to run the
first sample program, I get the following error:
"The program can't start because osg80-osgDBd.dll is missing ...."
But I have configured all environment variables correctly as given.
%OSG_BIN_PATH% is declared and also appended to PATH. I could locate the
particular file inside /bin directory.
Here's the code:
#include <osgDB/ReadFile>
#include <osgViewer/Viewer>
int main(int argc, char** argv){
osgViewer::Viewer viewer;
viewer.setSceneData(osgDB::readNodeFile("cessna.osg"));
return viewer.run();
}
PS: I'm also trying to figure out why calling "osgviewer" and "osgversion"
didn't work in CMD. Any idea?
Thanks
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org