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

Data.StateVar or Graphics.Rendering.OpenGL.GL.StateVar ? #54

Closed elisehuard closed 10 years ago

elisehuard commented 10 years ago

Hipmunk uses Data.StateVar, which is basically the OpenGL StateVar but in a different library. This causes a conflict when using OpenGL And Hipmunk together. Is the OpenGL binding going to stick with the own version or is it also going to use the StateVar library (as implied here http://www.haskell.org/pipermail/beginners/2014-May/013851.html )? At the moment I need to patch Hipmunk to make it work with OpenGL (since doing it the other way round requires patching a load of libs). I'd just like to know who I should propose a patch to, if at all. Thanks,

dagit commented 10 years ago

It sounds like you have an outdated Haskell Platform. OpenGL hasn't used Data.StateVar via the StateVar package for quite some time. The last version to use it was released in 2012 (2.6.0.1) followed by a version in March of 2013 (2.8.0.0) that moved back to the internal version:

According to the HP changelog, they are using version 2.8.0.0:

elisehuard commented 10 years ago

Hi, no, my platform is up to date, and OpenGL doesn't use StateVar, as indicated. My problem is that Hipmunk does. But your comment answers my question, thanks - StateVar is out.