1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Nel] last compile difficulty I hope... (driver_opengl)</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:skander%40skander.com">
<LINK REL="Previous" HREF="000781.html">
<LINK REL="Next" HREF="000783.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Nel] last compile difficulty I hope... (driver_opengl)</H1>
<B>Kai Schutte</B>
<A HREF="mailto:skander%40skander.com"
TITLE="[Nel] last compile difficulty I hope... (driver_opengl)">skander@skander.com</A><BR>
<I>Wed, 12 Dec 2001 12:59:01 -0500</I>
<P><UL>
<LI> Previous message: <A HREF="000781.html">[Nel] Rep:Nel digest, Vol 1 #199 - 5 msgs</A></li>
<LI> Next message: <A HREF="000783.html">[Nel] last compile difficulty I hope... (driver_opengl)</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#782">[ date ]</a>
<a href="thread.html#782">[ thread ]</a>
<a href="subject.html#782">[ subject ]</a>
<a href="author.html#782">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>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) =
:<i> error C2146: syntax error : missing ';' before identifier =
</I>'glActiveTextureARB'
D:\skander\code\nel\src\3d\driver\opengl\driver_opengl_extension.h(142) =
:<i> fatal error C1004: unexpected end of file found
</I>(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
:<i> error C2146: syntax error : missing ';' before identifier=20
</I>'glActiveTextureARB'<BR>D:\skander\code\nel\src\3d\driver\opengl\driver_o=
pengl_extension.h(142)=20
:<i> fatal error C1004: unexpected end of file found<BR></FONT><FONT =
</I>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--
</pre>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI> Previous message: <A HREF="000781.html">[Nel] Rep:Nel digest, Vol 1 #199 - 5 msgs</A></li>
<LI> Next message: <A HREF="000783.html">[Nel] last compile difficulty I hope... (driver_opengl)</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#782">[ date ]</a>
<a href="thread.html#782">[ thread ]</a>
<a href="subject.html#782">[ subject ]</a>
<a href="author.html#782">[ author ]</a>
</LI>
</UL>
</body></html>
|