Hello,
I tried to compile SDL2 mixer today. But when I tried to make the code I get the following error (translation: File or Path not found).
Look at the output of the second command, it means the file is actually there, but make does not look in the right place.
Any idea how I can fix SDL2 mixer?
Regards
Henry
Code:
$ make
/bin/bash ./libtool --mode=compile gcc -g -O2 -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/local/include/SDL2 -DHAVE_SIGNAL_H -DHAVE_SETBUF -fvisibility=hidden -DHAVE_FORK -DCMD_MUSIC -DWAV_MUSIC -DMODPLUG_MUSIC -DMODPLUG_DYNAMIC=“libmodplug.so.1” -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -DUSE_FLUIDSYNTH_MIDI -DFLUIDSYNTH_DYNAMIC=“libfluidsynth.so.1” -DOGG_MUSIC -DOGG_DYNAMIC=“libvorbisfile.so.3” -DFLAC_MUSIC -DFLAC_DYNAMIC=“libFLAC.so.8” -MMD -MT build/mixer.lo -c mixer.c -o build/mixer.lo
libtool: compile: gcc -g -O2 -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/local/include/SDL2 -DHAVE_SIGNAL_H -DHAVE_SETBUF -fvisibility=hidden -DHAVE_FORK -DCMD_MUSIC -DWAV_MUSIC -DMODPLUG_MUSIC -DMODPLUG_DYNAMIC=“libmodplug.so.1” -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -DUSE_FLUIDSYNTH_MIDI -DFLUIDSYNTH_DYNAMIC=“libfluidsynth.so.1” -DOGG_MUSIC -DOGG_DYNAMIC=“libvorbisfile.so.3” -DFLAC_MUSIC -DFLAC_DYNAMIC=“libFLAC.so.8” -MMD -MT build/mixer.lo -c mixer.c -fPIC -DPIC -o build/.libs/mixer.o
In file included from mixer.c:38:0:
dynamic_modplug.h:24:21: fatal error: modplug.h: Datei oder Verzeichnis nicht gefunden
compilation terminated.
make: *** [build/mixer.lo] Fehler 1
.libs/SDL2_mixer-2.0.0
$ apt-file search modplug.h
gstreamer0.10-plugins-bad-doc: /usr/share/gtk-doc/html/gst-plugins-bad-plugins-0.10/gst-plugins-bad-plugins-modplug.html
gstreamer0.10-plugins-bad-doc: /usr/share/gtk-doc/html/gst-plugins-bad-plugins-0.10/gst-plugins-bad-plugins-plugin-modplug.html
libmodplug-dev: /usr/include/libmodplug/modplug.h