Jump to content
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
HP.com home

Transition Impacts

Tru64 UNIX Software Transition Kit
» 

DSPP Home

» HP STK home
Tru64 UNIX STK
» Home
» Overview
» Tools
» Documentation
» Transition impacts
» Identifier types
» Impact list
» Porting to HP-UX
» FAQ
» Glossary
» Help
» Send us feedback
Site maps
» Tru64 UNIX STK
» DSPP
Content starts here

critical impact:

OpenGL - available in /opt/graphics/OpenGL (CrCh322)

HDR Impacts LIB Impacts

Problem description

The OpenGL header files and libraries are available in /opt/graphics/OpenGL on HP-UX.

OpenGL is a high-performance 3D-oriented renderer. It is available in the X window system through the GLX extension.

Identifiers

Programming Libraries-lGL Programming Libraries-lGLU Programming LibrarieslibGL.so Programming LibrarieslibGLU.so  

See also

Solution description

Modify your makefiles.

Add -I/opt/graphics/OpenGL/include to your compiler options.

Add -L/opt/graphics/OpenGL/lib/hpux{32|64} to your linker options.

Add -lXhp11 after -lGL in your library list since the HP OpenGL library is dependent on the HP X extensions library.

Review the documentation for your HP workstation for more information on installing and using HP OpenGL.

New behavior

cc -I/opt/graphics/OpenGL/include \
   -L/opt/graphics/OpenGL/lib/hpux32 \
   -o cube cube.c \
   -lGLU -lGL -lXhp11 -lXext -lX11 -lm

See also


Problem summary

classifications source types OS release severity type
HDR, LIB Make, Script any HP-UX 11i version critical changed
Printable version
Privacy statement Using this site means you accept its terms Feedback to DSPP
© 2007 Hewlett-Packard Development Company, L.P.