Greg Salvesen
Greg Salvesen

Reputation: 9

SDL with g++: stdint.h: No such file or directiory

I'm trying to get SDL working using g++ on Windows 10, and I'm getting an error which states that stdint.h could not be found.

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

I'm not sure what I need to do to fix this, so any help would be greatly appreciated, thank you!

Upvotes: 0

Views: 430

Answers (0)

Related Questions