The OpenAL bindings aren't building for me on GHC 7.6:

Sound/OpenAL/ALC/QueryUtils.hs:66:1:
    Unacceptable argument type in foreign declaration: ALCdevice
    When checking declaration:
      foreign import ccall unsafe "static alcGetString" alcGetString
        :: ALCdevice -> ALCenum -> IO (Ptr ALCchar)

Sound/OpenAL/ALC/QueryUtils.hs:102:1:
    Unacceptable argument type in foreign declaration: ALCdevice
    When checking declaration:
      foreign import ccall unsafe "static alcGetIntegerv" alcGetIntegerv
        :: ALCdevice -> ALCenum -> ALCsizei -> Ptr ALCint -> IO ()

Sound/OpenAL/ALC/QueryUtils.hs:120:1:
    Unacceptable argument type in foreign declaration: ALCdevice
    When checking declaration:
      foreign import ccall unsafe "static alcIsExtensionPresent" alcIsExtensionPresent_
        :: ALCdevice -> Ptr ALCchar -> IO ALCboolean
Failed to install OpenAL-1.4.0.1



On Fri, Dec 14, 2012 at 10:52 PM, Christopher Howard <christopher.howard@frigidcode.com> wrote:
Hey guys, to teach myself Haskell I wrote a little arcade game called
The Edge, built on gloss. It is in hackage under the package name
"edge". Are there a few kind souls who would be willing to compile it on
their machines and let me know if there are any problems at the
compiling level? In the past, I've had issues with Haskell code
compiling fine on my development system but not on others (due to
dependency-related issues). I want to double check this before I try to
make any distro-specific packages.

I developed with GHC 7.4 and cabal-install 1.16.0.2 on a Gentoo system.
Requires OpenGL and OpenAL (for sound).

cabal update && cabal install edge

--
frigidcode.com


_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe