CS-FreeStyle / 10000-How-To-Do-in-CS

1 stars 0 forks source link

Missing Shared library #29

Open liuty10 opened 5 years ago

liuty10 commented 5 years ago

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

liuty10 commented 1 year 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:

include <SDL2/SDL.h>

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:

include <SDL2/SDL_image.h>

include <SDL2/SDL_ttf.h>

include <SDL2/SDL_mixer.h>

and the compiler linker commands:

-lSDL2_image -lSDL2_ttf -lSDL2_mixer

liuty10 commented 1 year ago

对于SDL: sudo apt install libsdl1.2-dev sudo apt install libsdl1.2-image-dev