haskell-opengl / OpenGL

Haskell bindings to OpenGL
http://www.haskell.org/haskellwiki/OpenGL
BSD 3-Clause "New" or "Revised" License
147 stars 26 forks source link

Illegal datatype context #26

Closed dagit closed 11 years ago

dagit commented 12 years ago

I'm trying to install OpenGL library. (ghc 7.4.1, Ubuntu Lucid)

But installation fails with

[54 of 82] Compiling Graphics.Rendering.OpenGL.GL.Evaluators ( Graphics/Rendering/OpenGL/GL/Evaluators.hs, dist/build/Graphics/Rendering/OpenGL/GL/Evaluators.o )

Graphics/Rendering/OpenGL/GL/Evaluators.hs:169:6: Illegal datatype context (use -XDatatypeContexts): (ControlPoint c, Domain d) => cabal: Error: some packages failed to install: OpenGL-2.5.0.0 failed during the building phase. The exception was: ExitFailure 1

jtmalinowski commented 11 years ago

Please mark as fixed, 2.5.0.1 seems to fix this issue for me.