-
-
Save simonmichael/658811 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- test for hsSDL unknown symbol issue on mac OSX leopard | |
-- | |
-- with macports sdl libs and hackage SDL libs installed, | |
-- this script compiles and runs via ghc --make, but via | |
-- runhaskell gives an error like: | |
-- /Users/simon/.cabal/lib/SDL-0.6.2/ghc-6.12.3/HSSDL-0.6.2.o: unknown symbol `_SDL_FreeSurface' | |
import Graphics.UI.SDL (getTicks) | |
main = do | |
t <- getTicks | |
putStrLn $ show t |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment