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

Cyril 'Hulud' Corvazier corvazier@nevrax.com
Wed, 12 Dec 2001 19:18:39 +0100


This is a multi-part message in MIME format.

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

Hi Kai,

  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)
  =20
  at line 142 in driver_opengl_extension.h you get:=20
  extern PFNGLACTIVETEXTUREARBPROC glActiveTextureARB;

I compile without any kind of problem with the current <GL/glext.h> file =
available on the SGI site. (GL_GLEXT_VERSION =3D 7)
Please make sure you have included the good file. If it is not the =
problem, don't hesitate to post again.

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


I have the same definition at the same line, and it is the only one.

Regards,

Cyril

------=_NextPart_000_00E3_01C18341.CE1CA060
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.3315.2870" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi Kai,</FONT></DIV>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE=20
style=3D"BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: =
0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
  <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>&nbsp;</DIV></BLOCKQUOTE>
<DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3DArial size=3D2>I compile without any kind of problem =
with the=20
current &lt;GL/glext.h&gt; file available on the SGI site. =
(GL_GLEXT_VERSION =3D=20
7)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Please make sure you have included the =
good file.=20
If it is not the problem, don't hesitate to post=20
again.</FONT></DIV></FONT></DIV>
<BLOCKQUOTE=20
style=3D"BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: =
0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>which refers to a &lt;GL/glext.h&gt; =
entry at=20
  line 1620: </FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>typedef void (APIENTRY *=20
  PFNGLACTIVETEXTUREARBPROC) (GLenum texture);<BR></FONT><FONT =
face=3DArial=20
  size=3D2></FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV></BLOCKQUOTE>
<DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3DArial size=3D2>I have the same definition at the same =
line, and it=20
is the only one.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>Regards,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Cyril</DIV></DIV></FONT></BODY></HTML>

------=_NextPart_000_00E3_01C18341.CE1CA060--