Quote:
Originally Posted by EVSpl
I can't even install the packages.
If I write "sudo apt install SDL_image" in the console for example I just get the error message back:
E: Unable to locate package SDL_image
So my first question is how exactly can I install the libraries or packages that needed to be installed? Or where do I get those packages?
Best
EVSpl
|
did you query your repo first to ensure you're spelling it correctly?
it maybe SDL-image and not SDL_image...
just whatever your commands are to query and the search word SDL or SDL* should give you everything related to SDL
if you are going strictly source code a simple query to google "SDL download" then figure out how to manipulate the address. I clicked on this one
https://www.libsdl.org/projects/SDL_mixer/
then just backed off the address in the address bar to get this one.
https://www.libsdl.org/projects/
which gives you everything SDL Source code
note:
when compiling from source, you have to have the developers source installed too, so that whatever it is you are compiling from source code can read the header files to ensure function calls are being used properly. It needs them definitions to insure proper data types are being handled properly, (in short).
That means, all of these have to be source code. that maybe spelled like this
Code:
SDL-devel
SDL_image-devel
SDL_mixer-devel
SDL_ttf-devel
or with just dev instead with either a hyphen or underscore, maybe even a period to separate the words. All depending on the developer/maintainer. This is why it is a good idea to query your repo if you are pulling off of that to get source code so you know which spelling conventions they are using, so, you'll get it right when you go to install it.