[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
http://haskell.org/soe/software1.htm
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:
_SOE_Blue_closure
_SOE_Red_closure
_SOE_closeWindow_closure
_SOE_drawInWindow_closure
_SOE_ellipse_closure
_SOE_getKey_closure
_SOE_openWindow_closure
_SOE_polyline_closure
_SOE_runGraphics_closure
_SOE_withColor_closure
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.
Joel
-------------- 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