The question is: For what do you need the SDL2_gfx library? Maybe it can be done without it. For example for my old framework based on SDL 1.2 I needed SDL_gfx but for my newer one based on SDL 2 I don't need it anymore ...