HP Workstation zx6000 HP OpenGL Implementation Guide for HP-UX 11.X (IPF versi - Page 27

check log file, 4. verify the product, the OpenGL file structure

Page 27 highlights

installation and setup 3. check log file After you have completed the installation process, look at /var/adm/sw/swinstall.log. This file lists the filesets loaded, the customize scripts that ran during the installation process, and informative messages. Error messages that resulted from attempts to write across an NFS mount point may appear in this file and, if present, may be ignored. 4. verify the product Use one of these methods to determine if you have correctly installed OpenGL on your system. ■ Run the program: /opt/graphics/OpenGL/demos/verify_install-32 or /opt/graphics/OpenGL/demos/verify_install-64 If OpenGL has been correctly installed on your system, running verify_install will cause a window containing a 3D rendering of the text "OpenGL" to open on your monitor. ■ Run any of the demos located in the directory: /opt/graphics/OpenGL/demos This directory is installed with the OPENGL-DK fileset. The README file in the examples directory contains instructions on how to set up and run the examples. ■ Compile, link and run one of your existing OpenGL programs. 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/hpux32 /opt/graphics/OpenGL/lib/hpux64 These directories contain the run time OpenGL shared libraries. /usr/lib/hpux32/X11/Xserver/modules/xf86/extensions /usr/lib/hpux64/X11/Xserver/modules/xf86/extensions OpenGL implementation guide 2-3

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42

OpenGL implementation guide
2–3
installation and setup
3. check log file
After you have completed the installation process, look at
/var/adm/sw/swinstall.log
.
This file lists the filesets loaded, the customize scripts that ran during the installation process, and
informative messages. Error messages that resulted from attempts to write across an NFS mount
point may appear in this file and, if present, may be ignored.
4. verify the product
Use one of these methods to determine if you have correctly installed OpenGL on your system.
Run the program:
/opt/graphics/OpenGL/demos/verify_install-32
or
/opt/graphics/OpenGL/demos/verify_install-64
If OpenGL has been correctly installed on your system, running verify_install will cause a
window containing a 3D rendering of the text “OpenGL” to open on your monitor.
Run any of the demos located in the directory:
/opt/graphics/OpenGL/demos
This directory is installed with the OPENGL-DK fileset.
The
README
file in the examples directory contains instructions on how to set up and run the
examples.
Compile, link and run one of your existing OpenGL programs.
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/hpux32
/opt/graphics/OpenGL/lib/hpux64
These directories contain the run time OpenGL shared libraries.
/usr/lib/hpux32/X11/Xserver/modules/xf86/extensions
/usr/lib/hpux64/X11/Xserver/modules/xf86/extensions