Open peti opened 6 years ago
I found this patch in another project which suggests what kind of changes might be necessary to fix this problem: https://github.com/kivy/kivy/commit/3b85f3e1c292b3f6c3f226490f52a2ab78251730.patch
Same problem on OS X.
works for me, I'm on OS X.
.cabal:
build-depends:
base >=4.7 && <5
, sdl2
, sdl2-mixer >=1.1.0
stack.yaml:
extra-deps:
- sdl2-mixer-1.1.0
@vyorkin you probably don't have SDL2_mixer 2.0.2
but a previous one.
@Rydgel here is the my brew info
output:
❯ brew info sdl2_mixer
sdl2_mixer: stable 2.0.2 (bottled), HEAD
Sample multi-channel audio mixer library
https://www.libsdl.org/projects/SDL_mixer/
/usr/local/Cellar/sdl2_mixer/2.0.2_3 (10 files, 338.6KB) *
Built from source on 2018-02-14 at 09:36:28 with: --with-flac --with-fluid-synth --with-libmikmod
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/sdl2_mixer.rb
==> Dependencies
Build: pkg-config ✔
Required: libmodplug ✔, libvorbis ✔, sdl2 ✔
Optional: flac ✔, fluid-synth ✔, libmikmod ✔, mpg123 ✘
==> Options
--with-flac
Build with flac support
--with-fluid-synth
Build with fluid-synth support
--with-libmikmod
Build with libmikmod support
--with-mpg123
Build with mpg123 support
--HEAD
Install HEAD version
Ok I understand what's wrong. Seems like the LTS package is the old 0.1
version.
I made it work by forcing the sdl2-mixer-1.1.0
package in the stack.yml
file.
Thanks!
openSUSE has recently updated its
SDL2_mixer
system library to version 2.0.2 and that change has broken the build of this Haskell package:Is this a known issue?