-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