The Stack Overflow podcast is back! Listen to an interview with our new CEO.

I recommend SDL_bgi for this kind of conversion, it seems better-maintained than libgraph. Using that, you need to remove the #include <curses.h> line (which is causing the conflicting declarations), and build with gcc bounce.c -lSDL_bgi $(pkg-config --libs sdl2) -o bounce

Only top voted, non community-wiki answers of a minimum length are eligible