-4
我是C++游戏开发的初学者。我试图在代码块上设置sdl库;我跟踪了我在Google上找到的每个教程,但无法使其工作。我还包括SDL2_image-2.0.0和SDL2_mixer-2.0.0,但它不起作用。错误是:sdl设置窗口的proplem
#include <winapifamily.h> ||=== Build: Debug in tut (compiler: GNU GCC Compiler) ===|
C:\mingw_dev_lib\SDL2-2.0.3\x86_64-w64-mingw32\include\SDL2\SDL_platform.h|121|fatal error: winapifamily.h: No such file or directory|
||=== Build failed: 1 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|
include <winapifamily.h>
我的代码有什么问题?
尝试删除包含 –
jpw
将出现其他错误 –
如果您想要更好的建议,请发布代码。没有看到任何代码,很难说出什么可能是问题。 – jpw