Hello, i followed the tutorial on how to set up SFML with GCC (code::blocks) and i made a game with it so far, but now everytime I make another program and have to use SFML i have to re-do the whole tutorial which is really taking a lot of time.
So i went to Settings > Compiler > Global Compiler Settings and did the tutorial putting the lib's in Global Compiler Settings than in Build Options and now when I compile any program it gets me this error:
..\..\..\..\..\SFML\SFML-2.1\include\SFML\Config.hpp|129|error: unknown type name 'namespace'|
..\..\..\..\..\SFML\SFML-2.1\include\SFML\Config.hpp|130|error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token|
..\..\..\..\..\SFML\SFML-2.1\include\SFML\System\Time.hpp|34|error: unknown type name 'namespace'|
..\..\..\..\..\SFML\SFML-2.1\include\SFML\System\Time.hpp|35|error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token|
..\..\..\..\..\SFML\SFML-2.1\include\SFML\System\Clock.hpp|35|error: unknown type name 'namespace'|
..\..\..\..\..\SFML\SFML-2.1\include\SFML\System\Clock.hpp|36|error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token|
..\..\..\..\..\SFML\SFML-2.1\include\SFML\System\Err.hpp|32|fatal error: ostream: No such file or directory|
||=== Build finished: 7 errors, 0 warnings (0 minutes, 0 seconds) ===|