Does repl.it have the SDL_Image library or the SDL2_Image library?
I was wondering if repl.it has the SDL_Image or SDL2_Image libraries. I assumed they did, but I can't exactly be sure, since there's tons of ways the files could vary. Also, do they have any other libraries like SDL_Image?
DDD
If it helps, I have a simple env with SDL2_image and SDL2_ttf compiled
https://repl.it/join/nfwfdsos-ucax217
why not just test it out?
@Terra361 first you'll have to download the shared or static library, then the header, and then link to the shared/static library (I mean "dynamic" not "shared").
i think its bundled inside the folder @programmeruser
#include "SDL2/SDL_image.h"
@programmeruser I don't think I can DO that in repl, though.
@Terra361 that's because you have to install it separately I think
@Terra361 SPQR said he couldn't get SDL_Image to work
install-pkg sdl
@programmeruser
@programmeruser SPQR said that a really long time ago; I would think that since that was when he still had to use makefile to get SDL or SDL2, and that both of those are now on repl.it (not needing makefile), repl.it should have the Image counterparts of those.
Okay.
You can try to do
install-pkg libsdl2-image-dev
, which will install SDL_image