[HOpenGL] Re: Welcome to the "HOpenGL" mailing list

Magnus Lindberg f98mali@dd.chalmers.se
Fri, 21 Mar 2003 01:08:47 +0100


Hello!
When I try to install HOpenGl with win2000 and GHC ghc-5.04.3 with
green card 2.05 and cygwin I get this error message (on the last rows
in the next paragraph):


Magnus_Lindberg@leomaheo /cygdrive/f/Unex_progs/Haskell/HOpenGL-1.04
$ make install
----------------------------------------------------------------------
Recursively making `install' in lib examples ...
PWD = /cygdrive/f/Unex_progs/Haskell/HOpenGL-1.04
----------------------------------------------------------------------
----------------------------------------------------------------------
make install - --unix;
in /cygdrive/f/Unex_progs/Haskell/HOpenGL-1.04/lib
----------------------------------------------------------------------
rm -f GL_Marshal.o ; if [ ! -d GL_Marshal_split ]; then mkdir
GL_Marshal_split; else find GL_Marshal_split -name '*.o' -print |
xargs -s 8000 rm -f __rm_food ; fi ;
"C:/Program/Haskell/ghc/ghc-5.04.3/bin/ghc.exe" -package lang
-package-name HOpenGL -i../GLUT -I../GLUT/include -cpp
-DCALLCONV=stdcall -split-objs -odir GL_Marshal_split -fglasgow-exts  
"-#include <
GL/glut.h>" -O   -c GL_Marshal.hs -o GL_Marshal.o
c:\DOCUME~1\MAGNUS~1\LOKALA~1\Temp\ghc1480.hc:4: GL/glut.h: No such
file or directory
make[1]: *** [GL_Marshal.o] Error 1
make: *** [install] Error 1


I have installed the missing "include" directiory from the
"OpenGL-includes.zip" into the catalog where the HOpenGL makefile is.
I also get another strange message:

$make depend
...
cut: /cygdrive/c/Program/Haskell/ghc/ghc-5.04.3/bin/ghc:
No such file or directory
...

(there is a file named "ghc.exe" in the above mentioned catalog but no
"ghc" file) I guess not, but perhaps this could have something to do
with the failure of "make install" ?

Thanks for any answers

Best regards, Magnus