On creation of a new file it shows “<SFML/Graphics.hpp> no such file or directory”
问题 Whenever I create a new file or class in code blocks and include Graphics header or any sfml header the compiler says no such file or directory. When I work on a single file program works fine but when I create a new file and include the file in the same project then compiler starts showing errors. It is showing this error: E:\codes\sfml_project\main.cpp:1:29: fatal error: SFML/Graphics.hpp: No such file or directory I even tried installing SFML 2.1 again and linking all the files to