Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jsf-2/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Linker SDL_ttf链接错误代码::块(Windows)_Linker_Sdl_Codeblocks_Sdl Ttf - Fatal编程技术网

Linker SDL_ttf链接错误代码::块(Windows)

Linker SDL_ttf链接错误代码::块(Windows),linker,sdl,codeblocks,sdl-ttf,Linker,Sdl,Codeblocks,Sdl Ttf,我已经按照lazyfoo.net的教程学习了如何将SDL_ttf与Code::Blockswindows链接,但有些地方出了问题。我发现以下错误: C:\SDL_ttf-2.0.11\include\SDL_ttf.h|30|error: SDL.h: No such file or directory| C:\SDL_ttf-2.0.11\include\SDL_ttf.h|31|error: begin_code.h: No such file or directory| C:\SDL_tt

我已经按照lazyfoo.net的教程学习了如何将SDL_ttf与Code::Blockswindows链接,但有些地方出了问题。我发现以下错误:

C:\SDL_ttf-2.0.11\include\SDL_ttf.h|30|error: SDL.h: No such file or directory|
C:\SDL_ttf-2.0.11\include\SDL_ttf.h|31|error: begin_code.h: No such file or directory|
C:\SDL_ttf-2.0.11\include\SDL_ttf.h|247|error: close_code.h: No such file or directory|
||=== Build finished: 3 errors, 0 warnings ===|
有什么想法吗?

在SDL\u ttf.h中更改

#include"SDL.h"
#include"begin_code.h"
#include"close_code.h"


我刚刚将代码移植到VisualStudio,并为其下载了SDL_tff,它正在工作。
#include<SDL/SDL.h>
#include<SDL/begin_code.h>
#include<SDL/close_code.h>