<br><br><div class="gmail_quote">On Tue, Oct 9, 2012 at 1:55 PM, Dan Haraj <span dir="ltr">&lt;<a href="mailto:devharaj@gmail.com" target="_blank">devharaj@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
This is a regression of some sort since the library operates fine within GHCi for previous versions of GHC. I don&#39;t know whether it is a problem with GHCi, the OpenGL library, or some third party. This is the error encountered when a module that uses OpenGL tries to load:<br>

<br><div>Prelude Main&gt; main</div><div>Loading package OpenGLRaw-1.2.0.0 ... linking ... ghc.exe: unable to load package `OpenGLRaw-1.2.0.0&#39;<br></div>    Prelude Main&gt; :q<br>    Leaving GHCi.<br>     &lt;interactive&gt;: C:\...\OpenGLRaw-1.2.0.0\ghc-7.6.1\HSOpenGLRaw-1.2.0.0.o: unknown symbol `__imp_wglGetProcAddress&#39;<br>

<br>I have very little of an idea of what&#39;s going on here. It would be rather painful to debug this myself so any insight is appreciated.<br></blockquote><div><br></div><div>I don&#39;t know the solution or the culprit, but normally that symbol is defined in opengl32.lib/dll and the OpenGLRaw cabal file mentions it as an extra library.</div>
<div><br></div><div>Jason</div></div>