opengl - Can't install OpenGLRaw-1.1.0.1 on OS X -
when run
$ cabal install openglraw i following errors.
... ... ... cbits/hsopenglraw.c:78:20: error: stdlib.h: no such file or directory cbits/hsopenglraw.c:79:19: error: dlfcn.h: no such file or directory cbits/hsopenglraw.c: in function ‘hs_openglraw_getprocaddress’: cbits/hsopenglraw.c:97:0: error: ‘null’ undeclared (first use in function) cbits/hsopenglraw.c:97:0: error: (each undeclared identifier reported once cbits/hsopenglraw.c:97:0: error: each function appears in.) cbits/hsopenglraw.c:104:0: warning: implicit declaration of function ‘dlopen’ cbits/hsopenglraw.c:104:0: error: ‘rtld_lazy’ undeclared (first use in function) cbits/hsopenglraw.c:104:0: warning: assignment makes pointer integer without cast cbits/hsopenglraw.c:115:0: warning: implicit declaration of function ‘dlsym’ cbits/hsopenglraw.c:115:0: warning: assignment makes pointer integer without cast cbits/hsopenglraw.c:126:0: warning: return makes pointer integer without cast cabal: error: packages failed install: openglraw-1.1.0.1 failed during building phase. exception was: exitfailure 1 i installed latest haskell platform os x , ran cabal update measure.
looks me ticket #5011 - xcode 4 on mac + ghc 7.0.2 fails link.
this fixed in ghc 7.0.3 part of mid-april release of haskell platform.
and alternative fix downgrade 2010.2 haskell platform.
Comments
Post a Comment