You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 4, 2019. It is now read-only.
`-- While building package sdl2-mixer-0.1 using:
/Users/mac/.stack/setup-exe-cache/x86_64-osx/Cabal-simple_mPHDZzAJ_2.0.1.0_ghc-8.2.2 --builddir=.stack-work/dist/x86_64-osx/Cabal-2.0.1.0 build --ghc-options " -ddump-hi -ddump-to-file -fdiagnostics-color=always"
Process exited with code: ExitFailure 1
Logs have been written to: /Users/mac/Downloads/yh-master/.stack-work/logs/sdl2-mixer-0.1.log
Configuring sdl2-mixer-0.1...
clang: warning: argument unused during compilation: '-nopie' [-Wunused-command-line-argument]
Preprocessing library for sdl2-mixer-0.1..
/private/var/folders/rq/yw2r9yfn07z4w8f7_k9fktl00000gn/T/stack16289/sdl2-mixer-0.1/Mixer.hsc:196:16: error: use of undeclared identifier 'MIX_INIT_MODPLUG'
hsc_const (MIX_INIT_MODPLUG);
^
/private/var/folders/rq/yw2r9yfn07z4w8f7_k9fktl00000gn/T/stack16289/sdl2-mixer-0.1/Mixer.hsc:196:16: error: use of undeclared identifier 'MIX_INIT_MODPLUG'
/private/var/folders/rq/yw2r9yfn07z4w8f7_k9fktl00000gn/T/stack16289/sdl2-mixer-0.1/Mixer.hsc:196:16: error: use of undeclared identifier 'MIX_INIT_MODPLUG'
/private/var/folders/rq/yw2r9yfn07z4w8f7_k9fktl00000gn/T/stack16289/sdl2-mixer-0.1/Mixer.hsc:199:16: error: use of undeclared identifier 'MIX_INIT_FLUIDSYNTH'
hsc_const (MIX_INIT_FLUIDSYNTH);
^
/private/var/folders/rq/yw2r9yfn07z4w8f7_k9fktl00000gn/T/stack16289/sdl2-mixer-0.1/Mixer.hsc:199:16: error: use of undeclared identifier 'MIX_INIT_FLUIDSYNTH'
/private/var/folders/rq/yw2r9yfn07z4w8f7_k9fktl00000gn/T/stack16289/sdl2-mixer-0.1/Mixer.hsc:199:16: error: use of undeclared identifier 'MIX_INIT_FLUIDSYNTH'
/private/var/folders/rq/yw2r9yfn07z4w8f7_k9fktl00000gn/T/stack16289/sdl2-mixer-0.1/Mixer.hsc:404:16: error: use of undeclared identifier 'MUS_MP3_MAD'
hsc_const (MUS_MP3_MAD);
^
/private/var/folders/rq/yw2r9yfn07z4w8f7_k9fktl00000gn/T/stack16289/sdl2-mixer-0.1/Mixer.hsc:404:16: error: use of undeclared identifier 'MUS_MP3_MAD'
/private/var/folders/rq/yw2r9yfn07z4w8f7_k9fktl00000gn/T/stack16289/sdl2-mixer-0.1/Mixer.hsc:404:16: error: use of undeclared identifier 'MUS_MP3_MAD'
/private/var/folders/rq/yw2r9yfn07z4w8f7_k9fktl00000gn/T/stack16289/sdl2-mixer-0.1/Mixer.hsc:406:16: error: use of undeclared identifier 'MUS_MODPLUG'; did you mean 'MUS_OPUS'?
hsc_const (MUS_MODPLUG);
^~~~~~~~~~~
MUS_OPUS
/Users/mac/.stack/programs/x86_64-osx/ghc-8.2.2/lib/ghc-8.2.2/template-hsc.h:38:10: note: expanded from macro 'hsc_const'
if ((x) < 0) \
^
/usr/local/Cellar/sdl2_mixer/2.0.4/include/SDL2/SDL_mixer.h:139:5: note: 'MUS_OPUS' declared here
MUS_OPUS
^
/private/var/folders/rq/yw2r9yfn07z4w8f7_k9fktl00000gn/T/stack16289/sdl2-mixer-0.1/Mixer.hsc:406:16: error: use of undeclared identifier 'MUS_MODPLUG'; did you mean 'MUS_OPUS'?
hsc_const (MUS_MODPLUG);
^~~~~~~~~~~
MUS_OPUS
/Users/mac/.stack/programs/x86_64-osx/ghc-8.2.2/lib/ghc-8.2.2/template-hsc.h:39:41: note: expanded from macro 'hsc_const'
hsc_printf ("%lld", (long long)(x)); \
^
/usr/local/Cellar/sdl2_mixer/2.0.4/include/SDL2/SDL_mixer.h:139:5: note: 'MUS_OPUS' declared here
MUS_OPUS
^
/private/var/folders/rq/yw2r9yfn07z4w8f7_k9fktl00000gn/T/stack16289/sdl2-mixer-0.1/Mixer.hsc:406:16: error: use of undeclared identifier 'MUS_MODPLUG'; did you mean 'MUS_OPUS'?
hsc_const (MUS_MODPLUG);
^~~~~~~~~~~
MUS_OPUS
/Users/mac/.stack/programs/x86_64-osx/ghc-8.2.2/lib/ghc-8.2.2/template-hsc.h:41:50: note: expanded from macro 'hsc_const'
hsc_printf ("%llu", (unsigned long long)(x));
^
/usr/local/Cellar/sdl2_mixer/2.0.4/include/SDL2/SDL_mixer.h:139:5: note: 'MUS_OPUS' declared here
MUS_OPUS
^
12 errors generated.
compiling .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/SDL/Raw/Mixer_hsc_make.c failed (exit code 1)
command was: /usr/bin/gcc -c .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/SDL/Raw/Mixer_hsc_make.c -o .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/SDL/Raw/Mixer_hsc_make.o -m64 -fno-stack-protector -m64 -fno-stack-protector -m64 -D__GLASGOW_HASKELL__=802 -Ddarwin_BUILD_OS=1 -Dx86_64_BUILD_ARCH=1 -Ddarwin_HOST_OS=1 -Dx86_64_HOST_ARCH=1 -I/usr/local/include/SDL2 -D_THREAD_SAFE -I.stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/autogen -I.stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/global-autogen -include .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/autogen/cabal_macros.h -I/usr/local/include/SDL2 -I/Users/mac/.stack/snapshots/x86_64-osx/lts-10.4/8.2.2/lib/x86_64-osx-ghc-8.2.2/vector-0.12.0.1-JlawpRjIcMJIYPJVsWriIA/include -I/Users/mac/.stack/snapshots/x86_64-osx/lts-10.4/8.2.2/lib/x86_64-osx-ghc-8.2.2/primitive-0.6.3.0-CXy1O9sQYlI58rn9KQkFyo/include -I/Users/mac/.stack/programs/x86_64-osx/ghc-8.2.2/lib/ghc-8.2.2/time-1.8.0.2/include -I/Users/mac/.stack/programs/x86_64-osx/ghc-8.2.2/lib/ghc-8.2.2/bytestring-0.10.8.2/include -I/Users/mac/.stack/programs/x86_64-osx/ghc-8.2.2/lib/ghc-8.2.2/base-4.10.1.0/include -I/Users/mac/.stack/programs/x86_64-osx/ghc-8.2.2/lib/ghc-8.2.2/integer-gmp-1.0.1.0/include -I/Users/mac/.stack/programs/x86_64-osx/ghc-8.2.2/lib/ghc-8.2.2/include -I/Users/mac/.stack/programs/x86_64-osx/ghc-8.2.2/lib/ghc-8.2.2/include/
make: *** [build] Error 1`
The text was updated successfully, but these errors were encountered:
The issue I believe is that the game uses sdl2-mixer-1.1.0 but from the log it looks like it's trying to use sdl2-mixer-0.1. In the full game this dependency is pinned in the stack.yaml
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
`-- While building package sdl2-mixer-0.1 using:
/Users/mac/.stack/setup-exe-cache/x86_64-osx/Cabal-simple_mPHDZzAJ_2.0.1.0_ghc-8.2.2 --builddir=.stack-work/dist/x86_64-osx/Cabal-2.0.1.0 build --ghc-options " -ddump-hi -ddump-to-file -fdiagnostics-color=always"
Process exited with code: ExitFailure 1
Logs have been written to: /Users/mac/Downloads/yh-master/.stack-work/logs/sdl2-mixer-0.1.log
make: *** [build] Error 1`
The text was updated successfully, but these errors were encountered: