Hey,

I'm trying to get osgEarth working with c++ and visual studio 2010.
I have followed all build instructions, built OSG and OSGEarth. Added all 
directories to path, including all depencies they both have.

When I navigate to the osgearth/tests directory using cmd.exe and type: 
osgviewer XXXXX.earth it works, the window opens and I get a nice earth.

However, when I try to use this line in my c++ code:

Code:
osg::ref_ptr< osg::Node > globe = osgDB::readNodeFile("data/graticule.earth");

I get the following error:
Code:
Warning: Could not find plugin to read objects from file "data/graticule.earth".



I moved graticule.earth to a folder named data inside my project's working 
directory.


Thanks,
ThaPear

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=42070#42070





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to