Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: AmiCode on February 28, 2018, 04:21:18 pm

Title: Compiling SDL2_gfx library
Post by: AmiCode 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

Title: Re: Compiling SDL2_gfx library
Post by: 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
Title: Re: Compiling SDL2_gfx library
Post by: stahta01 on February 28, 2018, 08:03:31 pm
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_(general)#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F

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

Tim S.