0

Sdl.h file not found C++

I downloaded the runtime binary of SDL from the official website and I saw a few videos on YouTube and did all the steps correctly to link SDL library with visual studio code. But an error saying "Fatal error <SDL2/SDL.h> file not found" is showing in the terminal. Did all the steps shown in the videos, Google to link SDL with vscode, but it's not working! Please help!

1st Mar 2022, 4:21 PM
Shloak Sansare
4 Respostas
0
Yes i have done it multiple times
9th Mar 2022, 3:03 PM
Shloak Sansare
0
And now the error is different : "undefined reference to : SDL_Init" Collect2.exe error
9th Mar 2022, 3:04 PM
Shloak Sansare
0
Pls help me 🙏🏼
9th Mar 2022, 3:05 PM
Shloak Sansare
- 1
Have you tried to restart you laptop/computer? Or even VS code? As changes in configuration files might occur once it has been restarted.
6th Mar 2022, 1:20 AM
rafalzacher1