To track where the OSG is looking for plugins do:

export OSG_NOTIFY_LEVEL=DEBUG
osgviewer cow.osg

You will be presented with lots of output, but in here you should be
able to see where the OSG is looking.

BTW, all the OPENTHREADS,PRODUER etc paths aren't required if you do a
make install on each of the projects.

Robert.

On 7/18/06, massimodisasha <[EMAIL PROTECTED]> wrote:

hi,
i've some probles to run the example files,
if i run the :   sh runexample.bat ,
it work
but during the example dimostration,
i have, in my bash-shell  more  "worning message" (see previous post)

and if i try to run:
osgviewer cow.osg

i've this worning :
Warning: Could not find plugin to read objects from file "cow.osg".
osgviewer: No data loaded

i've the file cow.osg
  in : /source/OSG_OP_OT-1.0/OpenSceneGraph-Data

this is my .profile for OSG :

export OPENTHREADS_INC_DIR=/source/OSG_OP_OT-1.0/OpenThreads/include
export OPENTHREADS_LIB_DIR=/source/OSG_OP_OT-1.0/OpenThreads/lib/
Darwin32
export PRODUCER_INC_DIR=/source/OSG_OP_OT-1.0/Producer/include
export PRODUCER_LIB_DIR=/source/OSG_OP_OT-1.0/Producer/lib/Darwin32
PATH="/usr/local/share/OpenSceneGraph/bin:${PATH}"
export PATH
export LD_LIBRARY_PATH=/usr/local/lib:/usr/local/lib/osgPlugins
export OSG_FILE_PATH=/source/OSG_OP_OT-1.0/OpenSceneGraph-Data

thanks for any help.
Massimo
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to