Trouble with linter-gcc



I’m currently trying to use Atom as my C/C++ IDE (because since I got used to it, my eyes refuse to work with Visual Studio).
Therefore I installed linter-gcc to get my errors shown to me before I try to compile them. At first it worked decently for single files but made trouble, if I wanted to write multiple code snippets and include them inside the main code (like #include foo.cpp). The error message was:

foo.cpp: No such file or directory

Any ideas how I can fix this?

Best regards!