Stop! Tickets are now managed at GitHub.

Please enter new tickets, and find and edit existing tickets there:


Ticket #12 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

OpenAL doesn't work on Windows (without some tinkering)

Reported by: refold Owned by: panne
Priority: major Milestone:
Component: OpenAL Keywords:
Cc:

Description

I managed to compile OpenAL on Windows (relatively straightforward), but had some trouble with building examples. It turned out that the library links to openal32.dll via stdcall instead of ccall. After editing the 'configure' script by hand and rebuilding, the problem disappeared.

This bug is listed as fixed in the upstream bug tracker, though.

I also wonder why do Haskell's OpenAL bindings have to depend on OpenGL (the C library doesn't have this dependency).

Change History

Changed 6 years ago by refold

Looks like the patch was applied, but the Cabal package wasn't updated yet.

Changed 6 years ago by dons

  • owner set to SvenPanne
  • component set to OpenAL

Changed 6 years ago by refold

Just to make this clear: OpenAL works on Windows with the patch from http://hackage.haskell.org/trac/ghc/ticket/1140 , the bug is against the current Hackage version.

Changed 6 years ago by panne

  • owner changed from SvenPanne to panne

Changed 6 years ago by panne

  • status changed from new to assigned

Changed 6 years ago by panne

As already mentioned above, the calling convention bug is already fixed in the OpenAL repository. I'm trying to upload a new release to Hackage in the next few days, but first I'll have to figure out how to do this. My packages on Hackage were uploaded by Ross and Ian.

Changed 6 years ago by dons

  • status changed from assigned to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.