Hi Sajjadul,
You seem to have tricked things out to be as more complicated than I
can actually imagine, it really should be very straight forward.
There are two things that the OS needs to do to run any application -
1) find the application itself - it'll do this via the PATH
variable, or any builts that your
shell provides. The OSG binaries are just examples so install in
/usr/local/share/OpenSceneGraph/bin
So you'll need to point PATH to this (in addition to any other
PATH previous set)
export PATH = ${PATH}:/usr/local/share/OpenSceneGraph/bin
2) find the libraries the the application needs - it'll do this via
LD_LIBRARY_PATH, or
any built in paths that your shell provides. Since they are
full blown libraries meant
for reuse that are placed in
/usr/local/lib or /usr/local/lib64 for 64 bit machines.
// probably not needed as your built ins will probably find it:
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib
Then just test these out by running osgviewer. If everthing works put
the vars in your .bashrc
Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/