Author Topic: Compiling SDL2_gfx library  (Read 1102 times)

Offline AmiCode

  • Single posting newcomer
  • *
  • Posts: 5
Compiling SDL2_gfx library
« on: February 28, 2018, 04:21:18 pm »
Hello everyone,

i'm trying to compile the SDL2_gfx library in codeblocks - mingw (TDM-GCC-64).
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’|

Someone compiled and used successfully this library?
Could you please help?

Kind regards

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6996
    • My Best Post
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
When in doubt, read the CB WiKi FAQ.