[Nel] last compile difficulty I hope... (driver_opengl)

Kai Schutte skander@skander.com
Wed, 12 Dec 2001 12:59:01 -0500


This is a multi-part message in MIME format.

------=_NextPart_000_000A_01C1830C.C53C3CB0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi,=20

I got the 3d lib to compile. I was using the =
code\snowballs2\snowballs2.dsw workspace, and maybe that's why it wasn't =
working. I got 3d lib to compile fine under code\nel\nel.dsw.

Okay, I got one more problem, and it seems to be associated with =
<GL/glext.h> stuff...=20
I downloaded and installed the <GL/glext.h> file from the SGI site.
compiler output:

driver_opengl.cpp
D:\skander\code\nel\src\3d\driver\opengl\driver_opengl_extension.h(142) =
: error C2146: syntax error : missing ';' before identifier =
'glActiveTextureARB'
D:\skander\code\nel\src\3d\driver\opengl\driver_opengl_extension.h(142) =
: fatal error C1004: unexpected end of file found
(repeated 9 times for the next 9 files)

at line 142 in driver_opengl_extension.h you get:=20
extern PFNGLACTIVETEXTUREARBPROC glActiveTextureARB;

which refers to a <GL/glext.h> entry at line 1620:=20
typedef void (APIENTRY * PFNGLACTIVETEXTUREARBPROC) (GLenum texture);

I would suppose that this is some sort of precompile error... I've tried =
changing little things in the vacinity, but everything I did just =
generated more compile errors.=20

Have you bumped into this problem?=20

thanks,=20
-Kai

------=_NextPart_000_000A_01C1830C.C53C3CB0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.3018.900" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi, </FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I got the 3d lib to compile. I was =
using the=20
code\snowballs2\snowballs2.dsw workspace, and maybe that's why it wasn't =

working. I got 3d lib to compile fine under =
code\nel\nel.dsw.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Okay, I got one more problem, and it =
seems to be=20
associated with &lt;GL/glext.h&gt; stuff... </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I downloaded and installed the =
&lt;GL/glext.h&gt;=20
file from the SGI site.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>compiler output:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial=20
size=3D2>driver_opengl.cpp<BR>D:\skander\code\nel\src\3d\driver\opengl\dr=
iver_opengl_extension.h(142)=20
: error C2146: syntax error : missing ';' before identifier=20
'glActiveTextureARB'<BR>D:\skander\code\nel\src\3d\driver\opengl\driver_o=
pengl_extension.h(142)=20
: fatal error C1004: unexpected end of file found<BR></FONT><FONT =
face=3DArial=20
size=3D2>(repeated 9 times for the next 9 files)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>at line 142 in =
driver_opengl_extension.h you get:=20
<BR></FONT><FONT face=3DArial size=3D2>extern PFNGLACTIVETEXTUREARBPROC=20
glActiveTextureARB;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>which refers to a &lt;GL/glext.h&gt; =
entry at line=20
1620: </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>typedef void (APIENTRY * =
PFNGLACTIVETEXTUREARBPROC)=20
(GLenum texture);<BR></FONT><FONT face=3DArial size=3D2></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I would suppose that this is some sort =
of=20
precompile error... I've tried changing little things in the vacinity, =
but=20
everything I did just generated more compile errors. </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Have you bumped into this problem? =
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>thanks, </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>-Kai</DIV></FONT></BODY></HTML>

------=_NextPart_000_000A_01C1830C.C53C3CB0--