Can't build SDL2_gfx for codeblocks/mingw

Hello everyone,

as the title says, i can’t build the SDL2_gfx for mingw / codeblocks.

To tell the truth i compiled the SDL2_gfx library, but i can’t use cause i get many undefined references as follow:

…\TDM-GCC-64\lib\libSdl_Gfx.a(SDL2_gfxPrimitives.o):SDL2_gfxPrimitives.c|| undefined reference to SDL_SetRenderDrawBlendMode'| ..\..\TDM-GCC-64\lib\libSdl_Gfx.a(SDL2_gfxPrimitives.o):SDL2_gfxPrimitives.c|| undefined reference toSDL_RenderDrawPoint’|

and so on…

Any info?
Any prebuilt Sdl2_gfx library that can be used?