SDL.h cannot be found


#1

Hello i am starting to using atom and i have a C project which uses SDL.

linter-gcc complains about SDL.h (SDL library) cannot be found.

I have read to use a .gcc-flags.json file in the project.

Mine has the following content:

{
“execPath”: “/usr/bin/gcc”,
“gccDefaultCFlags”: “-Wall”,
“gccDefaultCppFlags”: “”,
“gccErrorLimit”: 15,
“gccIncludePaths”: “.,/usr/include/SDL2”,
“gccSuppressWarnings”: true
}

Can anyone tell me what i am doing wrong. What do i need to do to fix this?