Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
elisehuard opened this issue Jul 2, 2014 · 2 comments
Closed

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

elisehuard opened this issue Jul 2, 2014 · 2 comments

Comments

@elisehuard
Copy link

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
Copy link
Member

dagit commented Jul 2, 2014

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
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants