Windows 10 "No such file or directory"

  • Thread starter Thread starter Deacon Booker
  • Start date Start date
D

Deacon Booker

Hi.I installed a library for VS Code called "SDL2" and when I include it in my code editor, it seems fine at first but when I run my code, I keep getting this error that I can't resolve: "SDL2/SDL.h: No such file or directory."This is where the file is located: D:\Gayming\src\include\SDL2I have made a MakeFile with this command:all: g++ -I src/include -L src.lib -o test test.cpp -lmingw32 -lSDL2test - lSDL2I have also included the paths in my c_cpp_properties and it still can't find it.I really need help with this because I've already looked up some solutions on Stack Overflow and none of

Continue reading...
 
Back
Top