<div dir="ltr">Hi Diwas,<div>as you don't mention it I think you did not create a x64 configuration for your project, the default new project is a 32 bit project.</div><div>In visual studio in below the menus is a bar with two drop down lists, one with "Release" and one with "Win32", below the Win32 is an option called "Configuration manager" hiding the option to generate a x64 version of your project.</div><div>Regards, Laurens.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 22, 2016 at 5:09 PM, Diwas Bhattarai <span dir="ltr"><<a href="mailto:osgforum@tevs.eu" target="_blank">osgforum@tevs.eu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div>
<div>Hi,<br>
<br>
Here is the link to the Errors that I get. <a>http://</a> pastebin. com /0Z6Zk553<br>
<br>
Following is the code that I compile.<br>
<br><table width="90%" cellspacing="1" cellpadding="3" border="0" align="center"><tbody><tr> <td><span><b>Code:</b><br>
<br>
<br>
</span></td><td><br>
</td></tr><tr><td><br>
</td></tr><tr>
<td><br>
#include <u></u><br>
#include<u></u><br>
#include<u></u><br>
#include<u></u><br>
#include<u></u><br>
#include<u></u><br>
#include<u></u><br>
<br>
int<br>
main()<br>
{<br>
//create a viewer<br>
osgViewer::Viewer viewer;<br>
viewer.setCameraManipulator(<br>
new<br>
osgGA::TrackballManipulator());<br>
// Load a model<br>
osg::Node* modelNode = osgDB::readNodeFile("cow.osg");<br>
if<br>
(!modelNode)<br>
{<br>
std::cout <<" could not find model "<< std::endl;<br>
return 0;<br>
}<br>
osg::Group* root = new osg::Group();<br>
root->addChild(modelNode);<br>
viewer.setSceneData(root);<br>
while<br>
(!viewer.done())<br>
{<br>
viewer.frame();<br>
}<br>
}<br>
<br>
</td><td><br>
</td></tr></tbody></table><span><br>
<br>
I tried /MD also but same problem.<br>
<br>
Thank you!<br>
<br>
Cheers,<br>
Diwas[/code]</span></div>
<br><div><span class="">------------------<br>
Read this topic online here:<br>
</span><a href="http://forum.openscenegraph.org/viewtopic.php?p=66594#66594" target="_blank">http://forum.openscenegraph.org/viewtopic.php?p=66594#66594</a><br>
<br>
</div>
</div>
<br>_______________________________________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a><br>
<br></blockquote></div><br></div>