Hello Rob,

I followed the following text while doing the installation......

This distribution contains the OpenSceneGraph-1.2 release, and its main
dependencies - OpenThreads-1.5 and Producer-1.1

Compilation should proceed in the order of OpenThreads then Producer then
OpenSceneGraph.  Under Windows you'll need to open up the workspace
files for each project respectively and build them all. Under unix:

   cd OpenThreads; make; sudo make install; cd ..
   cd Producer; make; sudo make install; cd ..
   cd OpenSceneGraph; make COMPILE_EXAMPLES=yes; sudo make install

If you wish to keep your OpenThreads & Producer installed locally, then
define their locations via the following environmental variables:

   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

   where platform is the host machine type ie. Linux32

To run the OpenSceneGraph examples :

   cd OpenSceneGraph; sh runexamples.bat

If you have any problems compiling or running the executables, please don't
hesitate to send a report of the problems to the osg-user mailing list.

Have fun,
Robert Osfield
12th September 2006.


and after i ran the command make install for OpenSceneGraph i did the
following steps as specified

    Run-time environment installation successful.  Add 
        /usr/local/share/OpenSceneGraph/bin
    to your PATH environmental variable, and
        /usr/local/lib64 and /usr/local/lib64/osgPlugins
    to your LD_LIBRARY_PATH if not already present.


    Development environment installation successful.  Add
        -I/usr/local/include
    compile flag when compiling with OSG header files.
    Example programs can be found at
/usr/local/share/OpenSceneGraph/src/examples.

something strange happened even though it says that  the example program
will be found in the place as specified
/usr/local/share/OpenSceneGraph/src/examples. ... i did not find
anything there


What did i miss in the whole process?



Sajjad




Hi Sajjadul,

Have you compiled and installed the examples?  By default the OSG
doesn't build the examples, you can enable this via:

  make COMPILE_EXAMPLES = yes

Robert.

On 1/2/07, Sajjadul Islam <sajis997 at student.liu.se> wrote:
> > Hello Rob,
> >
> > I am getting the following errors while trying to run the examples in
> > the ubuntu linux system
> >
> > I have set  the environment variables and and LD_LIBRARY_PATH ...but it
> > is not working.
> >
> >
> > these are the following errors i m getting
> >
> >
> >
> > osgversion
> > runexamples.bat: 2: osgversion: not found
> > osgunittests
> > runexamples.bat: 5: osgunittests: not found
> > runexamples.bat: 6: osgunittests: not found
> > runexamples.bat: 7: osgunittests: not found
> > osglauncher
> > runexamples.bat: 10: osglauncher: not found
> > osganimate
> > runexamples.bat: 13: osganimate: not found
> > osgautotransform
> > runexamples.bat: 16: osgautotransform: not found
> > osgbillboard
> > runexamples.bat: 19: osgbillboard: not found
> > osgblendequation
> > runexamples.bat: 22: osgblendequation: not found
> > osgcallback
> > runexamples.bat: 25: osgcallback: not found
> > osgcameragroup
> > runexamples.bat: 28: osgcameragroup: not found
> > osgcatch
> > runexamples.bat: 31: osgcatch: not found
> > osgclip
> > runexamples.bat: 34: osgclip: not found
> > osgcubemap
> > runexamples.bat: 37: osgcubemap: not found
> > osgdepthshadow
> > runexamples.bat: 40: osgdepthshadow: not found
> > osgdistortion
> > runexamples.bat: 43: osgdistortion: not found
> > osgforest
> > runexamples.bat: 46: osgforest: not found
> > osgfxbrowser
> > runexamples.bat: 49: osgfxbrowser: not found
> > osggeometry
> > runexamples.bat: 52: osggeometry: not found
> > osghangglide
> > runexamples.bat: 55: osghangglide: not found
> > osghud
> > runexamples.bat: 58: osghud: not found
> > osgimpostor
> > runexamples.bat: 61: osgimpostor: not found
> > osgkeyboard
> > runexamples.bat: 64: osgkeyboard: not found
> > osgkeyboardmouse
> > runexamples.bat: 67: osgkeyboardmouse: not found
> > osglight
> > runexamples.bat: 70: osglight: not found
> > osglightpoint
> > runexamples.bat: 73: osglightpoint: not found
> > osglogo
> > runexamples.bat: 76: osglogo: not found
> > osglogicop
> > runexamples.bat: 79: osglogicop: not found
> > osgmotionblur
> > runexamples.bat: 82: osgmotionblur: not found
> > osgmultitexture
> > runexamples.bat: 85: osgmultitexture: not found
> > osgoccluder
> > runexamples.bat: 88: osgoccluder: not found
> > osgparticle
> > runexamples.bat: 91: osgparticle: not found
> > osgparticleeffects
> > runexamples.bat: 94: osgparticleeffects: not found
> > osgpick
> > runexamples.bat: 97: osgpick: not found
> > osgpointsprite
> > runexamples.bat: 100: osgpointsprite: not found
> > osgplanets
> > runexamples.bat: 103: osgplanets: not found
> > osgprecipitation --rain 0.5
> > runexamples.bat: 106: osgprecipitation: not found
> > osgprecipitation --snow 0.5
> > runexamples.bat: 109: osgprecipitation: not found
> > osgprerender
> > runexamples.bat: 112: osgprerender: not found
> > osgprerendercubemap
> > runexamples.bat: 115: osgprerendercubemap: not found
> > osgreflect
> > runexamples.bat: 118: osgreflect: not found
> > osgscalarbar
> > runexamples.bat: 121: osgscalarbar: not found
> > osgscribe
> > runexamples.bat: 124: osgscribe: not found
> > osgsequence
> > runexamples.bat: 127: osgsequence: not found
> > osgshaders
> > runexamples.bat: 130: osgshaders: not found
> > osgshaderterrain
> > runexamples.bat: 133: osgshaderterrain: not found
> > osgparametric
> > runexamples.bat: 136: osgparametric: not found
> > osgviewer glsl_simple.osg
> > runexamples.bat: 139: osgviewer: not found
> > osgviewer glsl_confetti.osg
> > runexamples.bat: 142: osgviewer: not found
> > osgviewer glsl_mandelbrot.osg
> > runexamples.bat: 145: osgviewer: not found
> > osgviewer glsl_julia.osg
> > runexamples.bat: 148: osgviewer: not found
> > osgshadowtexture
> > runexamples.bat: 151: osgshadowtexture: not found
> > osgshape
> > runexamples.bat: 154: osgshape: not found
> > osgsimplifier
> > runexamples.bat: 157: osgsimplifier: not found
> > osgsimulation
> > runexamples.bat: 160: osgsimulation: not found
> > osgspheresegment
> > runexamples.bat: 163: osgspheresegment: not found
> > osgspotlight
> > runexamples.bat: 166: osgspotlight: not found
> > osgstereoimage
> > runexamples.bat: 169: osgstereoimage: not found
> > osgteapot
> > runexamples.bat: 172: osgteapot: not found
> > osgtesselate
> > runexamples.bat: 175: osgtesselate: not found
> > osgtext
> > runexamples.bat: 178: osgtext: not found
> > osgtexture1D
> > runexamples.bat: 181: osgtexture1D: not found
> > osgtexture2D
> > runexamples.bat: 184: osgtexture2D: not found
> > osgtexture3D
> > runexamples.bat: 187: osgtexture3D: not found
> > osgtexturerectangle
> > runexamples.bat: 190: osgtexturerectangle: not found
> > osgvertexprogram
> > runexamples.bat: 193: osgvertexprogram: not found
> > osgwindows
> > runexamples.bat: 196: osgwindows: not found
> >
> >
> >
> > What am i missing in the process?
> >
> > I really do appreciate your help
> >
> >
> >
> > Sajjad
> >
>
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to