Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - smexhy

Pages: [1]
1
General / Re: unknown type 'namespace'
« on: August 07, 2013, 04:35:56 pm »
It's already on Full command line... I've no ideea how to fix it. I reinstalled code::blocks but it still has the old settings :\... A fresh install to what?

2
General / Re: unknown type 'namespace'
« on: August 07, 2013, 03:29:51 pm »
Did everything as it was on my working project.
Now i can't make any more sfml program, the only that works is the first one i made...  >:(

3
General / Re: unknown type 'namespace'
« on: August 07, 2013, 02:45:47 pm »
Here it is.

4
General / Re: unknown type 'namespace'
« on: August 07, 2013, 02:11:17 pm »
Thanks, but still doesn't work. Did exactly what u said.
Same error.
I have Code::Blocks 12.11 and i think i have the compiler which comes with it.

5
General / Re: unknown type 'namespace'
« on: August 07, 2013, 01:16:31 pm »
How do i set code::blocks with SFML correctly, may i ask?
The tutorial for 2.1 and 2.0 show only how to set it locally, to a project :(.
Thank you!

6
General / unknown type 'namespace'
« on: August 06, 2013, 10:22:13 pm »
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) ===|

Pages: [1]
anything