installation and setup

the OpenGL file structure

the OpenGL file structure

The OpenGL file structure is compliant with the file structure of the 11.x file systems. Here is a list of files and directories that are a part of the OpenGL file structure.

/opt/graphics/OpenGL/contrib/libwidget

This directory contains a Motif widget library and source code.

/opt/graphics/OpenGL/include/GL

This directory contains header files needed for OpenGL development.

/opt/graphics/OpenGL/contrib/glut_samples

This directory contains example OpenGL programs that are referenced in the OpenGL Programming Guide, Second Edition published by Addison-Wesley.

/opt/graphics/OpenGL/contrib/libglut

This directory contains Mark Kilgard’s OpenGL Utility Toolkit (GLUT). This is a window-system-independent toolkit for writing simple OpenGL programs.

/opt/graphics/OpenGL/lib

This directory contains the following run-time shared libraries:

libGLU.sl

libGL.sl

/usr/lib/X11/Xserver/brokers/extensions/Glx.1

/usr/lib/X11/Xserver/modules/extensions/HP/glx.1

These are libraries for the GLX extension to X windows. This directory also contains other run-time libraries including device drivers.

The location of the run-time shared libraries is:

/opt/graphics/openGL/lib

34

Chapter 2