SFML community forums

Help => Audio => Topic started by: exafi on August 11, 2013, 09:58:03 pm

Title: How i can install sfml-audio 2.1?
Post by: exafi on August 11, 2013, 09:58:03 pm
How i can install sfml-audio?
to use "sf::Music"  jumps this msg:

c:\program files (x86)\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.7.1\..\..\..\libsfml-audio-s.a(SoundStream.cpp.obj):SoundStream.cpp|| undefined reference to `sf::Thread::wait()'|
c:\program files (x86)\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.7.1\..\..\..\libsfml-audio-s.a(SoundStream.cpp.obj):SoundStream.cpp|| undefined reference to `sf::Thread::~Thread()'|
c:\program files (x86)\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.7.1\..\..\..\libsfml-audio-s.a(SoundStream.cpp.obj):SoundStream.cpp|| undefined reference to `sf::Thread::~Thread()'|
c:\program files (x86)\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.7.1\..\..\..\libsfml-audio-s.a(SoundStream.cpp.obj):SoundStream.cpp|| undefined reference to `sf::Thread::wait()'|
c:\program files (x86)\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.7.1\..\..\..\libsfml-audio-s.a(SoundStream.cpp.obj):SoundStream.cpp|| undefined reference to `sf::Thread::~Thread()'|
c:\program files (x86)\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.7.1\..\..\..\libsfml-audio-s.a(SoundStream.cpp.obj):SoundStream.cpp|| undefined reference to `sf::Thread::~Thread()'|
c:\program files (x86)\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.7.1\..\..\..\libsfml-audio-s.a(SoundStream.cpp.obj):SoundStream.cpp|| undefined reference to `sf::Thread::wait()'|
c:\program files (x86)\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.7.1\..\..\..\libsfml-audio-s.a(SoundStream.cpp.obj):SoundStream.cpp|| undefined reference to `sf::Thread::launch()'|
c:\program files (x86)\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.7.1\..\..\..\libsfml-audio-s.a(SoundStream.cpp.obj):SoundStream.cpp|| undefined reference to `sf::Thread::launch()'|
c:\program files (x86)\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.7.1\..\..\..\libsfml-audio-s.a(SoundStream.cpp.obj):SoundStream.cpp|| undefined reference to `sf::Thread::wait()'|
||=== Build finished: 10 errors, 1 warnings (0 minutes, 0 seconds) ===|
Title: AW: How i can install sfml-audio 2.1?
Post by: eXpl0it3r on August 11, 2013, 10:05:49 pm
By reading and following the tutorial step by step (don't just look at pictures). ;)
Title: Re: AW: How i can install sfml-audio 2.1?
Post by: exafi on August 11, 2013, 10:42:21 pm
By reading and following the tutorial step by step (don't just look at pictures). ;)
ok ty but i have other problem.

(http://i43.tinypic.com/1538941.png)
Title: Re: How i can install sfml-audio 2.1?
Post by: Ixrec on August 12, 2013, 01:12:02 am
That error message doesn't say much so it might help if you described exactly what you're doing to produce this error (is it when you exit the program? Right after it starts up? Do you click on something in the window first?)

Posting your code might also help.
Title: Re: How i can install sfml-audio 2.1?
Post by: exafi on August 12, 2013, 10:49:06 am
this error happens when I call sf::Music
Title: Re: How i can install sfml-audio 2.1?
Post by: Ixrec on August 12, 2013, 11:39:28 am
Might be a duplicate of http://en.sfml-dev.org/forums/index.php?topic=12592.0