Bienvenue, Invité. Merci de vous connecter ou de vous inscrire.
Avez-vous perdu votre e-mail d'activation ?

Auteur Sujet: Problème inconnu avec SoundBuffer  (Lu 2642 fois)

0 Membres et 1 Invité sur ce sujet

Cmdu76

  • Full Member
  • ***
  • Messages: 194
    • Voir le profil
Problème inconnu avec SoundBuffer
« le: Décembre 08, 2013, 06:59:17 pm »
Bonjour,

J'ai actuellement une erreur avec la classe SoundPlayer du livre SFML que j'ai légèrement modifié,

Voici les logs d'erreurs :
C:\SFML\include\SFML\Audio\Sound.hpp|46|erreur: expected class-name before '{' token|
C:\SFML\include\SFML\Audio\Sound.hpp|154|erreur: 'Time' has not been declared|
C:\SFML\include\SFML\Audio\Sound.hpp|182|erreur: 'Time' does not name a type|
C:\SFML\include\SFML\Audio\Sound.hpp|190|erreur: 'Status' does not name a type|
c:\mingw\bin\..\lib\gcc\mingw32\4.7.2\include\c++\bits\stl_set.h|89|erreur: expected type-specifier|
c:\mingw\bin\..\lib\gcc\mingw32\4.7.2\include\c++\bits\stl_set.h|89|erreur: expected '>'|
c:\mingw\bin\..\lib\gcc\mingw32\4.7.2\include\c++\bits\stl_set.h|94|erreur: '_Alloc' has not been declared|
c:\mingw\bin\..\lib\gcc\mingw32\4.7.2\include\c++\bits\stl_set.h|108|erreur: '_Alloc' does not name a type|
c:\mingw\bin\..\lib\gcc\mingw32\4.7.2\include\c++\bits\stl_set.h|112|erreur: '_Alloc' has not been declared|
c:\mingw\bin\..\lib\gcc\mingw32\4.7.2\include\c++\bits\stl_set.h|112|erreur: expected template-name before '<' token|
c:\mingw\bin\..\lib\gcc\mingw32\4.7.2\include\c++\bits\stl_set.h|112|erreur: expected identifier before '<' token|
c:\mingw\bin\..\lib\gcc\mingw32\4.7.2\include\c++\bits\stl_set.h|112|erreur: expected unqualified-id before '<' token|
c:\mingw\bin\..\lib\gcc\mingw32\4.7.2\include\c++\bits\stl_set.h|114|erreur: '_Rb_tree' does not name a type|
c:\mingw\bin\..\lib\gcc\mingw32\4.7.2\include\c++\bits\stl_set.h|116|erreur: '_Rep_type' does not name a type|
c:\mingw\bin\..\lib\gcc\mingw32\4.7.2\include\c++\bits\stl_set.h|121|erreur: '_Key_alloc_type' has not been declared|
c:\mingw\bin\..\lib\gcc\mingw32\4.7.2\include\c++\bits\stl_set.h|122|erreur: '_Key_alloc_type' has not been declared|
c:\mingw\bin\..\lib\gcc\mingw32\4.7.2\include\c++\bits\stl_set.h|123|erreur: '_Key_alloc_type' has not been declared|
c:\mingw\bin\..\lib\gcc\mingw32\4.7.2\include\c++\bits\stl_set.h|124|erreur: '_Key_alloc_type' has not been declared|
c:\mingw\bin\..\lib\gcc\mingw32\4.7.2\include\c++\bits\stl_set.h|128|erreur: '_Rep_type' has not been declared|
c:\mingw\bin\..\lib\gcc\mingw32\4.7.2\include\c++\bits\stl_set.h|129|erreur: '_Rep_type' has not been declared|
c:\mingw\bin\..\lib\gcc\mingw32\4.7.2\include\c++\bits\stl_set.h|130|erreur: '_Rep_type' has not been declared|
c:\mingw\bin\..\lib\gcc\mingw32\4.7.2\include\c++\bits\stl_set.h|131|erreur: '_Rep_type' has not been declared|
c:\mingw\bin\..\lib\gcc\mingw32\4.7.2\include\c++\bits\stl_set.h|132|erreur: '_Rep_type' has not been declared|
c:\mingw\bin\..\lib\gcc\mingw32\4.7.2\include\c++\bits\stl_set.h|133|erreur: '_Rep_type' has not been declared|
c:\mingw\bin\..\lib\gcc\mingw32\4.7.2\include\c++\bits\stl_set.h|150|erreur: 'allocator_type' does not name a type|
c:\mingw\bin\..\lib\gcc\mingw32\4.7.2\include\c++\bits\stl_set.h|183|erreur: 'allocator_type' does not name a type|
c:\mingw\bin\..\lib\gcc\mingw32\4.7.2\include\c++\bits\stl_set.h|206|erreur: 'is_nothrow_copy_constructible' was not declared in this scope|
c:\mingw\bin\..\lib\gcc\mingw32\4.7.2\include\c++\bits\stl_set.h|206|note: suggested alternative:|
c:\mingw\bin\..\lib\gcc\mingw32\4.7.2\include\c++\type_traits|1021|note:   'std::is_nothrow_copy_constructible'|
c:\mingw\bin\..\lib\gcc\mingw32\4.7.2\include\c++\bits\stl_set.h|206|erreur: expected primary-expression before '>' token|
c:\mingw\bin\..\lib\gcc\mingw32\4.7.2\include\c++\bits\stl_set.h|206|erreur: '::value' has not been declared|
c:\mingw\bin\..\lib\gcc\mingw32\4.7.2\include\c++\bits\stl_set.h|219|erreur: expected ')' before '<' token|
c:\mingw\bin\..\lib\gcc\mingw32\4.7.2\include\c++\bits\stl_set.h|270|erreur: declaration of 'operator=' as non-function|
c:\mingw\bin\..\lib\gcc\mingw32\4.7.2\include\c++\bits\stl_set.h|270|erreur: expected ';' at end of member declaration|
c:\mingw\bin\..\lib\gcc\mingw32\4.7.2\include\c++\bits\stl_set.h|270|erreur: expected ')' before '<' token|
c:\mingw\bin\..\lib\gcc\mingw32\4.7.2\include\c++\bits\stl_set.h|289|erreur: 'allocator_type' does not name a type|
c:\mingw\bin\..\lib\gcc\mingw32\4.7.2\include\c++\bits\stl_set.h|411|erreur: 'pair' in namespace 'cm::std' does not name a type|
c:\mingw\bin\..\lib\gcc\mingw32\4.7.2\include\c++\bits\stl_set.h|420|erreur: 'pair' in namespace 'cm::std' does not name a type|
c:\mingw\bin\..\lib\gcc\mingw32\4.7.2\include\c++\bits\stl_set.h|481|erreur: 'initializer_list' has not been declared|
c:\mingw\bin\..\lib\gcc\mingw32\4.7.2\include\c++\bits\stl_set.h|481|erreur: expected ',' or '...' before '<' token|
c:\mingw\bin\..\lib\gcc\mingw32\4.7.2\include\c++\bits\stl_set.h|673|erreur: 'pair' in namespace 'cm::std' does not name a type|
c:\mingw\bin\..\lib\gcc\mingw32\4.7.2\include\c++\bits\stl_set.h|677|erreur: 'pair' in namespace 'cm::std' does not name a type|
c:\mingw\bin\..\lib\gcc\mingw32\4.7.2\include\c++\bits\stl_set.h|684|erreur: nombre erroné d'arguments du patron (3 devrait être 2)|
c:\mingw\bin\..\lib\gcc\mingw32\4.7.2\include\c++\bits\stl_set.h|91|erreur: provided for 'template<class _Key, class _Compare> class cm::std::set'|
c:\mingw\bin\..\lib\gcc\mingw32\4.7.2\include\c++\bits\stl_set.h|684|erreur: nombre erroné d'arguments du patron (3 devrait être 2)|
c:\mingw\bin\..\lib\gcc\mingw32\4.7.2\include\c++\bits\stl_set.h|91|erreur: provided for 'template<class _Key, class _Compare> class cm::std::set'|
c:\mingw\bin\..\lib\gcc\mingw32\4.7.2\include\c++\bits\stl_set.h|684|erreur: 'bool cm::std::operator==(const int&, const int&)' must have an argument of class or enumerated type|
c:\mingw\bin\..\lib\gcc\mingw32\4.7.2\include\c++\bits\stl_set.h|688|erreur: nombre erroné d'arguments du patron (3 devrait être 2)|
c:\mingw\bin\..\lib\gcc\mingw32\4.7.2\include\c++\bits\stl_set.h|91|erreur: provided for 'template<class _Key, class _Compare> class cm::std::set'|
c:\mingw\bin\..\lib\gcc\mingw32\4.7.2\include\c++\bits\stl_set.h|688|erreur: nombre erroné d'arguments du patron (3 devrait être 2)|
c:\mingw\bin\..\lib\gcc\mingw32\4.7.2\include\c++\bits\stl_set.h|91|erreur: provided for 'template<class _Key, class _Compare> class cm::std::set'|
c:\mingw\bin\..\lib\gcc\mingw32\4.7.2\include\c++\bits\stl_set.h|688|erreur: 'bool cm::std::operator<(const int&, const int&)' must have an argument of class or enumerated type|
||More errors follow but not being shown.|
||Edit the max errors limit in compiler options...|
||=== Build finished: 50 errors, 0 warnings (0 minutes, 41 seconds) ===|
 


Le problème semble venir de la classe Sound de la SFML, pourtant elle marchait bien...

Je suis en 2.1

Voilà merci d'avance :)