Ask coding questions

← Back to all posts
Unable to use SDL2 mixer in repl.it
h
ryanpcmcquen

I'm trying to make my game engine available in Repl.it, but it seems that even though sdl2-mixer installs successfully, it is not in the right path to be recognized when compiling:

https://repl.it/@ryanpcmcquen/basque#.replit

Voters
ryanpcmcquen
Comments
hotnewtop
qcm

were you able to get this working? If not, i have a working LibSDL2 demo here -> https://replit.com/@qcm/repl-libsdl2-template , there is a script to check if libaries are installed , can use this as a reeference. I do not have the compile args for linking libraries correct however - work to do here

ryanpcmcquen

@qcm, yes, I got inspired by your example and just got it working:
https://replit.com/github/ryanpcmcquen/basque

ryanpcmcquen