EasyManuals Logo
Home>HP>Desktop>b2600

HP b2600 Administration Guide

HP b2600
171 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 #21 background imageLoading...
Page #21 background image
Compiling HP PEX Applications
HP PEXlib is supported on the Series 700 workstations using shared libraries that must be linked with
the application program. Only PEX programs written in C (not FORTRAN or Pascal) are supported.
When you compile your PEXlib programs, you must link the application with the PEXlib library
libPEX5.
____________________________________________________________________________
Note: The PEX library is dependent on the math library.
_____________________________________________________________________________
A compile line will typically appear:
cc program.c -lPEX5 -lXext -lX11 -lm –ldld
For more information on compiling and linking PEXlib programs, see the appropriate chapters in the HP
PEX Implementation and Programming Supplement.
Compiling OpenGL Applications
HP's implementation of OpenGL is supported on workstations with HP VISUALIZE-FX graphics.
To compile a program that does not use the OpenGL utilities, use a makefile that looks like this:
INCDIR= -I/opt/graphics/OpenGL/include
LIBDIR=-L/opt/graphics/OpenGL/lib
LIBS=-lGL -lXext -lX11 -lm -ldld
meow : meow.c
c89 $(INCDIR) $(LIBDIR) -o meow meow.c $(LIBS)
To compile a program that does use the OpenGL utilities, use a makefile that looks like this:
INCDIR= -I/opt/graphics/OpenGL/include
LIBDIR=-L/opt/graphics/OpenGL/lib
LIBS=-lGLU -lGL -lXext -lX11 -lm -ldld
meow : meow.c
c89 $(INCDIR) $(LIBDIR) -o meow meow.c $(LIBS)
Graphics Administration Guide for HP-UX 10.20
Page 21

Table of Contents

Other manuals for HP b2600

Questions and Answers:

Question and Answer IconNeed help?

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

HP b2600 Specifications

General IconGeneral
BrandHP
Modelb2600
CategoryDesktop
LanguageEnglish

Related product manuals