export OPENTHREADS_INC_DIR=mydirectory/OpenThreads/include
 
etc.


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of massimodisasha
Sent: 13 July 2006 12:22
To: [email protected]
Subject: [osg-users] run example - failure (how i can set the right PATH...?)

hi,
sorry but i'm very newbie :-(

i'm try to install OpenThreads, Producer, OpenSceneGraph on a mac osx-10.4.7 (PB-G4-1.33)
i copied the "OSG_OP_OT-1.0" folder on my HardDrive in : /source
then:
 cd /source/OSG_OP_OT-1.0

 and i used this command :
    cd OpenThreads; make; sudo make install; cd ..
    cd Producer; make; sudo make install; cd ..
    cd OpenSceneGraph; make COMPILE_EXAMPLES=yes; sudo make install

after a long compiling (about 1 hr)... without error

i must set the PATH...right ?
i can't use this string :

    setenv OPENTHREADS_INC_DIR mydirecotory/OpenThreads/include
    setenv OPENTHREADS_LIB_DIR mydirecotory/OpenThreads/lib/platform
    setenv PRODUCER_INC_DIR mydirecotory/Producer/include
    setenv PRODUCER_LIB_DIR mydirecotory/Producer/lib/platform

beacouse i use the bash shell.

how can i set the PATH for bash shell ?

i'm try to run the runexample.bat that is in the "OpenSceneGraph" folder but i've this :

powerbook-g4-12-di-epifanio:/source/OSG_OP_OT-1.0/OpenSceneGraph epifanio$ sh runexamples.bat
osgversion
runexamples.bat: line 2: osgversion: command not found
osgunittests
runexamples.bat: line 5: osgunittests: command not found
runexamples.bat: line 6: osgunittests: command not found
runexamples.bat: line 7: osgunittests: command not found
osglauncher
runexamples.bat: line 10: osglauncher: command not found
osganimate
runexamples.bat: line 13: osganimate: command not found
osgautotransform
runexamples.bat: line 16: osgautotransform: command not found
osgbillboard
runexamples.bat: line 19: osgbillboard: command not found
osgblendequation
runexamples.bat: line 22: osgblendequation: command not found
osgcallback
runexamples.bat: line 25: osgcallback: command not found
osgcameragroup
runexamples.bat: line 28: osgcameragroup: command not found
osgcatch
runexamples.bat: line 31: osgcatch: command not found
osgclip
runexamples.bat: line 34: osgclip: command not found
osgcubemap
runexamples.bat: line 37: osgcubemap: command not found
osgdepthshadow
runexamples.bat: line 40: osgdepthshadow: command not found
osgdistortion
runexamples.bat: line 43: osgdistortion: command not found
osgforest
runexamples.bat: line 46: osgforest: command not found
osgfxbrowser
runexamples.bat: line 49: osgfxbrowser: command not found
osggeometry
runexamples.bat: line 52: osggeometry: command not found
osghangglide
runexamples.bat: line 55: osghangglide: command not found
osghud
runexamples.bat: line 58: osghud: command not found
osgimpostor
runexamples.bat: line 61: osgimpostor: command not found
osgkeyboard
runexamples.bat: line 64: osgkeyboard: command not found
osgkeyboardmouse
runexamples.bat: line 67: osgkeyboardmouse: command not found
osglight
runexamples.bat: line 70: osglight: command not found
osglightpoint
runexamples.bat: line 73: osglightpoint: command not found
osglogo
runexamples.bat: line 76: osglogo: command not found
osglogicop
runexamples.bat: line 79: osglogicop: command not found
osgmotionblur
runexamples.bat: line 82: osgmotionblur: command not found
osgmultitexture
runexamples.bat: line 85: osgmultitexture: command not found
osgoccluder
runexamples.bat: line 88: osgoccluder: command not found
osgparticle
runexamples.bat: line 91: osgparticle: command not found
osgparticleeffects
runexamples.bat: line 94: osgparticleeffects: command not found
osgpick
runexamples.bat: line 97: osgpick: command not found
osgpointsprite
runexamples.bat: line 100: osgpointsprite: command not found
osgplanets
runexamples.bat: line 103: osgplanets: command not found
osgprerender
runexamples.bat: line 106: osgprerender: command not found
osgprerendercubemap
runexamples.bat: line 109: osgprerendercubemap: command not found
osgreflect
runexamples.bat: line 112: osgreflect: command not found
osgscalarbar
runexamples.bat: line 115: osgscalarbar: command not found
osgscribe
runexamples.bat: line 118: osgscribe: command not found
osgsequence
runexamples.bat: line 121: osgsequence: command not found
osgshaders
runexamples.bat: line 124: osgshaders: command not found
osgshaderterrain
runexamples.bat: line 127: osgshaderterrain: command not found
osgparametric
runexamples.bat: line 130: osgparametric: command not found
osgviewer glsl_simple.osg
runexamples.bat: line 133: osgviewer: command not found
osgviewer glsl_confetti.osg
runexamples.bat: line 136: osgviewer: command not found
osgviewer glsl_mandelbrot.osg
runexamples.bat: line 139: osgviewer: command not found
osgviewer glsl_julia.osg
runexamples.bat: line 142: osgviewer: command not found
osgshadowtexture
runexamples.bat: line 145: osgshadowtexture: command not found
osgshape
runexamples.bat: line 148: osgshape: command not found
osgsimplifier
runexamples.bat: line 151: osgsimplifier: command not found
osgsimulation
runexamples.bat: line 154: osgsimulation: command not found
osgspheresegment
runexamples.bat: line 157: osgspheresegment: command not found
osgspotlight
runexamples.bat: line 160: osgspotlight: command not found
osgstereoimage
runexamples.bat: line 163: osgstereoimage: command not found
osgteapot
runexamples.bat: line 166: osgteapot: command not found
osgtesselate
runexamples.bat: line 169: osgtesselate: command not found
osgtext
runexamples.bat: line 172: osgtext: command not found
osgtexture1D
runexamples.bat: line 175: osgtexture1D: command not found
osgtexture2D
runexamples.bat: line 178: osgtexture2D: command not found
osgtexture3D
runexamples.bat: line 181: osgtexture3D: command not found
osgtexturerectangle
runexamples.bat: line 184: osgtexturerectangle: command not found
osgvertexprogram
runexamples.bat: line 187: osgvertexprogram: command not found
osgwindows
runexamples.bat: line 190: osgwindows: command not found
powerbook-g4-12-di-epifanio:/source/OSG_OP_OT-1.0/OpenSceneGraph epifanio$

naturally i've this error beacouse i must set the PATH
...what i must write in my ".bashrc" (or  ".profile") file that is in my home directory ?

thanks for any help,...i need it :-)
Massimo

The information contained in this E-Mail and any subsequent
correspondence is private and is intended solely for the intended
recipient(s).  The information in this communication may be confidential
and/or legally privileged.  Nothing in this e-mail is intended to
conclude a contract on behalf of QinetiQ or make QinetiQ subject to any
other legally binding commitments, unless the e-mail contains an express
statement to the contrary or incorporates a formal Purchase Order.

For those other than the recipient any disclosure, copying,
distribution, or any action taken or omitted to be taken in reliance on
such information is prohibited and may be unlawful.

Emails and other electronic communication with QinetiQ may be monitored
and recorded for business purposes including security, audit and
archival purposes.  Any response to this email indicates consent to
this.

Telephone calls to QinetiQ may be monitored or recorded for quality
control, security and other business purposes.

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

Reply via email to