On Wednesday 18 August 2010 17:26:35 Darko Radiceski wrote:
> Hi all,
> 
> My apology if this seems to be a noobish question. I have an osg
> application and it seems that is experiencing some problems when i try and
> run it on my machine outside visual studio and also other machines.
> 
> I have build osg 2.9.8 and also the plugins for it. If i run osgviewer.exe
> on the ive file it loads just fine.
> 
> When i compile my application in debug and release build and run it through
> Visual Studio 08 sp1 it runs just fine.
> 
> Now on my machine i get the .exe file and also all the osg dlls and the
> plugins and put them in the same folder. I double click on the exe and the
> GUI which is in QT starts and i can get to the point to select my globe to
> load.
> 
> Then when the application start loading the globe it just dies and i get a
> runtime error. I ran the application through Dependency walker and it got
> to the point where it says Loading osgdb_ive.dll then an exception is
> raised.
> 
> Has anyone seen this before? Any advice on how i can identify what might be
> happening?
> 
> Thank you so much to all.

Start up your application outside of VS as you did. Then try to attach the VS 
debugger to this process. Continue to work in your application as you 
described. When the crash occurs the debugger should be able to show where it 
crashed, and what the call chain was up to that point.

HTH,

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

Reply via email to