If you are building OSG from source with the same compiler that you build
your application with, it's unlikely that you have a conflict. You might
still encounter problems if you have multiple versions of OSG installed on
your systemk. Make sure that your PATH environment variable (and
LD_LIBRARY_PATH on Linux) will resolve to the version of OSG that you are
expecting.

Running off the end of the array (as I mentioned your code is doing with the
incorrect number of colors in the color array) could cause a crash on one
platform but not on another, of course, so I will repeat my advice to you:
Fix your color array.  A very simple thing for you to try would be to just
set the color binding to BIND_OVERALL and see if the crash goes away.

Paul Martz
Skew Matrix Software LLC
http://www.skew-matrix.com
+1 303 859 9466

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Sh Ha
Sent: Sunday, April 19, 2009 2:02 PM
To: [email protected]
Subject: Re: [osg-users] OSG begginer question - osg crash on run-time

Hi Paul and thanks for the reply

i tried the same steps one by one on a another computer (XP with intel core
and i got VISTA with amd core if its matter)

and it worked perfectly, with the same project/cpp file

i tried re-installing
i even tried re-build osg from the source
(http://www.openscenegraph.org/downloads/stable_releases/OpenSceneGraph-2.8/
source/OpenSceneGraph-2.8.0.zip)

and its still crashing on runtime when getting to the line of osgViewer
run()..

i think its something with the dll's but im really out of this knowledge..

is it possible that i got collision with other dlls or something installed
on my computer?  is there a way to check it.. ?


thanks alot

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





_______________________________________________
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

Reply via email to