Update 2!Adding following line to the code seemed to fix the said problems.
#include <SFML/Window/Event.hpp>
This doesn't really make sense as in the imported header file I have already imported SFML/Window
Also now I get even more problems:
||=== Build: Release in Rogue (compiler: GNU GCC Compiler) ===|
obj\rge_main.o:rge_main.cpp|| undefined reference to `sf::Texture::loadFromFile(std::string const&, sf::Rect<int> const&)'|
obj\rge_main.o:rge_main.cpp|| undefined reference to `sf::Image::loadFromFile(std::string const&)'|
||error: ld returned 1 exit status|
||=== Build failed: 3 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|
However trying to import the Texture.hpp doesn't need to solve that (and would be weird if it would).