'#include <filename>' will try to include a header from the system, and not from the extracted tarball content. You'd be correct if it was between double-quotes (")
source: http://msdn.microsoft.com/en-us/library/36k2cdd4(v=vs.71).aspx
But that's weird. I can't think of anything but a missing /usr/include/GL/glu.h, which shouldn't be a problem if you have installed the glu from official repositories, currently in version 9.0.0-1. Can you think of any customization in your side that could interfere in finding this header?
Search Criteria
Package Details: lib32-glew1.7 1.7.0-2
Package Actions
| Package Base: | lib32-glew1.7 |
|---|---|
| Description: | Legacy version of the OpenGL Extension Wrangler Library (32 bit) |
| Upstream URL: | http://glew.sourceforge.net |
| Category: | lib |
| Licenses: | |
| Submitter: | josephgbr |
| Maintainer: | None |
| Last Packager: | None |
| Votes: | 18 |
| First Submitted: | 2012-08-06 02:32 |
| Last Updated: | 2013-01-19 13:48 |
Dependencies (5)
Required by (0)
Sources
Latest Comments
Comment by josephgbr
Anonymous comment
Unfortunately, this does not solve the problem. I've already got glu installed. It seems as though glew.h is looking for glu.h in the source tarball. The tar has include/GL which contains wglew.h, glxew.h, and glew.h, but not glu.h (which is where it expects glu.h to be).
Comment by josephgbr
'glu' added to makedepends in 1.7.0-2
Comment by josephgbr
@ngrammel: Basically you need the 'glu' package, as it provides /usr/includes/GL/glu.h. I'll fix that in the PKGBUILD asap.
Anonymous comment
I'm getting a compilation error for this package:
"gcc -m32 -c -O2 -Wall -W -Iinclude -o src/glewinfo.o src/glewinfo.c
In file included from src/glewinfo.c:35:0:
include/GL/glew.h:1167:24: fatal error: GL/glu.h: No such file or directory"
glew.h checks for "#ifndef GLEW_NO_GLU" before attempting to access glu.h, and other source files are compiled with -DGLEW_NO_GLU. Is GLEW_NO_GLU supposed to be defined here as well, or is glu.h supposed to be there?
Comment by josephgbr
This legacy package was created as a workaround to deal with PCSX2 1.0.0 needs. Other users might simply want to install lib32-glew package from [multilib] repository.