SDL与g ++:stdint.h:没有这样的文件或directiory

时间:2018-06-18 13:12:05

标签: c++ g++ sdl stdint

我正在尝试让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

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

0 个答案:

没有答案