
16 Mar
2003
16 Mar
'03
5:18 p.m.
Milos Hasan wrote:
[...] It seems that "make install" does not copy the GLUT files into the GHC directory structure at all.
Alas, that's true: It is a known bug in HOpenGL 1.04. :-(
What to do?
Simply copy all GLUT interface files to your GHC's import subdirectory. This can e.g. be done by the following one-liner: cd HOpenGL ; ( tar cf - `find GLUT -name "*hi"` ) | ( cd `lib/find-ghc-libdir`/imports ; tar xvf - ) Hmmm, and I've just seen that HOpenGL.conf uses "GL/glu.h" for c_includes, but GL/glut.h might be a better idea... *sigh* Cheers, S.