EasyManuals Logo

HP j6700 Supplementary Guide

HP j6700
62 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #47 background imageLoading...
Page #47 background image
compiling and linking programs
including header files
Chapter 4 45
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 <GL/gl.h>
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 <GL/glx.h>
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 <sys/types.h>
#include <stdio.h>
#include <string.h>
#include <X11/X.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <GL/gl.h>
#include <GL/glx.h>
OGLImp.book Page 45 Tuesday, February 14, 2006 9:15 AM

Table of Contents

Other manuals for HP j6700

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP j6700 and is the answer not in the manual?

HP j6700 Specifications

General IconGeneral
BrandHP
Modelj6700
CategoryDesktop
LanguageEnglish

Related product manuals