Closed Andres6936 closed 4 years ago
I have compiled the program by doing the following:
I modified the Makefile to remove the -DSOUND_SDL
definition and the link to -lSDL_mixer
Have you tried to install, sdl mixer developer package?
For me on Ubuntu 19.10 worked:
$ sudo apt install libsdl1.2-dev libsdl-mixer1.2-dev
And I didn't have to do additional changes to compile.
@jezek thanks very much. Your suggestion worked correctly.
@Andres6936 The suggestion above is the bare minimum for compile (I think). Maybe you want to install some more packages for full sound support. Please read the Linux (compiling from source):
section in Installation & setup docs.
Command:
Error:
Suggestions:
Use:
The problems originate from the fact that the headers of SDL and SDL2 are usually found in
/usr/local/include/SDL
or/usr/include/SDL
.