I tried compiling the default source code when you start a new Code::Blocks project. It has
#include <SMFL/Graphics.hpp>
then starts int main()
When I read the code then compiled to see what happens, it found 16 errors in the code. They were all because of the first one:
...\SMFL_TEST\main.cpp|1|error: SFML/Graphics.hpp: No such file or directory|
I downloaded the SMFL library, and put the path in when it prompted me while setting up the project.
Why isn't the library being seen by the compiler, and what can I do to fix it?
Any help is appreciated.
EDIT: Made compiler bold (1st sentence), using GNU GCC Compiler
@Disch: I assumed the SMFL was predefined by the compiler becasue when you start the project, it says
Please select location of SMFL on your computer. This is the top-level folder where SMFL was installed (unpacked). To help you, this folder must contain the subfolders "include" and "lib".
Please select SMFL's location: [input box]
Do I have to put
#include <C:\SMFL-1.6\include\Graphics.hpp>
or is it predefined by the compiler, as I thought it was?