##include <SDL2 /SDL.h> not working

2 messages · Page 1 of 1 (latest)

grand edge
#

i have SDL2.dll stored in the exact same directory as window.cpp

the first line of code in window.cpp is #include <SDL2/SDL.h>
the build commands im using are g++ -Wall -o "%e" "%f" -O3 -std=c++20
why am i getting the error window.cpp:1:10: fatal error: SDL2/SDL.h: No such file or directory?

alpine craterBOT
#

When your question is answered use !solved to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.