
Sven Panne wrote:
[ redirected to hopengl mailing list ]
Ok, as you wish. I hope I do not need to/am already subscribed to that list.
It compiles fine with GHC 6.2.1 on my Win2k box, you might want to update your GHC installation. There have been quite a few bug fixes, so it might be worth it even when you are not using OpenGL/GLUT. Does it work with 6.2 when you add -O? Just curious...
Yes, it compiles under 6.2.1, I did not check -O.
Apart from that, there are a few things you should change in your code: * GL/GLU state can only be accessed after you have a rendering context, i.e. after createWindow [deleted]
Yes, I know most of this things. I did some OpenGL devel in C. My code was only to show that it doesn't link correctly ;) Anywat thanks for the link, I'll check it someday... -- Gracjan