如何在 visual studio 中设置 SDL2/SDL.h?

How to setup SDL2/SDL.h in visual studio?

我尝试按照与 tutorial and the result was that visual studio was recognizing SDL.h but it was not recognizing SDL2/SDL.h and the include folder of sld2 development tools (link) 类似的说明在 visual studio 中设置 SDL 2,但没有任何 SDL2/SDL.h 文件。如何在 visual studio 中设置 SDL2/SDL.h ?

实际上 SDL2/SDL.h 中的 SDL2 是一个 folder.It 是一个文件夹,它将 SDL.h 保存在编译器查找的目录中 #include 指令 in.Change 包括文件夹名称为 SDL2。