0

我试图让 SDL 在 Windows 10 上使用 g++ 工作,但我收到一个错误,指出找不到 stdint.h。

g++ -g -Wall -I includes/SDLm/x86_64-w64-mingw32/include main.cpp -o main

In file included from includes\SDLm\x86_64-w64-mingw32\include\SDL2/SDL_main.h:25,
             from includes\SDLm\x86_64-w64-mingw32\include\SDL2/SDL.h:32,
             from Window.h:1,
             from main.cpp:2:
includes\SDLm\x86_64-w64-mingw32\include\SDL2/SDL_stdinc.h:71: stdint.h: No such file or directory

我不确定我需要做什么来解决这个问题,所以任何帮助将不胜感激,谢谢!

4

0 回答 0