hi,
thanks for your help,
i've type the followind command : 

powerbook-g4-12-di-epifanio:~ epifanio$ export OSG_NOTIFY_LEVEL=DEBUG
powerbook-g4-12-di-epifanio:~ epifanio$ osgviewer cow.osg
CullSettings::readEnvironmentalVariables()
DriveManipulator::_height set to ==1.5
itr='/Users/epifanio/Library/Application Support/OpenSceneGraph/PlugIns'
FindFileInPath() : trying /Users/epifanio/Library/Application Support/OpenSceneGraph/PlugIns/osgdb_osg.so ...
itr='/Library/Application Support/OpenSceneGraph/PlugIns'
FindFileInPath() : trying /Library/Application Support/OpenSceneGraph/PlugIns/osgdb_osg.so ...
FindFileInPath() : USING /Library/Application Support/OpenSceneGraph/PlugIns/osgdb_osg.so
CullSettings::readEnvironmentalVariables()
Opened DynamicLibrary osgdb_osg.so
Warning: Could not find plugin to read objects from file "cow.osg".
osgviewer: No data loaded
Closing DynamicLibrary osgdb_osg.so


i've that osg look for plug-in  in :   /Users/epifanio/Library/Application Support/OpenSceneGraph/PlugIns/osgdb_osg.so ...
i've type a  locate command for the file "osgdb_osg.so"
i've this:
 powerbook-g4-12-di-epifanio:~ epifanio$ locate osgdb_osg.so
/Library/Application Support/OpenSceneGraph/PlugIns/osgdb_osg.so
/source/OSG_OP_OT-1.0/OpenSceneGraph/lib/Darwin32/osgPlugins/osgdb_osg.so
/source/OSG_OP_OT-1.0/OpenSceneGraph/src/osgPlugins/osg/Darwin32.Opt/osgdb_osg.so



Il giorno 19/lug/06, alle ore 01:55, [EMAIL PROTECTED] ha scritto:


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/

Reply via email to