Open liuty10 opened 5 years ago
https://stackoverflow.com/questions/10488775/sdl-h-no-such-file-or-directory-found-when-compiling
sudo apt-get install libsdl2-dev I used the header:
and the compiler linker command:
-lSDL2main -lSDL2 Additionally, you may also want to install:
apt-get install libsdl2-image-dev
apt-get install libsdl2-mixer-dev
apt-get install libsdl2-ttf-dev
With these headers:
and the compiler linker commands:
-lSDL2_image -lSDL2_ttf -lSDL2_mixer
对于SDL: sudo apt install libsdl1.2-dev sudo apt install libsdl1.2-image-dev
libcrypto.so.1.0.0: libcurl.so.4: libcurl4-openssl-dev or libcurl4-openssl-dev:i386
libXrandr.so: libxrandr-dev or libxrandr-dev:i386
SDL: sudo apt-get install git curl libsdl2-mixer-2.0-0 libsdl2-image-2.0-0 libsdl2-2.0-0 or sudo apt-get install libsdl2-mixer-2.0-0:i386 libsdl2-image-2.0-0:i386 libsdl2-2.0-0:i386