Resume Biography Gallery Digital Images Projects
Josh Grant
 
Setting Environment Variables at CSIT
January 2002

Before you can start developing Open Inventor applications with automake and autoconf you need to set a few environment variables. These are important so when you attempt to access different programs or libraries you will use the most recent versions available in my bin directories at CSIT. None of the environment variables are required (if you have the needed programs and libraries installed else where) they just make compiling at CSIT much easier.

I have provided a small csh script and a bash script which can be executed each time you login. The simplest way to do this is to cd to your home directory and open up either your .cshrc, .tcshrc, or .bashrc file (depending on your shell) in your home directory and insert the following line at the bottom of your file
# tcsh and csh users
source /home/grant/Photo.csh
-----------------------
# bash users
source /home/grant/Photo.bash
save the file and depending on your shell type one of the following
tcsh users
> source .tcshrc
---------
csh users
> source .cshrc
---------
bash users
> source .bashrc
Now just to make sure everything worked properly try and print one of the environment variables, type the following
> echo $PHOTO_USR
On the SGIs you should see /rivera/a/grant/usr and on the Linux machines you should see /rivera/a/grant/usr/linux

Now that the enviornment variables are set up, go to the tutorial Example Using the SoGui Toolkits
 

Josh Grant > Projects > Open Inventor > Setting Environment Variables at CSIT

Comments or questions about this page can be addressed to Josh Grant at grant@cs.fsu.edu