I'm trying to compile OgreOde on OS X, but I get these errors when compiling OgreOdeWorld.cpp:
Code: Select all
/usr/include/gcc/darwin/3.3/c++/ext/stl_hashtable.h: In member function `size_t __gnu_cxx::hashtable<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc>::_M_bkt_num_key(const _Key&, long unsigned int) const [with _Val = std::pair<dxBody* const, OgreOde::Body*>, _Key = dxBody*, _HashFcn = __gnu_cxx::hash<dxBody*>, _ExtractKey = std::_Select1st<std::pair<dxBody* const, OgreOde::Body*> >, _EqualKey = std::equal_to<dxBody*>, _Alloc = std::allocator<OgreOde::Body*>]':
OgreOdeWorld.cpp:569: instantiated from `size_t __gnu_cxx::hashtable<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc>::_M_bkt_num_key(const _Key&) const [with _Val = std::pair<dxBody* const, OgreOde::Body*>, _Key = dxBody*, _HashFcn = __gnu_cxx::hash<dxBody*>, _ExtractKey = std::_Select1st<std::pair<dxBody* const, OgreOde::Body*> >, _EqualKey = std::equal_to<dxBody*>, _Alloc = std::allocator<OgreOde::Body*>]'
OgreOdeWorld.cpp:509: instantiated from `__gnu_cxx::_Hashtable_iterator<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc> __gnu_cxx::hashtable<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc>::find(const _Key&) [with _Val = std::pair<dxBody* const, OgreOde::Body*>, _Key = dxBody*, _HashFcn = __gnu_cxx::hash<dxBody*>, _ExtractKey = std::_Select1st<std::pair<dxBody* const, OgreOde::Body*> >, _EqualKey = std::equal_to<dxBody*>, _Alloc = std::allocator<OgreOde::Body*>]'
OgreOdeWorld.cpp:188: instantiated from `typename __gnu_cxx::hashtable<std::pair<const _Key, _Tp>, _Key, _HashFcn, std::_Select1st<std::pair<const _Key, _Tp> >, _EqualKey, _Alloc>::iterator __gnu_cxx::hash_map<_Key, _Tp, _HashFcn, _EqualKey, _Alloc>::find(typename __gnu_cxx::hashtable<std::pair<const _Key, _Tp>, _Key, _HashFcn, std::_Select1st<std::pair<const _Key, _Tp> >, _EqualKey, _Alloc>::key_type&) [with _Key = dxBody*, _Tp = OgreOde::Body*, _HashFcn = __gnu_cxx::hash<dxBody*>, _EqualKey = std::equal_to<dxBody*>, _Alloc = std::allocator<OgreOde::Body*>]'
OgreOdeWorld.cpp:208: instantiated from here
/usr/include/gcc/darwin/3.3/c++/ext/stl_hashtable.h:580: error: no match for call to `(const __gnu_cxx::hash<dxBody*>) (dxBody* const&)'
/usr/include/gcc/darwin/3.3/c++/ext/stl_hashtable.h: In member function `size_t __gnu_cxx::hashtable<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc>::_M_bkt_num_key(const _Key&, long unsigned int) const [with _Val = std::pair<dxJointGroup* const, OgreOde::JointGroup*>, _Key = dxJointGroup*, _HashFcn = __gnu_cxx::hash<dxJointGroup*>, _ExtractKey = std::_Select1st<std::pair<dxJointGroup* const, OgreOde::JointGroup*> >, _EqualKey = std::equal_to<dxJointGroup*>, _Alloc = std::allocator<OgreOde::JointGroup*>]':
OgreOdeWorld.cpp:569: instantiated from `size_t __gnu_cxx::hashtable<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc>::_M_bkt_num_key(const _Key&) const [with _Val = std::pair<dxJointGroup* const, OgreOde::JointGroup*>, _Key = dxJointGroup*, _HashFcn = __gnu_cxx::hash<dxJointGroup*>, _ExtractKey = std::_Select1st<std::pair<dxJointGroup* const, OgreOde::JointGroup*> >, _EqualKey = std::equal_to<dxJointGroup*>, _Alloc = std::allocator<OgreOde::JointGroup*>]'
/Users/silver/ogrenew/OgreOde/src/OgreOdeWorld.cpp:509: instantiated from `__gnu_cxx::_Hashtable_iterator<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc> __gnu_cxx::hashtable<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc>::find(const _Key&) [with _Val = std::pair<dxJointGroup* const, OgreOde::JointGroup*>, _Key = dxJointGroup*, _HashFcn = __gnu_cxx::hash<dxJointGroup*>, _ExtractKey = std::_Select1st<std::pair<dxJointGroup* const, OgreOde::JointGroup*> >, _EqualKey = std::equal_to<dxJointGroup*>, _Alloc = std::allocator<OgreOde::JointGroup*>]'
OgreOdeWorld.cpp:188: instantiated from `typename __gnu_cxx::hashtable<std::pair<const _Key, _Tp>, _Key, _HashFcn, std::_Select1st<std::pair<const _Key, _Tp> >, _EqualKey, _Alloc>::iterator __gnu_cxx::hash_map<_Key, _Tp, _HashFcn, _EqualKey, _Alloc>::find(typename __gnu_cxx::hashtable<std::pair<const _Key, _Tp>, _Key, _HashFcn, std::_Select1st<std::pair<const _Key, _Tp> >, _EqualKey, _Alloc>::key_type&) [with _Key = dxJointGroup*, _Tp = OgreOde::JointGroup*, _HashFcn = __gnu_cxx::hash<dxJointGroup*>, _EqualKey = std::equal_to<dxJointGroup*>, _Alloc = std::allocator<OgreOde::JointGroup*>]'
OgreOdeWorld.cpp:228: instantiated from here
/usr/include/gcc/darwin/3.3/c++/ext/stl_hashtable.h:580: error: no match for call to `(const __gnu_cxx::hash<dxJointGroup*>) (dxJointGroup* const&)'
/usr/include/gcc/darwin/3.3/c++/ext/stl_hashtable.h: In member function `size_t __gnu_cxx::hashtable<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc>::_M_bkt_num_key(const _Key&, long unsigned int) const [with _Val = std::pair<dxJoint* const, OgreOde::Joint*>, _Key = dxJoint*, _HashFcn = __gnu_cxx::hash<dxJoint*>, _ExtractKey = std::_Select1st<std::pair<dxJoint* const, OgreOde::Joint*> >, _EqualKey = std::equal_to<dxJoint*>, _Alloc = std::allocator<OgreOde::Joint*>]':
OgreOdeWorld.cpp:569: instantiated from `size_t __gnu_cxx::hashtable<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc>::_M_bkt_num_key(const _Key&) const [with _Val = std::pair<dxJoint* const, OgreOde::Joint*>, _Key = dxJoint*, _HashFcn = __gnu_cxx::hash<dxJoint*>, _ExtractKey = std::_Select1st<std::pair<dxJoint* const, OgreOde::Joint*> >, _EqualKey = std::equal_to<dxJoint*>, _Alloc = std::allocator<OgreOde::Joint*>]'
OgreOdeWorld.cpp:509: instantiated from `__gnu_cxx::_Hashtable_iterator<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc> __gnu_cxx::hashtable<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc>::find(const _Key&) [with _Val = std::pair<dxJoint* const, OgreOde::Joint*>, _Key = dxJoint*, _HashFcn = __gnu_cxx::hash<dxJoint*>, _ExtractKey = std::_Select1st<std::pair<dxJoint* const, OgreOde::Joint*> >, _EqualKey = std::equal_to<dxJoint*>, _Alloc = std::allocator<OgreOde::Joint*>]'
OgreOdeWorld.cpp:188: instantiated from `typename __gnu_cxx::hashtable<std::pair<const _Key, _Tp>, _Key, _HashFcn, std::_Select1st<std::pair<const _Key, _Tp> >, _EqualKey, _Alloc>::iterator __gnu_cxx::hash_map<_Key, _Tp, _HashFcn, _EqualKey, _Alloc>::find(typename __gnu_cxx::hashtable<std::pair<const _Key, _Tp>, _Key, _HashFcn, std::_Select1st<std::pair<const _Key, _Tp> >, _EqualKey, _Alloc>::key_type&) [with _Key = dxJoint*, _Tp = OgreOde::Joint*, _HashFcn = __gnu_cxx::hash<dxJoint*>, _EqualKey = std::equal_to<dxJoint*>, _Alloc = std::allocator<OgreOde::Joint*>]'
OgreOdeWorld.cpp:248: instantiated from here
/usr/include/gcc/darwin/3.3/c++/ext/stl_hashtable.h:580: error: no match for call to `(const __gnu_cxx::hash<dxJoint*>) (dxJoint* const&)'
/usr/include/gcc/darwin/3.3/c++/ext/stl_hashtable.h: In member function `size_t __gnu_cxx::hashtable<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc>::_M_bkt_num_key(const _Key&, long unsigned int) const [with _Val = std::pair<dxGeom* const, OgreOde::Geometry*>, _Key = dxGeom*, _HashFcn = __gnu_cxx::hash<dxGeom*>, _ExtractKey = std::_Select1st<std::pair<dxGeom* const, OgreOde::Geometry*> >, _EqualKey = std::equal_to<dxGeom*>, _Alloc = std::allocator<OgreOde::Geometry*>]':
OgreOdeWorld.cpp:569: instantiated from `size_t __gnu_cxx::hashtable<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc>::_M_bkt_num_key(const _Key&) const [with _Val = std::pair<dxGeom* const, OgreOde::Geometry*>, _Key = dxGeom*, _HashFcn = __gnu_cxx::hash<dxGeom*>, _ExtractKey = std::_Select1st<std::pair<dxGeom* const, OgreOde::Geometry*> >, _EqualKey = std::equal_to<dxGeom*>, _Alloc = std::allocator<OgreOde::Geometry*>]'
/Users/silver/ogrenew/OgreOde/src/OgreOdeWorld.cpp:509: instantiated from `__gnu_cxx::_Hashtable_iterator<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc> __gnu_cxx::hashtable<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc>::find(const _Key&) [with _Val = std::pair<dxGeom* const, OgreOde::Geometry*>, _Key = dxGeom*, _HashFcn = __gnu_cxx::hash<dxGeom*>, _ExtractKey = std::_Select1st<std::pair<dxGeom* const, OgreOde::Geometry*> >, _EqualKey = std::equal_to<dxGeom*>, _Alloc = std::allocator<OgreOde::Geometry*>]'
OgreOdeWorld.cpp:188: instantiated from `typename __gnu_cxx::hashtable<std::pair<const _Key, _Tp>, _Key, _HashFcn, std::_Select1st<std::pair<const _Key, _Tp> >, _EqualKey, _Alloc>::iterator __gnu_cxx::hash_map<_Key, _Tp, _HashFcn, _EqualKey, _Alloc>::find(typename __gnu_cxx::hashtable<std::pair<const _Key, _Tp>, _Key, _HashFcn, std::_Select1st<std::pair<const _Key, _Tp> >, _EqualKey, _Alloc>::key_type&) [with _Key = dxGeom*, _Tp = OgreOde::Geometry*, _HashFcn = __gnu_cxx::hash<dxGeom*>, _EqualKey = std::equal_to<dxGeom*>, _Alloc = std::allocator<OgreOde::Geometry*>]'
OgreOdeWorld.cpp:273: instantiated from here
/usr/include/gcc/darwin/3.3/c++/ext/stl_hashtable.h:580: error: no match for call to `(const __gnu_cxx::hash<dxGeom*>) (dxGeom* const&)'
/usr/include/gcc/darwin/3.3/c++/ext/stl_hashtable.h: In member function `size_t __gnu_cxx::hashtable<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc>::_M_bkt_num_key(const _Key&, long unsigned int) const [with _Val = std::pair<dxSpace* const, OgreOde::Space*>, _Key = dxSpace*, _HashFcn = __gnu_cxx::hash<dxSpace*>, _ExtractKey = std::_Select1st<std::pair<dxSpace* const, OgreOde::Space*> >, _EqualKey = std::equal_to<dxSpace*>, _Alloc = std::allocator<OgreOde::Space*>]':
OgreOdeWorld.cpp:569: instantiated from `size_t __gnu_cxx::hashtable<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc>::_M_bkt_num_key(const _Key&) const [with _Val = std::pair<dxSpace* const, OgreOde::Space*>, _Key = dxSpace*, _HashFcn = __gnu_cxx::hash<dxSpace*>, _ExtractKey = std::_Select1st<std::pair<dxSpace* const, OgreOde::Space*> >, _EqualKey = std::equal_to<dxSpace*>, _Alloc = std::allocator<OgreOde::Space*>]'
OgreOdeWorld.cpp:509: instantiated from `__gnu_cxx::_Hashtable_iterator<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc> __gnu_cxx::hashtable<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc>::find(const _Key&) [with _Val = std::pair<dxSpace* const, OgreOde::Space*>, _Key = dxSpace*, _HashFcn = __gnu_cxx::hash<dxSpace*>, _ExtractKey = std::_Select1st<std::pair<dxSpace* const, OgreOde::Space*> >, _EqualKey = std::equal_to<dxSpace*>, _Alloc = std::allocator<OgreOde::Space*>]'
OgreOdeWorld.cpp:188: instantiated from `typename __gnu_cxx::hashtable<std::pair<const _Key, _Tp>, _Key, _HashFcn, std::_Select1st<std::pair<const _Key, _Tp> >, _EqualKey, _Alloc>::iterator __gnu_cxx::hash_map<_Key, _Tp, _HashFcn, _EqualKey, _Alloc>::find(typename __gnu_cxx::hashtable<std::pair<const _Key, _Tp>, _Key, _HashFcn, std::_Select1st<std::pair<const _Key, _Tp> >, _EqualKey, _Alloc>::key_type&) [with _Key = dxSpace*, _Tp = OgreOde::Space*, _HashFcn = __gnu_cxx::hash<dxSpace*>, _EqualKey = std::equal_to<dxSpace*>, _Alloc = std::allocator<OgreOde::Space*>]'
OgreOdeWorld.cpp:293: instantiated from here
/usr/include/gcc/darwin/3.3/c++/ext/stl_hashtable.h:580: error: no match for call to `(const __gnu_cxx::hash<dxSpace*>) (dxSpace* const&)'
Thanks in advance