Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP's Implementation of OpenGL: HP 9000 Workstations > Chapter 3 Installation and Setup

Installing OpenGL

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

Installing the software involves the following steps:

  1. Read this entire procedure

  2. Install Workstation ACE for HP-UX 10.20 (July 1997) patch bundle

  3. Install OpenGL

  4. Check log file

  5. Verify the product.

Each step is described on the subsequent sections.

1. Read this entire procedure

Read all of this procedure to ensure the proper installation of your OpenGL product.

2. Install HP-UX 10.20 and the Workstation ACE for HP-UX 10.20 (July 1997) patch bundle

Before installing OpenGL, install HP-UX 10.20 and the Workstation ACE for HP-UX 10.20 (July 1997) patch bundle shipped with your developer's toolkit.

3. Install OpenGL

Once you have installed HP-UX 10.20, you can install the OpenGL programming environment. This programming environment is bundled with the C/ANSI C Developer's product. If your system is Instantly Ignited, your OpenGL product is already installed. To verify that the OpenGL developer's programming environment has been installed on your system, read the section "Verify that OpenGL is on Your Workstation" above.

If OpenGL is installed, you are done with the section. If OpenGL is not installed, execute this command (as root):

/usr/sbin/swinstall

...and follow the installation instructions provided in the document Managing HP-UX Software with SD-UX. OpenGLDevKit is the product to install.

The OpenGL development environment product includes the filesets shown in Table 2-1. To list these filesets, execute this command:

/usr/sbin/swlist -l fileset OpenGLDevKit

Table 3-1 OpenGL Development Environment Filesets

OpenGL Fileset

Contains

OPENGL-CONTRIB

Contributed or unsupported program files

OPENGL-EXAMPLE

Example program source code

OPENGL-PRG

Files necessary for the OpenGL programming environment

OPENGL-WEBDOC

Online documentation files

 

4. Check log file

Once you have completed the installation process, look at the contents of the file /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.

5. Verify the product

Here are three methods for determining if you have correctly installed OpenGL on your system.

  • Run the program /opt/graphics/OpenGL/demos/verify_install. 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 /opt/graphics/OpenGL/examples. This directory is installed with the OPENGL-EXAMPLE fileset.

  • Compile, link and run one of your existing OpenGL programs.

The README file in the examples directory contains instructions on how to set up and run the examples.

Example programs from the OpenGL Programming Guide are installed in /opt/graphics/OpenGL/contrib/glut_samples directory, which also contains a README file.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1996 Hewlett-Packard Development Company, L.P.