You are not logged in.
I am getting this conmpilation error when trying to compile an opengl program ,i am new to this and starting out with the hellow world.I have multilib enabled and seems to have installed all the usual suspects .
GL/glu.h: No such file or directoryWhich package provides these headers Or do I have to manually get them ?
Offline
$ pkgfile glu.h
extra/fltk
extra/glu
community/arm-wince-cegcc-w32api
community/cuda
community/mingw32-w32apiI'd go with the second one - hopefully obviously.
Last edited by Trilby (2012-11-01 01:37:22)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Just to add to what Trilby posted, please read our FAQ: https://wiki.archlinux.org/index.php/FA … is_X_in.3F
Offline
glu/lib32-glu is a new package introduced in Mesa 9. Before that, the Glu funtionality was packaged in mesa/lib32-mesa. So the rule of thumb is: if an opengl package that used to work under Mesa 8 doesn't now, just install glu.
Intel(R) Celeron(R) CPU E3400 @ 2.60GHz, x86_64. AURs.
“No one without the knowledge of geometry may enter.“ Plato.
Offline
Sorry for late reply ,I have both extra/glu and multilib/lib32-glu installed already ,i still dont have glu.h the file in include/GL What am I missing ?
EDIT: I instaled the first fltk package ,that seemed to get glu.h,but why is there nno glu.h in glu in the first place ?
Last edited by Diadara (2012-11-05 00:54:59)
Offline
Glu must not be properly installed. /usr/include/GL/glu.h is in extra/glu.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
I was having this same problem for a few hours and was trying different things to resolve it. Uninstalling and reinstalling glu didn't work. What eventually fixed it was reinstalling glu without uninstalling it first. Just doing a simple
pacman -S gluwhile having glu already installed worked. No idea why it won't work on a fresh install, but that's what fixed it. Hope that helps anyone else that runs into this problem in the future.
Offline