User forums > Using Code::Blocks

Compiling SDL2_gfx library

(1/1)

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

BlueHazzard:
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_(general)#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F

stahta01:

--- Quote from: BlueHazzard on February 28, 2018, 05:35:37 pm ---http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_(general)#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F

--- End quote ---

Post your build log for SDL2; in addition to the build log for SDL2_gfx library.

Tim S.

Navigation

[0] Message Index

Go to full version