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 5 Compiling and Linking Programs

OpenGL Procedure Calls

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

In order to facilitate maximum performance, the OpenGL library uses a unique procedure calling convention. This convention is currently supported only by the HP C and C compilers which are available in conjunction with the Workstation ACE for HP-UX 10.20 (July 1997) OpenGL developers package.

If you get a large number of "Undefined pragma" messages (for example, Undefined pragma "HP_PLT_CALL" ignored) when compiling an OpenGL application, you are most likely using a compiler that does not support this new calling convention. To get an appropriate HP C or C compiler, you will need to contact your local HP Sales Representative.

You must also include the gl.h header file supplied with HP's implementation of OpenGL in any source code that makes OpenGL calls. If you have unresolved OpenGL symbols (for example, "Unsatisfied symbol glVertex3f") when linking your application, make sure that the correct gl.h file is being included in all your source files. Any gl.h files from other vendors or other sources will not work with HP's implementation of OpenGL.

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