News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Compiling SDL2_gfx library

Started by AmiCode, February 28, 2018, 04:21:18 PM

Previous topic - Next topic

AmiCode

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



stahta01

C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]