HP j6700 OpenGL Implementation Guide for HP-UX 11.x - Page 47
including header files, provided with
View all HP j6700 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 47 highlights
compiling and linking programs including header files including header files Most OpenGL programs and applications that only use the standard OpenGL data types, definitions, and function declarations, need only include the header file gl.h under the /opt/graphics/OpenGL/include/GL directory. Use the following syntax: #include Still other header files may be needed by your program, depending on your application. For example, in order to use the OpenGL extension to X Windows (GLX) you must include glx.h, as shown below. #include Instructions for including various additional header files are usually provided with the README file that accompanies a utility or function. The README also includes instructions for using or operating the utilities. Your header file declarations at the beginning of your program should look similar to this: #include #include #include #include #include #include #include #include Chapter 4 45