Re: [HOpenGL] Starting it all over again: It works!!!

Manuel Garcia Rodriguez wrote:
Thanks God! After three weeks I was able to compile and run HOpenGL.
Unfortunately I did not succeed yet... Check this weird history: I was stuck at "make install" getting the error: GL/glut.h: No such file or directory I then copied the glut files from http://haskell.org/HOpenGL/releases/OpenGL-includes.zip and passed through this point. Later in "make install", I got a new error: test -d "/cygdrive/c/GHC/GHC-5.04.2/BIN/ghc/imports/HOpenGL" || mkdir "/cygdrive /c/GHC/GHC-5.04.2/BIN/ghc/imports/HOpenGL" mkdir: cannot create directory `/cygdrive/c/GHC/GHC-5.04.2/BIN/ghc/imports/HOpen GL': No such file or directory make[1]: *** [install] Error 1 make: *** [install] Error 1 I created the missing directory by hand and finally "make install" was completed, in spite of a lot of warnings such as: - foreign declaration uses deprecated non-standard syntax - assignment discards qualifiers from pointer target type - implicit declaration of function `glTexImage3D' - ... I did not understand why the examples (both C and HS) were not compiled during stall. I then tryied to compile them by hand, but got stuck at BlendEqn with the following error: ../../lib/libHOpenGL.a(GL_PerFragment__57.o)(.text+0x124)://c/WINDOWS/TEMP/g hc-3 33765.hc: undefined reference to `glBlendEquation' make[1]: *** [BlendEqn] Error 1 make: *** [all] Error 1 I then decided to start it all over again (once more :]) because I realized that I copied glut files AFTER the ./configure step, and supposed that this could give me more problems in the future. When running "./configure" once more, I was very surprised by this error: checking for ghc... no configure: error: No Haskell compiler not found (!!!) Now I have no idea what am I supposed to do... perhaps uninstall everything (including GHC) and try it once more. As always, config.log is attached, in case someone can give me a light. Cheers, -- Andre
participants (1)
-
Andre Wilson Brotto Furtado