[HOpenGL] Makefile for the examples

patrick scheibe mai99dnn@studserv.uni-leipzig.de
Tue, 2 Jul 2002 02:19:01 +0200


Hi there.
I think I installed HOpenGL successfully. But if I try to compile an exam=
ple=20
by myself the ghc breaks up. I tried that with

ghc -i/usr/lib/ghc-5.02.3/imports/HOpenGL/ -i/usr/lib/ghc-5.02.3/imports/=
lang/=20
Hello.hs


and got error-messages like

Module `GL' is located in package `Main'
but its interface file claims it is part of package `HOpenGL'

and much of linker-errors.
Is there somebody who can give me a short makefile to see what was wrong.=
 I am=20
new in Haskell and use OpenGl in C only.

thanx Patrick