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 - orm

Pages: [1]
1
Audio / Compilation errors
« on: May 31, 2010, 09:51:20 pm »
g++ is 4.5+. Latest.

Don't tell me, sfml is incompatible with latest g++?

2
Audio / Compilation errors
« on: May 31, 2010, 05:48:24 pm »
I would think that Status was put into the sound namespace, so it's just calling on the Status enum.

Strange though. And no, I am just including the sfml headers in a separate module of the engine. Everything is very compotenized in my framework, so the sound headers and sources only include what they need.

3
Audio / Compilation errors
« on: May 30, 2010, 11:39:10 pm »
1.6-1 is the version in the AUR (Archlinux User Repository)

4
Audio / Compilation errors
« on: May 30, 2010, 08:49:07 pm »
Don't know what it is. I have checked the headers myself and everything liooks good as far as I can tell.

Code: [Select]
In file included from /usr/include/SFML/Audio/SoundStream.hpp:31:0,                                                                                                  
                 from /usr/include/SFML/Audio/Music.hpp:31,
                 from /usr/include/SFML/Audio.hpp:34,
                 from /home/orm/Engine-CL/theengine/../osound/OSoundCommon.h:18,
                 from /home/orm/Engine-CL/theengine/../osound/OSound.h:13,
                 from /home/orm/Engine-CL/theengine/Engine2DCommon.h:16,
                 from /home/orm/Engine-CL/theengine/Application.h:5,
                 from /home/orm/Engine-CL/theengine/Application.cpp:1:
/usr/include/SFML/Audio/Sound.hpp:52:10: error: expected identifier before ‘int’
/usr/include/SFML/Audio/Sound.hpp:53:5: error: expected unqualified-id before ‘{’ token
In file included from /usr/include/SFML/Audio/Music.hpp:31:0,
                 from /usr/include/SFML/Audio.hpp:34,
                 from /home/orm/Engine-CL/theengine/../osound/OSoundCommon.h:18,
                 from /home/orm/Engine-CL/theengine/../osound/OSound.h:13,
                 from /home/orm/Engine-CL/theengine/Engine2DCommon.h:16,
                 from /home/orm/Engine-CL/theengine/Application.h:5,
                 from /home/orm/Engine-CL/theengine/Application.cpp:1:
/usr/include/SFML/Audio/SoundStream.hpp:48:18: error: expected unqualified-id before ‘int’
/usr/include/SFML/Audio/SoundStream.hpp:48:18: error: expected ‘;’ before ‘int’
/usr/include/SFML/Audio/SoundStream.hpp:48:18: error: declaration does not declare anything
/usr/include/SFML/Audio/SoundStream.hpp:49:18: error: no members matching ‘sf::Sound::Stopped’ in ‘class sf::Sound’
/usr/include/SFML/Audio/SoundStream.hpp:50:18: error: no members matching ‘sf::Sound::Paused’ in ‘class sf::Sound’
/usr/include/SFML/Audio/SoundStream.hpp:51:18: error: no members matching ‘sf::Sound::Playing’ in ‘class sf::Sound’
make[2]: *** [CMakeFiles/Engine2D.dir/theengine/Application.o] Error 1
make[1]: *** [CMakeFiles/Engine2D.dir/all] Error 2
make: *** [all] Error 2


I am using the current package available in the ArchLinux repositories and am linking with sfml-system and sfml-audio in that order.

Pages: [1]