CAVE library files are located in /util/CAVE on the DMS Linux PCs. To compile a CAVE program, you must add pointers to the lib32 & include directories to your Makefile. Add -I/util/CAVE/include to the compile flags, and -L/util/CAVE/lib32 -lcave_ogl to the link libraries.
For example:
CFLAGS = -O -I/util/CAVE/include
CPPFLAGS = $(CFLAGS)
LFLAGS = -O
LIBS = -L/util/CAVE/lib32 -lcave_ogl \
-lglut -lGLU -lGL -L/usr/X11R6/lib -lX11 -lm
cave0: cave0.o
c++ $(LFLAGS) -o cave0 cave0.o $(LIBS)