Compiling SDL on OS X with a Haskell bug

I can't get my SDL program to even build on OS X; I am getting this error:

/Users/<redacted>/code/<redacted>/.hsenv/cabal/lib/SDL-0.6.4/ghc-7.4.1/HSSDL-0.6.4.o: unknown symbol `_SDL_HasSSE2'

      

I tried to recompile SDL from source by installing from macports; nothing works.

+3


source to share


1 answer


I'm not really sure what the problem is, but when I was on OSX I had a lot of problems with 7.4.1. After upgrading to 7.4.2 via HomeBrew, most of the problems went away. So I suggest trying 7.4.2. Hope the issue is resolved.



+2


source







All Articles