Hi,

Here is the link to the Errors that I get. http:// pastebin. com /0Z6Zk553

Following is the code that I compile.

Code:
#include <iostream>
#include<iostream>
#include<osg/Group>
#include<osg/Node>
#include<osgDB/ReadFile>
#include<osgViewer/Viewer>
#include<osgGA/TrackballManipulator>

int
main()
{
        //create a viewer
        osgViewer::Viewer viewer;
        viewer.setCameraManipulator(
                new
                osgGA::TrackballManipulator());
        // Load a model
        osg::Node* modelNode = osgDB::readNodeFile("cow.osg");
        if
                (!modelNode)
        {
                std::cout <<" could not find model "<< std::endl;
                return  0;
        }
        osg::Group* root =      new     osg::Group();
        root->addChild(modelNode);
        viewer.setSceneData(root);
        while
                (!viewer.done())
        {
                viewer.frame();
        }
}



I tried  /MD also but same problem.

Thank you!

Cheers,
Diwas[/code]

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




_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to