按楼主第一条SDLTest_DrawString后报错
请问如何解决:
||=== Build: Debug in SDLTestString (compiler: GNU GCC Compiler) ===|
D:\libSDL\lib\libSDL2_test.a(SDL_test_font.o)||In function `SDLTest_DrawCharacter':|
\Users\slouken\release\SDL\SDL2-2.0.3-source\foo-x86\..\src\test\SDL_test_font.c|3210|undefined reference to `SDL_GetRenderDrawColor'|
\Users\slouken\release\SDL\SDL2-2.0.3-source\foo-x86\..\src\test\SDL_test_font.c|3211|undefined reference to `SDL_SetTextureColorMod'|
\Users\slouken\release\SDL\SDL2-2.0.3-source\foo-x86\..\src\test\SDL_test_font.c|3212|undefined reference to `SDL_SetTextureAlphaMod'|
\Users\slouken\release\SDL\SDL2-2.0.3-source\foo-x86\..\src\test\SDL_test_font.c|3217|undefined reference to `SDL_RenderCopy'|
\Users\slouken\release\SDL\SDL2-2.0.3-source\foo-x86\..\src\test\SDL_test_font.c|3161|undefined reference to `SDL_CreateRGBSurface'|
\Users\slouken\release\SDL\SDL2-2.0.3-source\foo-x86\..\src\test\SDL_test_font.c|3195|undefined reference to `SDL_CreateTextureFromSurface'|
\Users\slouken\release\SDL\SDL2-2.0.3-source\foo-x86\..\src\test\SDL_test_font.c|3196|undefined reference to `SDL_FreeSurface'|
||error: ld returned 1 exit status|
||=== Build failed: 8 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|