blob: 1081da4945f9af33ba75df1ce555eeaaf2324fd6 (
plain)
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
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Nel] Linux compilation pb</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:v.caron%40zerodeux.net">
<LINK REL="Previous" HREF="000161.html">
<LINK REL="Next" HREF="000166.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Nel] Linux compilation pb</H1>
<B>Vincent Caron</B>
<A HREF="mailto:v.caron%40zerodeux.net"
TITLE="[Nel] Linux compilation pb">v.caron@zerodeux.net</A><BR>
<I>Wed, 07 Feb 2001 20:28:32 +0100</I>
<P><UL>
<LI> Previous message: <A HREF="000161.html">[Nel] New release</A></li>
<LI> Next message: <A HREF="000166.html">[Nel] Linux compilation pb</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#162">[ date ]</a>
<a href="thread.html#162">[ thread ]</a>
<a href="subject.html#162">[ subject ]</a>
<a href="author.html#162">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>I couldn't compile src/3d/driver/opengl/driver_opengl_texture.cpp, it was
lacking the prototype for a GL extension function. I found out that "gl.h"
includes "glext.h". And "glx.h" include "gl.h". And so on ... The conclusion
is that you must define GL_GLEXT_PROTOTYPES (if needed) before *any* GL
inclusion. I took this block from driver_opengl_extension.h :
#ifdef NL_OS_UNIX
#define GL_GLEXT_PROTOTYPES
#endif
and moved it to the very beginning of driver_opengl.h (before the #include
<GL/glx.h>).
</pre>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI> Previous message: <A HREF="000161.html">[Nel] New release</A></li>
<LI> Next message: <A HREF="000166.html">[Nel] Linux compilation pb</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#162">[ date ]</a>
<a href="thread.html#162">[ thread ]</a>
<a href="subject.html#162">[ subject ]</a>
<a href="author.html#162">[ author ]</a>
</LI>
</UL>
</body></html>
|