Historique des modifications - Message

Message #11643

Sujet: Système d'animation d'irrlicht


Type Date Auteur Contenu
Création du message 12-06-2015 20:48:51 Magun
je m'excuse je voulais poster avants de me coucher alors que je dormais sur mon clavier ^^"

...\\CPlayerAnimation.h ||In member function 'bool AnimationBinder::operator<(AnimationBinder*)'neutral
...\\CPlayerAnimation.h |26|error: invalid operands of types 'void' and 'void' to binary 'operator<'|
...\\CPlayerAnimation.h |80|error: conflicting return type specified for 'virtual int RunningState::priority()'|
...\\CPlayerAnimation.h |22|error: overriding 'virtual void AnimationBinder::priority()'|

virtual int priority() = 0; et non virtual void priority() = 0;


...\\CPlayerAnimation.h ||In constructor 'AnimationManager::AnimationManager()'neutral
...\\CPlayerAnimation.h |38|error: expected type-specifier before '...' token|
...\\CPlayerAnimation.h |38|error: expansion pattern '(int*)operator new(4u)' contains no argument packs|

les "..." de mon code sont la pour te dire de compléter smile

...\\CPlayerAnimation.h ||In member function 'void AnimationManager::activate(int, bool)'neutral
...\\CPlayerAnimation.h |45|error: request for member 'activated' in 'current', which is of pointer type 'AnimationBinder*' (maybe you meant to use '->' ?)|
...\\CPlayerAnimation.h |47|error: request for member 'binded' in 'current', which is of pointer type 'AnimationBinder*' (maybe you meant to use '->' ?)|
...\\CPlayerAnimation.h |48|error: request for member 'unbind' in 'current', which is of pointer type 'AnimationBinder*' (maybe you meant to use '->' ?)|
...\\CPlayerAnimation.h |51|error: unable to deduce 'auto' from '<expression error>'|
...\\CPlayerAnimation.h |55|error: request for member 'activated' in 'current', which is of pointer type 'AnimationBinder*' (maybe you meant to use '->' ?)|
...\\CPlayerAnimation.h |55|error: request for member 'binded' in 'current', which is of pointer type 'AnimationBinder*' (maybe you meant to use '->' ?)|
...\\CPlayerAnimation.h |56|error: request for member 'bind' in 'current', which is of pointer type 'AnimationBinder*' (maybe you meant to use '->' ?)|

pareil à coter de la plaque remplace "." par "->"

...\\CPlayerAnimation.h |51|error: no matching function for call to 'begin(irr::core::array<AnimationBinder*>&)'|
...\\CPlayerAnimation.h |51|note: candidates are:|

c:\\program files (x86)\\codeblocks\\mingw\\bin\\..\\lib\\gcc\\mingw32\\4.7.1\\include\\c++\\initializer_list|89|note: template<class _Tp> constexpr const _Tp* std::begin(std::initializer_list<_Tp>)|
c:\\program files (x86)\\codeblocks\\mingw\\bin\\..\\lib\\gcc\\mingw32\\4.7.1\\include\\c++\\initializer_list|89|note: template argument deduction/substitution failed:|
C:\\Users\\Jonathan\\Jeu\\CPlayerAnimation.h|51|note: 'irr::core::array<AnimationBinder*>' is not derived from 'std::initializer_list<_Tp>'|
c:\\program files (x86)\\codeblocks\\mingw\\bin\\..\\lib\\gcc\\mingw32\\4.7.1\\include\\c++\\bits\
ange_access.h|87|note: template<class _Tp, unsigned int _Nm> _Tp* std::begin(_Tp (&)[_Nm])|
c:\\program files (x86)\\codeblocks\\mingw\\bin\\..\\lib\\gcc\\mingw32\\4.7.1\\include\\c++\\bits\
ange_access.h|87|note: template argument deduction/substitution failed:|
C:\\Users\\Jonathan\\Jeu\\CPlayerAnimation.h|51|note: mismatched types '_Tp [_Nm]' and 'irr::core::array<AnimationBinder*>'|
c:\\program files (x86)\\codeblocks\\mingw\\bin\\..\\lib\\gcc\\mingw32\\4.7.1\\include\\c++\\bits\
ange_access.h|58|note: template<class _Container> decltype (__cont.begin()) std::begin(const _Container&)|
c:\\program files (x86)\\codeblocks\\mingw\\bin\\..\\lib\\gcc\\mingw32\\4.7.1\\include\\c++\\bits\
ange_access.h|58|note: template argument deduction/substitution failed:|
C:\\Users\\Jonathan\\Jeu\\CPlayerAnimation.h|51|required from here|
c:\\program files (x86)\\codeblocks\\mingw\\bin\\..\\lib\\gcc\\mingw32\\4.7.1\\include\\c++\\bits\
ange_access.h|58|error: 'const class irr::core::array<AnimationBinder*>' has no member named 'begin'|
c:\\program files (x86)\\codeblocks\\mingw\\bin\\..\\lib\\gcc\\mingw32\\4.7.1\\include\\c++\\bits\
ange_access.h|48|note: template<class _Container> decltype (__cont.begin()) std::begin(_Container&)|
c:\\program files (x86)\\codeblocks\\mingw\\bin\\..\\lib\\gcc\\mingw32\\4.7.1\\include\\c++\\bits\
ange_access.h|48|note: template argument deduction/substitution failed:|
C:\\Users\\Jonathan\\Jeu\\CPlayerAnimation.h|51|required from here|
c:\\program files (x86)\\codeblocks\\mingw\\bin\\..\\lib\\gcc\\mingw32\\4.7.1\\include\\c++\\bits\
ange_access.h|48|error: 'class irr::core::array<AnimationBinder*>' has no member named 'begin'|
C:\\Users\\Jonathan\\Jeu\\CPlayerAnimation.h|51|error: no matching function for call to 'end(irr::core::array<AnimationBinder*>&)'|
C:\\Users\\Jonathan\\Jeu\\CPlayerAnimation.h|51|note: candidates are:|
c:\\program files (x86)\\codeblocks\\mingw\\bin\\..\\lib\\gcc\\mingw32\\4.7.1\\include\\c++\\initializer_list|99|note: template<class _Tp> constexpr const _Tp* std::end(std::initializer_list<_Tp>)|
c:\\program files (x86)\\codeblocks\\mingw\\bin\\..\\lib\\gcc\\mingw32\\4.7.1\\include\\c++\\initializer_list|99|note: template argument deduction/substitution failed:|
C:\\Users\\Jonathan\\Jeu\\CPlayerAnimation.h|51|note: 'irr::core::array<AnimationBinder*>' is not derived from 'std::initializer_list<_Tp>'|
c:\\program files (x86)\\codeblocks\\mingw\\bin\\..\\lib\\gcc\\mingw32\\4.7.1\\include\\c++\\bits\
ange_access.h|97|note: template<class _Tp, unsigned int _Nm> _Tp* std::end(_Tp (&)[_Nm])|
c:\\program files (x86)\\codeblocks\\mingw\\bin\\..\\lib\\gcc\\mingw32\\4.7.1\\include\\c++\\bits\
ange_access.h|97|note: template argument deduction/substitution failed:|
C:\\Users\\Jonathan\\Jeu\\CPlayerAnimation.h|51|note: mismatched types '_Tp [_Nm]' and 'irr::core::array<AnimationBinder*>'|
c:\\program files (x86)\\codeblocks\\mingw\\bin\\..\\lib\\gcc\\mingw32\\4.7.1\\include\\c++\\bits\
ange_access.h|78|note: template<class _Container> decltype (__cont.end()) std::end(const _Container&)|
c:\\program files (x86)\\codeblocks\\mingw\\bin\\..\\lib\\gcc\\mingw32\\4.7.1\\include\\c++\\bits\
ange_access.h|78|note: template argument deduction/substitution failed:|
C:\\Users\\Jonathan\\Jeu\\CPlayerAnimation.h|51|required from here|
c:\\program files (x86)\\codeblocks\\mingw\\bin\\..\\lib\\gcc\\mingw32\\4.7.1\\include\\c++\\bits\
ange_access.h|78|error: 'const class irr::core::array<AnimationBinder*>' has no member named 'end'|
c:\\program files (x86)\\codeblocks\\mingw\\bin\\..\\lib\\gcc\\mingw32\\4.7.1\\include\\c++\\bits\
ange_access.h|68|note: template<class _Container> decltype (__cont.end()) std::end(_Container&)|
c:\\program files (x86)\\codeblocks\\mingw\\bin\\..\\lib\\gcc\\mingw32\\4.7.1\\include\\c++\\bits\
ange_access.h|68|note: template argument deduction/substitution failed:|

...\\CPlayerAnimation.h |51|required from here|

c:\\program files (x86)\\codeblocks\\mingw\\bin\\..\\lib\\gcc\\mingw32\\4.7.1\\include\\c++\\bits\
ange_access.h|68|error: 'class irr::core::array<AnimationBinder*>' has no member named 'end'|

...\\CPlayerAnimation.h |51|error: unable to deduce 'auto' from '<expression error>'|

irr::core::array ne doit visiblement pas marcher avec un "range-based for loop"
perso je passe par irr::core::list pas de soucis, ou sinon std::vector, std::array probablement plus adapter avec ce dernier
les fonctions irr::core::array::begin() et irr::core::array::end() n'existe pas, ce qui explique l'erreur où peut-être bien que je les est définie en externe mais comme tu ne les as pas ...

Retour

Options Liens officiels Caractéristiques Statistiques Communauté
Préférences cookies
Corrections
irrlicht
irrklang
irredit
irrxml
Propulsé par Django
xhtml 1.0
css 2.1
884 membres
1440 sujets
11337 messages
Dernier membre inscrit: Saidov17
235 invités en ligne
membre en ligne: -
RSS Feed