Hi sh ha
Just a guess, but make sure the osg dlls are in your PATH
Jason
On Apr 18, 2009, at 6:30 AM, "Sh Ha" <[email protected]> wrote:
Hi!
Im very new to osg, im trying to compile and run a very simple code
that use osg (basicgeon.cpp is attached)
when its gets to the last 3 lines, its crush on the third one
...
osgViewer::Viewer viewer;
viewer.setSceneData( root );
-> return viewer.run();
the project compile properly and crush on runtime,
i set the include and lib directories as needed, and the used lib in
release(osg.lib, osgViewer.lib)
i set the output directory and workdir to \osg\bin so it will find
the dll's
im using visual studio 9.0 on VISTA ... (i suspect something with
it [Crying or Very sad] )
i download all the binaries from
http://www.openscenegraph.org/downloads/stable_releases/OpenSceneGraph-2.8/binaries/Windows/VisualStudio9
(extracted the debug files then the release files with 7zip)
i tried in debug too ,still crush(added the d for the required lib
files..)
i tried to run the created exe from outside the visual,still crush..
the crush looks like this:
[Image: http://images.upload2world.com/get-4-2009-upload2world_com_lmjodx.jpg
] (http://www.upload2world.com)
im really dont know what else to do and kinda stuck
thanks alot for any help!
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=10364#10364
<basicgeom.cpp>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org