
Hi, has anybody recently install the GLFW package on Mac OS X? It won't install on my machine. Günther

Yes, it seemed to work fine for me (this was about 2 months ago, however). I'm running Leopard (10.5.6). -- Duane On May 7, 2009, at 1:12 PM, Günther Schmidt wrote:
Hi,
has anybody recently install the GLFW package on Mac OS X?
It won't install on my machine.
Günther
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Excerpts from Günther Schmidt's message of Thu May 07 14:12:04 -0500 2009:
Hi,
has anybody recently install the GLFW package on Mac OS X?
It won't install on my machine.
Günther
I ran into this problem - with GHC 6.10.2 or above if you try to install GLFW with cabal install you get a host of errors that are SSE-based and for that matter make absolutely no sense at all, but they do appear. The solution (unfortunately) is manually to alter the GLFW.cabal file to pass the '-msse2' option to gcc *while under OS X*. That is, the cabal file should look something like: if os(darwin) include-dirs: glfw/include glfw/lib glfw/lib/macosx c-sources: .... --> cc-options: -msse2 frameworks: AGL Carbon OpenGL So just add that line marked with '-->'. This will make sure GCC does not die while building. I'm honestly not sure why this change has occurred, but it's pretty annoying, and I guess I should probably send a patch to Paul. H. Liu... Austin
participants (3)
-
Austin Seipp
-
Duane Johnson
-
Günther Schmidt