[Haskell-cafe] SOE/GLFW compilation problems

Joel Stanley intractable at gmail.com
Sun Oct 7 12:29:57 EDT 2007

Hi folks,

I've recently been able to get the SOE/GLFW code up and running from


and things are working well under GHCi under Mac OS X.

However, when attempting to compile a simple graphics script using ghc, I'm
getting some unexpected link errors:

$ ghc -o mygfx mygfx.hs -iSOE/src
compilation IS NOT required
/usr/bin/ld: Undefined symbols:
collect2: ld returned 1 exit status

I'm quite new to Haskell, so I'm not sure if there was something special I
had to do in order to get the code for the closures generated by ghc.

Any ideas? Thanks in advance.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20071007/3f35a784/attachment-0001.htm

More information about the Haskell-Cafe mailing list