From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- pipermail/nel/2001-February/000162.html | 58 +++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 pipermail/nel/2001-February/000162.html (limited to 'pipermail/nel/2001-February/000162.html') diff --git a/pipermail/nel/2001-February/000162.html b/pipermail/nel/2001-February/000162.html new file mode 100644 index 00000000..1081da49 --- /dev/null +++ b/pipermail/nel/2001-February/000162.html @@ -0,0 +1,58 @@ + + + + [Nel] Linux compilation pb + + + + + + +

[Nel] Linux compilation pb

+ Vincent Caron + v.caron@zerodeux.net
+ Wed, 07 Feb 2001 20:28:32 +0100 +

+
+ +
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>).
+
+
+ + + + +
+

+ -- cgit v1.2.1