Ran Yakir (rany++at++bvr.co.il)
Mon, 25 Mar 1996 07:09:33 +0000
Let me guess : You are linking with IrisGL libraries, while compiling without
the -DIRISGL compilation flag. Performer/pr.h includes irisgl.h or opengl.h,
depending on that compilation constant (the default is OpenGL). If you follow
the PFLT_DIFFUSE constant in opengl.h, you'll see that they use the GL_DIFFUSE
constant from GL/gl.h, which is 4610.
To make a (very) long story short, you should define IRISGL in all your
compilations (unless you want to use OpenGL). To keep my makefile simple, I
have an environment variable - PF_GL, which is initialized to either IRISGL or
OPENGL at login, and is used by the makefiles.
Ran
--
__ | Ran Yakir
/_) _ __ \ / _ / o __ | Graphics App. Chief Engineer
/ )_ (_(_) ) \/ (_(_/<_(_)( | BVR Technologies Ltd.
_/ |
-------------------------------------+--------------------------------
Phone : | E-mail : rany++at++bvr.co.il
Work : 972-3-5715671 |
Res. : 972-9-989974 |
Fax : 972-3-5715668 |
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:52:34 PDT