Removed references to redundent environmental variables.

This commit is contained in:
Robert Osfield 2001-12-24 23:14:53 +00:00
parent 217621401e
commit 5d5e4971e0

57
INSTALL
View File

@ -14,7 +14,7 @@ of true type fonts, however it is not essential to the core library, so you can
comment it out from compilation by modifying the src/Makefile, and src/Demos/Makefile.
I you wish to use fonts then you can download freetype from www.freetype.org. The
osgText library also requires an up to date GLU implementation which supports
GLU1.3 tessellation routines. If you your current GLU is out of date you'll need
GLU1.2 tessellation routines. If you your current GLU is out of date you'll need
to download the latest, for instance the sgi's sample implementation for
GLU from the www.opengl.org website.
@ -39,34 +39,6 @@ If you haven't already checked it out, for a list of distribution contents,
contacts and links to documentation check out index.html.
Environmental settings under Unix
---------------------------------
These enviromental settings are useful to help develop with an
entirely local copy of the osg. However, once you've done a
make install you can make do without all of these, although
OSGFILEPATH is still useful as the osgDB library uses it for
picking locating datafiles.
Add the following to your .cshrc :
setenv OSGHOME <location of OSG root>
setenv OSGDATA <location of OSG data root>
setenv OSGFILEPATH ./:${OSGDATA}:
setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:${OSGHOME}/lib
setenv PATH ${PATH}:${OSGHOME}/bin
Or the following if you're using a sh compatible shell :
export OSGHOME=<location of OSG root>
export OSGDATA=<location of OSG data root>
export OSGFILEPATH=./:${OSGDATA}:${OSGDATA}/Images:
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${OSGHOME}/lib
export PATH=${PATH}:${OSGHOME}/bin
note: under IRIX you'll need to use LD_LIBRARYN32_PATH instead
of LD_LIBRARY_PATH.
Compiling under Linux
---------------------
@ -117,9 +89,6 @@ Compiling under FreeBSD
Compiling under IRIX
--------------------
When setting up environmental variables, specified above,
LD_LIBRARY_PATH should of course be replaced by LD_LIBRARYN32_PATH.
Since the OSG uses Standard C++ features such as STL it is important
to have an up to date version of the MIPSPro compilers. The library
has been tested under MIPSPro7.3 & MIPSPro7.2.1, and *may* compile
@ -184,7 +153,7 @@ Compiling under Windows
autoexec.bat to help the location of datafiles. For example :
SET OSGFILEPATH=D:\OpenSceneGraph-Data;D:\OpenSceneGraph-Data\Images
SET PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\Oglsdk\lib;D:\osg-0.8.40\bin;
SET PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;D:\osg-0.8.43\bin;
To help compilation of the image reader plugins, various image libraries
have been zipped up for your convienice, your find these on the OSG
@ -274,6 +243,28 @@ Compiling under MacOS X (instructions written by Phil Atkin)
gone in 10.1 or it may be a weirdy in the Mac GLUT implementation, but
forewarned is forearmed.
OSGFILEPATH environmental variable
----------------------------------
For the OSG to locate file data files easily an environmetal variable
OSGFILEPATH is used at run-time by the osgDB library. Note, for examples
below substitute in the ${OSGDATA} directory with your own path
where appropriate)
Add the following to your .cshrc (note paths seperated by colon's):
setenv OSGFILEPATH ./:${OSGDATA}:${OSGDATA}/Images
Or the following if you're using a sh compatible shell :
export OSGFILEPATH=./:${OSGDATA}:${OSGDATA}/Images:
Or under windows (note paths seperated by semi-colon's) :
SET OSGFILEPATH=./:${OSGDATA};${OSGDATA}/Images
Running the demos
-----------------