Hello,
I know different versions of this question have been asked all over the internet, but I can't find anything explaining the issue I am having. I am running SFML on Ubuntu 18.04. When I compile an SFML '.cpp' file to an object file, everything works fine, but when I move the forward declarations of the file into a header file, and recompile, I get the error "fatal error: SFML\Graphics.hpp: No such file or directory".
Why can't I use SFML in header files. The code is identical and should work the same as when I have it all in a .cpp file.
Thanks,
-PolyyloP