In file included from /usr/include/c++/4.7/ext/alloc_traits.h:35:0, from /usr/include/c++/4.7/bits/stl_construct.h:63, from /usr/include/c++/4.7/vector:63, from src/Headers/BlackDragonEngine/Input.h:3, from src/Headers/Danmaku/DanmakuGame.h:2, from src/Danmaku/DanmakuGame.cpp:1: /usr/include/c++/4.7/bits/alloc_traits.h: In instantiation of ‘struct std::allocator_traits’: /usr/include/c++/4.7/ext/alloc_traits.h:90:10: required from ‘struct __gnu_cxx::__alloc_traits’ /usr/include/c++/4.7/bits/stl_vector.h:76:28: required from ‘struct std::_Vector_base, BlackDragonEngine::SimpleMapSquare>’ /usr/include/c++/4.7/bits/stl_vector.h:208:11: required from ‘class std::vector, BlackDragonEngine::SimpleMapSquare>’ src/Headers/BlackDragonEngine/Inline/TileMap.inl:42:24: required from here /usr/include/c++/4.7/bits/alloc_traits.h:86:43: error: no type named ‘value_type’ in ‘struct BlackDragonEngine::SimpleMapSquare’ /usr/include/c++/4.7/bits/alloc_traits.h:96:1: error: no matching function for call to ‘std::allocator_traits::_S_pointer_helper(BlackDragonEngine::SimpleMapSquare*)’ /usr/include/c++/4.7/bits/alloc_traits.h:96:1: note: candidate is: /usr/include/c++/4.7/bits/alloc_traits.h:96:1: note: template static typename _Tp::pointer std::allocator_traits::_S_pointer_helper(_Tp*) [with _Tp = _Tp; _Alloc = BlackDragonEngine::SimpleMapSquare] /usr/include/c++/4.7/bits/alloc_traits.h:96:1: note: template argument deduction/substitution failed: /usr/include/c++/4.7/bits/alloc_traits.h: In substitution of ‘template static typename _Tp::pointer std::allocator_traits::_S_pointer_helper(_Tp*) [with _Tp = _Tp; _Alloc = BlackDragonEngine::SimpleMapSquare] [with _Tp = BlackDragonEngine::SimpleMapSquare]’: /usr/include/c++/4.7/bits/alloc_traits.h:96:1: required from ‘struct std::allocator_traits’ /usr/include/c++/4.7/ext/alloc_traits.h:90:10: required from ‘struct __gnu_cxx::__alloc_traits’ /usr/include/c++/4.7/bits/stl_vector.h:76:28: required from ‘struct std::_Vector_base, BlackDragonEngine::SimpleMapSquare>’ /usr/include/c++/4.7/bits/stl_vector.h:208:11: required from ‘class std::vector, BlackDragonEngine::SimpleMapSquare>’ src/Headers/BlackDragonEngine/Inline/TileMap.inl:42:24: required from here /usr/include/c++/4.7/bits/alloc_traits.h:96:1: error: no type named ‘pointer’ in ‘struct BlackDragonEngine::SimpleMapSquare’ /usr/include/c++/4.7/bits/alloc_traits.h: In instantiation of ‘struct std::allocator_traits’: /usr/include/c++/4.7/ext/alloc_traits.h:90:10: required from ‘struct __gnu_cxx::__alloc_traits’ /usr/include/c++/4.7/bits/stl_vector.h:76:28: required from ‘struct std::_Vector_base, BlackDragonEngine::SimpleMapSquare>’ /usr/include/c++/4.7/bits/stl_vector.h:208:11: required from ‘class std::vector, BlackDragonEngine::SimpleMapSquare>’ src/Headers/BlackDragonEngine/Inline/TileMap.inl:42:24: required from here /usr/include/c++/4.7/bits/alloc_traits.h:106:1: error: no matching function for call to ‘std::allocator_traits::_S_pointer_helper(BlackDragonEngine::SimpleMapSquare*)’ /usr/include/c++/4.7/bits/alloc_traits.h:106:1: note: candidate is: /usr/include/c++/4.7/bits/alloc_traits.h:96:1: note: template static typename _Tp::pointer std::allocator_traits::_S_pointer_helper(_Tp*) [with _Tp = _Tp; _Alloc = BlackDragonEngine::SimpleMapSquare] /usr/include/c++/4.7/bits/alloc_traits.h:96:1: note: template argument deduction/substitution failed: /usr/include/c++/4.7/bits/alloc_traits.h: In substitution of ‘template static typename _Tp::pointer std::allocator_traits::_S_pointer_helper(_Tp*) [with _Tp = _Tp; _Alloc = BlackDragonEngine::SimpleMapSquare] [with _Tp = BlackDragonEngine::SimpleMapSquare]’: /usr/include/c++/4.7/bits/alloc_traits.h:106:1: required from ‘struct std::allocator_traits’ /usr/include/c++/4.7/ext/alloc_traits.h:90:10: required from ‘struct __gnu_cxx::__alloc_traits’ /usr/include/c++/4.7/bits/stl_vector.h:76:28: required from ‘struct std::_Vector_base, BlackDragonEngine::SimpleMapSquare>’ /usr/include/c++/4.7/bits/stl_vector.h:208:11: required from ‘class std::vector, BlackDragonEngine::SimpleMapSquare>’ src/Headers/BlackDragonEngine/Inline/TileMap.inl:42:24: required from here /usr/include/c++/4.7/bits/alloc_traits.h:96:1: error: no type named ‘pointer’ in ‘struct BlackDragonEngine::SimpleMapSquare’ /usr/include/c++/4.7/bits/alloc_traits.h: In instantiation of ‘struct std::allocator_traits’: /usr/include/c++/4.7/ext/alloc_traits.h:90:10: required from ‘struct __gnu_cxx::__alloc_traits’ /usr/include/c++/4.7/bits/stl_vector.h:76:28: required from ‘struct std::_Vector_base, BlackDragonEngine::SimpleMapSquare>’ /usr/include/c++/4.7/bits/stl_vector.h:208:11: required from ‘class std::vector, BlackDragonEngine::SimpleMapSquare>’ src/Headers/BlackDragonEngine/Inline/TileMap.inl:42:24: required from here /usr/include/c++/4.7/bits/alloc_traits.h:106:1: error: no matching function for call to ‘std::allocator_traits::_S_const_pointer_helper(BlackDragonEngine::SimpleMapSquare*)’ /usr/include/c++/4.7/bits/alloc_traits.h:106:1: note: candidate is: /usr/include/c++/4.7/bits/alloc_traits.h:106:1: note: template static typename _Tp::const_pointer std::allocator_traits::_S_const_pointer_helper(_Tp*) [with _Tp = _Tp; _Alloc = BlackDragonEngine::SimpleMapSquare] /usr/include/c++/4.7/bits/alloc_traits.h:106:1: note: template argument deduction/substitution failed: /usr/include/c++/4.7/bits/alloc_traits.h: In substitution of ‘template static typename _Tp::const_pointer std::allocator_traits::_S_const_pointer_helper(_Tp*) [with _Tp = _Tp; _Alloc = BlackDragonEngine::SimpleMapSquare] [with _Tp = BlackDragonEngine::SimpleMapSquare]’: /usr/include/c++/4.7/bits/alloc_traits.h:106:1: required from ‘struct std::allocator_traits’ /usr/include/c++/4.7/ext/alloc_traits.h:90:10: required from ‘struct __gnu_cxx::__alloc_traits’ /usr/include/c++/4.7/bits/stl_vector.h:76:28: required from ‘struct std::_Vector_base, BlackDragonEngine::SimpleMapSquare>’ /usr/include/c++/4.7/bits/stl_vector.h:208:11: required from ‘class std::vector, BlackDragonEngine::SimpleMapSquare>’ src/Headers/BlackDragonEngine/Inline/TileMap.inl:42:24: required from here /usr/include/c++/4.7/bits/alloc_traits.h:106:1: error: no type named ‘const_pointer’ in ‘struct BlackDragonEngine::SimpleMapSquare’ /usr/include/c++/4.7/bits/alloc_traits.h: In instantiation of ‘struct std::allocator_traits’: /usr/include/c++/4.7/ext/alloc_traits.h:90:10: required from ‘struct __gnu_cxx::__alloc_traits’ /usr/include/c++/4.7/bits/stl_vector.h:76:28: required from ‘struct std::_Vector_base, BlackDragonEngine::SimpleMapSquare>’ /usr/include/c++/4.7/bits/stl_vector.h:208:11: required from ‘class std::vector, BlackDragonEngine::SimpleMapSquare>’ src/Headers/BlackDragonEngine/Inline/TileMap.inl:42:24: required from here /usr/include/c++/4.7/bits/alloc_traits.h:117:1: error: no matching function for call to ‘std::allocator_traits::_S_pointer_helper(BlackDragonEngine::SimpleMapSquare*)’ /usr/include/c++/4.7/bits/alloc_traits.h:117:1: note: candidate is: /usr/include/c++/4.7/bits/alloc_traits.h:96:1: note: template static typename _Tp::pointer std::allocator_traits::_S_pointer_helper(_Tp*) [with _Tp = _Tp; _Alloc = BlackDragonEngine::SimpleMapSquare] /usr/include/c++/4.7/bits/alloc_traits.h:96:1: note: template argument deduction/substitution failed: /usr/include/c++/4.7/bits/alloc_traits.h: In substitution of ‘template static typename _Tp::pointer std::allocator_traits::_S_pointer_helper(_Tp*) [with _Tp = _Tp; _Alloc = BlackDragonEngine::SimpleMapSquare] [with _Tp = BlackDragonEngine::SimpleMapSquare]’: /usr/include/c++/4.7/bits/alloc_traits.h:117:1: required from ‘struct std::allocator_traits’ /usr/include/c++/4.7/ext/alloc_traits.h:90:10: required from ‘struct __gnu_cxx::__alloc_traits’ /usr/include/c++/4.7/bits/stl_vector.h:76:28: required from ‘struct std::_Vector_base, BlackDragonEngine::SimpleMapSquare>’ /usr/include/c++/4.7/bits/stl_vector.h:208:11: required from ‘class std::vector, BlackDragonEngine::SimpleMapSquare>’ src/Headers/BlackDragonEngine/Inline/TileMap.inl:42:24: required from here /usr/include/c++/4.7/bits/alloc_traits.h:96:1: error: no type named ‘pointer’ in ‘struct BlackDragonEngine::SimpleMapSquare’ /usr/include/c++/4.7/bits/alloc_traits.h: In instantiation of ‘struct std::allocator_traits’: /usr/include/c++/4.7/ext/alloc_traits.h:90:10: required from ‘struct __gnu_cxx::__alloc_traits’ /usr/include/c++/4.7/bits/stl_vector.h:76:28: required from ‘struct std::_Vector_base, BlackDragonEngine::SimpleMapSquare>’ /usr/include/c++/4.7/bits/stl_vector.h:208:11: required from ‘class std::vector, BlackDragonEngine::SimpleMapSquare>’ src/Headers/BlackDragonEngine/Inline/TileMap.inl:42:24: required from here /usr/include/c++/4.7/bits/alloc_traits.h:117:1: error: no matching function for call to ‘std::allocator_traits::_S_void_pointer_helper(BlackDragonEngine::SimpleMapSquare*)’ /usr/include/c++/4.7/bits/alloc_traits.h:117:1: note: candidate is: /usr/include/c++/4.7/bits/alloc_traits.h:117:1: note: template static typename _Tp::void_pointer std::allocator_traits::_S_void_pointer_helper(_Tp*) [with _Tp = _Tp; _Alloc = BlackDragonEngine::SimpleMapSquare] /usr/include/c++/4.7/bits/alloc_traits.h:117:1: note: template argument deduction/substitution failed: /usr/include/c++/4.7/bits/alloc_traits.h: In substitution of ‘template static typename _Tp::void_pointer std::allocator_traits::_S_void_pointer_helper(_Tp*) [with _Tp = _Tp; _Alloc = BlackDragonEngine::SimpleMapSquare] [with _Tp = BlackDragonEngine::SimpleMapSquare]’: /usr/include/c++/4.7/bits/alloc_traits.h:117:1: required from ‘struct std::allocator_traits’ /usr/include/c++/4.7/ext/alloc_traits.h:90:10: required from ‘struct __gnu_cxx::__alloc_traits’ /usr/include/c++/4.7/bits/stl_vector.h:76:28: required from ‘struct std::_Vector_base, BlackDragonEngine::SimpleMapSquare>’ /usr/include/c++/4.7/bits/stl_vector.h:208:11: required from ‘class std::vector, BlackDragonEngine::SimpleMapSquare>’ src/Headers/BlackDragonEngine/Inline/TileMap.inl:42:24: required from here /usr/include/c++/4.7/bits/alloc_traits.h:117:1: error: no type named ‘void_pointer’ in ‘struct BlackDragonEngine::SimpleMapSquare’ /usr/include/c++/4.7/bits/alloc_traits.h: In instantiation of ‘struct std::allocator_traits’: /usr/include/c++/4.7/ext/alloc_traits.h:90:10: required from ‘struct __gnu_cxx::__alloc_traits’ /usr/include/c++/4.7/bits/stl_vector.h:76:28: required from ‘struct std::_Vector_base, BlackDragonEngine::SimpleMapSquare>’ /usr/include/c++/4.7/bits/stl_vector.h:208:11: required from ‘class std::vector, BlackDragonEngine::SimpleMapSquare>’ src/Headers/BlackDragonEngine/Inline/TileMap.inl:42:24: required from here /usr/include/c++/4.7/bits/alloc_traits.h:128:1: error: no matching function for call to ‘std::allocator_traits::_S_pointer_helper(BlackDragonEngine::SimpleMapSquare*)’ /usr/include/c++/4.7/bits/alloc_traits.h:128:1: note: candidate is: /usr/include/c++/4.7/bits/alloc_traits.h:96:1: note: template static typename _Tp::pointer std::allocator_traits::_S_pointer_helper(_Tp*) [with _Tp = _Tp; _Alloc = BlackDragonEngine::SimpleMapSquare] /usr/include/c++/4.7/bits/alloc_traits.h:96:1: note: template argument deduction/substitution failed: /usr/include/c++/4.7/bits/alloc_traits.h: In substitution of ‘template static typename _Tp::pointer std::allocator_traits::_S_pointer_helper(_Tp*) [with _Tp = _Tp; _Alloc = BlackDragonEngine::SimpleMapSquare] [with _Tp = BlackDragonEngine::SimpleMapSquare]’: /usr/include/c++/4.7/bits/alloc_traits.h:128:1: required from ‘struct std::allocator_traits’ /usr/include/c++/4.7/ext/alloc_traits.h:90:10: required from ‘struct __gnu_cxx::__alloc_traits’ /usr/include/c++/4.7/bits/stl_vector.h:76:28: required from ‘struct std::_Vector_base, BlackDragonEngine::SimpleMapSquare>’ /usr/include/c++/4.7/bits/stl_vector.h:208:11: required from ‘class std::vector, BlackDragonEngine::SimpleMapSquare>’ src/Headers/BlackDragonEngine/Inline/TileMap.inl:42:24: required from here /usr/include/c++/4.7/bits/alloc_traits.h:96:1: error: no type named ‘pointer’ in ‘struct BlackDragonEngine::SimpleMapSquare’ /usr/include/c++/4.7/bits/alloc_traits.h: In instantiation of ‘struct std::allocator_traits’: /usr/include/c++/4.7/ext/alloc_traits.h:90:10: required from ‘struct __gnu_cxx::__alloc_traits’ /usr/include/c++/4.7/bits/stl_vector.h:76:28: required from ‘struct std::_Vector_base, BlackDragonEngine::SimpleMapSquare>’ /usr/include/c++/4.7/bits/stl_vector.h:208:11: required from ‘class std::vector, BlackDragonEngine::SimpleMapSquare>’ src/Headers/BlackDragonEngine/Inline/TileMap.inl:42:24: required from here /usr/include/c++/4.7/bits/alloc_traits.h:128:1: error: no matching function for call to ‘std::allocator_traits::_S_const_void_pointer_helper(BlackDragonEngine::SimpleMapSquare*)’ /usr/include/c++/4.7/bits/alloc_traits.h:128:1: note: candidate is: /usr/include/c++/4.7/bits/alloc_traits.h:128:1: note: template static typename _Tp::const_void_pointer std::allocator_traits::_S_const_void_pointer_helper(_Tp*) [with _Tp = _Tp; _Alloc = BlackDragonEngine::SimpleMapSquare] /usr/include/c++/4.7/bits/alloc_traits.h:128:1: note: template argument deduction/substitution failed: /usr/include/c++/4.7/bits/alloc_traits.h: In substitution of ‘template static typename _Tp::const_void_pointer std::allocator_traits::_S_const_void_pointer_helper(_Tp*) [with _Tp = _Tp; _Alloc = BlackDragonEngine::SimpleMapSquare] [with _Tp = BlackDragonEngine::SimpleMapSquare]’: /usr/include/c++/4.7/bits/alloc_traits.h:128:1: required from ‘struct std::allocator_traits’ /usr/include/c++/4.7/ext/alloc_traits.h:90:10: required from ‘struct __gnu_cxx::__alloc_traits’ /usr/include/c++/4.7/bits/stl_vector.h:76:28: required from ‘struct std::_Vector_base, BlackDragonEngine::SimpleMapSquare>’ /usr/include/c++/4.7/bits/stl_vector.h:208:11: required from ‘class std::vector, BlackDragonEngine::SimpleMapSquare>’ src/Headers/BlackDragonEngine/Inline/TileMap.inl:42:24: required from here /usr/include/c++/4.7/bits/alloc_traits.h:128:1: error: no type named ‘const_void_pointer’ in ‘struct BlackDragonEngine::SimpleMapSquare’ /usr/include/c++/4.7/bits/alloc_traits.h: In instantiation of ‘struct std::allocator_traits’: /usr/include/c++/4.7/ext/alloc_traits.h:90:10: required from ‘struct __gnu_cxx::__alloc_traits’ /usr/include/c++/4.7/bits/stl_vector.h:76:28: required from ‘struct std::_Vector_base, BlackDragonEngine::SimpleMapSquare>’ /usr/include/c++/4.7/bits/stl_vector.h:208:11: required from ‘class std::vector, BlackDragonEngine::SimpleMapSquare>’ src/Headers/BlackDragonEngine/Inline/TileMap.inl:42:24: required from here /usr/include/c++/4.7/bits/alloc_traits.h:139:1: error: no matching function for call to ‘std::allocator_traits::_S_pointer_helper(BlackDragonEngine::SimpleMapSquare*)’ /usr/include/c++/4.7/bits/alloc_traits.h:139:1: note: candidate is: /usr/include/c++/4.7/bits/alloc_traits.h:96:1: note: template static typename _Tp::pointer std::allocator_traits::_S_pointer_helper(_Tp*) [with _Tp = _Tp; _Alloc = BlackDragonEngine::SimpleMapSquare] /usr/include/c++/4.7/bits/alloc_traits.h:96:1: note: template argument deduction/substitution failed: /usr/include/c++/4.7/bits/alloc_traits.h: In substitution of ‘template static typename _Tp::pointer std::allocator_traits::_S_pointer_helper(_Tp*) [with _Tp = _Tp; _Alloc = BlackDragonEngine::SimpleMapSquare] [with _Tp = BlackDragonEngine::SimpleMapSquare]’: /usr/include/c++/4.7/bits/alloc_traits.h:139:1: required from ‘struct std::allocator_traits’ /usr/include/c++/4.7/ext/alloc_traits.h:90:10: required from ‘struct __gnu_cxx::__alloc_traits’ /usr/include/c++/4.7/bits/stl_vector.h:76:28: required from ‘struct std::_Vector_base, BlackDragonEngine::SimpleMapSquare>’ /usr/include/c++/4.7/bits/stl_vector.h:208:11: required from ‘class std::vector, BlackDragonEngine::SimpleMapSquare>’ src/Headers/BlackDragonEngine/Inline/TileMap.inl:42:24: required from here /usr/include/c++/4.7/bits/alloc_traits.h:96:1: error: no type named ‘pointer’ in ‘struct BlackDragonEngine::SimpleMapSquare’ /usr/include/c++/4.7/bits/alloc_traits.h: In instantiation of ‘struct std::allocator_traits’: /usr/include/c++/4.7/ext/alloc_traits.h:90:10: required from ‘struct __gnu_cxx::__alloc_traits’ /usr/include/c++/4.7/bits/stl_vector.h:76:28: required from ‘struct std::_Vector_base, BlackDragonEngine::SimpleMapSquare>’ /usr/include/c++/4.7/bits/stl_vector.h:208:11: required from ‘class std::vector, BlackDragonEngine::SimpleMapSquare>’ src/Headers/BlackDragonEngine/Inline/TileMap.inl:42:24: required from here /usr/include/c++/4.7/bits/alloc_traits.h:139:1: error: no matching function for call to ‘std::allocator_traits::_S_difference_type_helper(BlackDragonEngine::SimpleMapSquare*)’ /usr/include/c++/4.7/bits/alloc_traits.h:139:1: note: candidate is: /usr/include/c++/4.7/bits/alloc_traits.h:139:1: note: template static typename _Tp::difference_type std::allocator_traits::_S_difference_type_helper(_Tp*) [with _Tp = _Tp; _Alloc = BlackDragonEngine::SimpleMapSquare] /usr/include/c++/4.7/bits/alloc_traits.h:139:1: note: template argument deduction/substitution failed: /usr/include/c++/4.7/bits/alloc_traits.h: In substitution of ‘template static typename _Tp::difference_type std::allocator_traits::_S_difference_type_helper(_Tp*) [with _Tp = _Tp; _Alloc = BlackDragonEngine::SimpleMapSquare] [with _Tp = BlackDragonEngine::SimpleMapSquare]’: /usr/include/c++/4.7/bits/alloc_traits.h:139:1: required from ‘struct std::allocator_traits’ /usr/include/c++/4.7/ext/alloc_traits.h:90:10: required from ‘struct __gnu_cxx::__alloc_traits’ /usr/include/c++/4.7/bits/stl_vector.h:76:28: required from ‘struct std::_Vector_base, BlackDragonEngine::SimpleMapSquare>’ /usr/include/c++/4.7/bits/stl_vector.h:208:11: required from ‘class std::vector, BlackDragonEngine::SimpleMapSquare>’ src/Headers/BlackDragonEngine/Inline/TileMap.inl:42:24: required from here /usr/include/c++/4.7/bits/alloc_traits.h:139:1: error: no type named ‘difference_type’ in ‘struct BlackDragonEngine::SimpleMapSquare’ /usr/include/c++/4.7/bits/alloc_traits.h: In instantiation of ‘struct std::allocator_traits’: /usr/include/c++/4.7/ext/alloc_traits.h:90:10: required from ‘struct __gnu_cxx::__alloc_traits’ /usr/include/c++/4.7/bits/stl_vector.h:76:28: required from ‘struct std::_Vector_base, BlackDragonEngine::SimpleMapSquare>’ /usr/include/c++/4.7/bits/stl_vector.h:208:11: required from ‘class std::vector, BlackDragonEngine::SimpleMapSquare>’ src/Headers/BlackDragonEngine/Inline/TileMap.inl:42:24: required from here /usr/include/c++/4.7/bits/alloc_traits.h:150:1: error: no matching function for call to ‘std::allocator_traits::_S_difference_type_helper(BlackDragonEngine::SimpleMapSquare*)’ /usr/include/c++/4.7/bits/alloc_traits.h:150:1: note: candidate is: /usr/include/c++/4.7/bits/alloc_traits.h:139:1: note: template static typename _Tp::difference_type std::allocator_traits::_S_difference_type_helper(_Tp*) [with _Tp = _Tp; _Alloc = BlackDragonEngine::SimpleMapSquare] /usr/include/c++/4.7/bits/alloc_traits.h:139:1: note: template argument deduction/substitution failed: /usr/include/c++/4.7/bits/alloc_traits.h: In substitution of ‘template static typename _Tp::difference_type std::allocator_traits::_S_difference_type_helper(_Tp*) [with _Tp = _Tp; _Alloc = BlackDragonEngine::SimpleMapSquare] [with _Tp = BlackDragonEngine::SimpleMapSquare]’: /usr/include/c++/4.7/bits/alloc_traits.h:150:1: required from ‘struct std::allocator_traits’ /usr/include/c++/4.7/ext/alloc_traits.h:90:10: required from ‘struct __gnu_cxx::__alloc_traits’ /usr/include/c++/4.7/bits/stl_vector.h:76:28: required from ‘struct std::_Vector_base, BlackDragonEngine::SimpleMapSquare>’ /usr/include/c++/4.7/bits/stl_vector.h:208:11: required from ‘class std::vector, BlackDragonEngine::SimpleMapSquare>’ src/Headers/BlackDragonEngine/Inline/TileMap.inl:42:24: required from here /usr/include/c++/4.7/bits/alloc_traits.h:139:1: error: no type named ‘difference_type’ in ‘struct BlackDragonEngine::SimpleMapSquare’ /usr/include/c++/4.7/bits/alloc_traits.h: In instantiation of ‘struct std::allocator_traits’: /usr/include/c++/4.7/ext/alloc_traits.h:90:10: required from ‘struct __gnu_cxx::__alloc_traits’ /usr/include/c++/4.7/bits/stl_vector.h:76:28: required from ‘struct std::_Vector_base, BlackDragonEngine::SimpleMapSquare>’ /usr/include/c++/4.7/bits/stl_vector.h:208:11: required from ‘class std::vector, BlackDragonEngine::SimpleMapSquare>’ src/Headers/BlackDragonEngine/Inline/TileMap.inl:42:24: required from here /usr/include/c++/4.7/bits/alloc_traits.h:150:1: error: no matching function for call to ‘std::allocator_traits::_S_size_type_helper(BlackDragonEngine::SimpleMapSquare*)’ /usr/include/c++/4.7/bits/alloc_traits.h:150:1: note: candidate is: /usr/include/c++/4.7/bits/alloc_traits.h:150:1: note: template static typename _Tp::size_type std::allocator_traits::_S_size_type_helper(_Tp*) [with _Tp = _Tp; _Alloc = BlackDragonEngine::SimpleMapSquare] /usr/include/c++/4.7/bits/alloc_traits.h:150:1: note: template argument deduction/substitution failed: /usr/include/c++/4.7/bits/alloc_traits.h: In substitution of ‘template static typename _Tp::size_type std::allocator_traits::_S_size_type_helper(_Tp*) [with _Tp = _Tp; _Alloc = BlackDragonEngine::SimpleMapSquare] [with _Tp = BlackDragonEngine::SimpleMapSquare]’: /usr/include/c++/4.7/bits/alloc_traits.h:150:1: required from ‘struct std::allocator_traits’ /usr/include/c++/4.7/ext/alloc_traits.h:90:10: required from ‘struct __gnu_cxx::__alloc_traits’ /usr/include/c++/4.7/bits/stl_vector.h:76:28: required from ‘struct std::_Vector_base, BlackDragonEngine::SimpleMapSquare>’ /usr/include/c++/4.7/bits/stl_vector.h:208:11: required from ‘class std::vector, BlackDragonEngine::SimpleMapSquare>’ src/Headers/BlackDragonEngine/Inline/TileMap.inl:42:24: required from here /usr/include/c++/4.7/bits/alloc_traits.h:150:1: error: no type named ‘size_type’ in ‘struct BlackDragonEngine::SimpleMapSquare’ /usr/include/c++/4.7/bits/alloc_traits.h: In instantiation of ‘struct std::allocator_traits’: /usr/include/c++/4.7/ext/alloc_traits.h:90:10: required from ‘struct __gnu_cxx::__alloc_traits’ /usr/include/c++/4.7/bits/stl_vector.h:76:28: required from ‘struct std::_Vector_base, BlackDragonEngine::SimpleMapSquare>’ /usr/include/c++/4.7/bits/stl_vector.h:208:11: required from ‘class std::vector, BlackDragonEngine::SimpleMapSquare>’ src/Headers/BlackDragonEngine/Inline/TileMap.inl:42:24: required from here /usr/include/c++/4.7/bits/alloc_traits.h:222:9: error: no matching function for call to ‘std::allocator_traits::_S_pointer_helper(BlackDragonEngine::SimpleMapSquare*)’ /usr/include/c++/4.7/bits/alloc_traits.h:222:9: note: candidate is: /usr/include/c++/4.7/bits/alloc_traits.h:96:1: note: template static typename _Tp::pointer std::allocator_traits::_S_pointer_helper(_Tp*) [with _Tp = _Tp; _Alloc = BlackDragonEngine::SimpleMapSquare] /usr/include/c++/4.7/bits/alloc_traits.h:96:1: note: template argument deduction/substitution failed: /usr/include/c++/4.7/bits/alloc_traits.h: In substitution of ‘template static typename _Tp::pointer std::allocator_traits::_S_pointer_helper(_Tp*) [with _Tp = _Tp; _Alloc = BlackDragonEngine::SimpleMapSquare] [with _Tp = BlackDragonEngine::SimpleMapSquare]’: /usr/include/c++/4.7/bits/alloc_traits.h:222:9: required from ‘struct std::allocator_traits’ /usr/include/c++/4.7/ext/alloc_traits.h:90:10: required from ‘struct __gnu_cxx::__alloc_traits’ /usr/include/c++/4.7/bits/stl_vector.h:76:28: required from ‘struct std::_Vector_base, BlackDragonEngine::SimpleMapSquare>’ /usr/include/c++/4.7/bits/stl_vector.h:208:11: required from ‘class std::vector, BlackDragonEngine::SimpleMapSquare>’ src/Headers/BlackDragonEngine/Inline/TileMap.inl:42:24: required from here /usr/include/c++/4.7/bits/alloc_traits.h:96:1: error: no type named ‘pointer’ in ‘struct BlackDragonEngine::SimpleMapSquare’ /usr/include/c++/4.7/bits/alloc_traits.h: In instantiation of ‘struct std::allocator_traits’: /usr/include/c++/4.7/ext/alloc_traits.h:90:10: required from ‘struct __gnu_cxx::__alloc_traits’ /usr/include/c++/4.7/bits/stl_vector.h:76:28: required from ‘struct std::_Vector_base, BlackDragonEngine::SimpleMapSquare>’ /usr/include/c++/4.7/bits/stl_vector.h:208:11: required from ‘class std::vector, BlackDragonEngine::SimpleMapSquare>’ src/Headers/BlackDragonEngine/Inline/TileMap.inl:42:24: required from here /usr/include/c++/4.7/bits/alloc_traits.h:228:9: error: no matching function for call to ‘std::allocator_traits::_S_pointer_helper(BlackDragonEngine::SimpleMapSquare*)’ /usr/include/c++/4.7/bits/alloc_traits.h:228:9: note: candidate is: /usr/include/c++/4.7/bits/alloc_traits.h:96:1: note: template static typename _Tp::pointer std::allocator_traits::_S_pointer_helper(_Tp*) [with _Tp = _Tp; _Alloc = BlackDragonEngine::SimpleMapSquare] /usr/include/c++/4.7/bits/alloc_traits.h:96:1: note: template argument deduction/substitution failed: /usr/include/c++/4.7/bits/alloc_traits.h: In substitution of ‘template static typename _Tp::pointer std::allocator_traits::_S_pointer_helper(_Tp*) [with _Tp = _Tp; _Alloc = BlackDragonEngine::SimpleMapSquare] [with _Tp = BlackDragonEngine::SimpleMapSquare]’: /usr/include/c++/4.7/bits/alloc_traits.h:228:9: required from ‘struct std::allocator_traits’ /usr/include/c++/4.7/ext/alloc_traits.h:90:10: required from ‘struct __gnu_cxx::__alloc_traits’ /usr/include/c++/4.7/bits/stl_vector.h:76:28: required from ‘struct std::_Vector_base, BlackDragonEngine::SimpleMapSquare>’ /usr/include/c++/4.7/bits/stl_vector.h:208:11: required from ‘class std::vector, BlackDragonEngine::SimpleMapSquare>’ src/Headers/BlackDragonEngine/Inline/TileMap.inl:42:24: required from here /usr/include/c++/4.7/bits/alloc_traits.h:96:1: error: no type named ‘pointer’ in ‘struct BlackDragonEngine::SimpleMapSquare’ /usr/include/c++/4.7/bits/alloc_traits.h: In instantiation of ‘struct std::allocator_traits’: /usr/include/c++/4.7/ext/alloc_traits.h:90:10: required from ‘struct __gnu_cxx::__alloc_traits’ /usr/include/c++/4.7/bits/stl_vector.h:76:28: required from ‘struct std::_Vector_base, BlackDragonEngine::SimpleMapSquare>’ /usr/include/c++/4.7/bits/stl_vector.h:208:11: required from ‘class std::vector, BlackDragonEngine::SimpleMapSquare>’ src/Headers/BlackDragonEngine/Inline/TileMap.inl:42:24: required from here /usr/include/c++/4.7/bits/alloc_traits.h:300:9: error: no matching function for call to ‘std::allocator_traits::_S_size_type_helper(BlackDragonEngine::SimpleMapSquare*)’ /usr/include/c++/4.7/bits/alloc_traits.h:300:9: note: candidate is: /usr/include/c++/4.7/bits/alloc_traits.h:150:1: note: template static typename _Tp::size_type std::allocator_traits::_S_size_type_helper(_Tp*) [with _Tp = _Tp; _Alloc = BlackDragonEngine::SimpleMapSquare] /usr/include/c++/4.7/bits/alloc_traits.h:150:1: note: template argument deduction/substitution failed: /usr/include/c++/4.7/bits/alloc_traits.h: In substitution of ‘template static typename _Tp::size_type std::allocator_traits::_S_size_type_helper(_Tp*) [with _Tp = _Tp; _Alloc = BlackDragonEngine::SimpleMapSquare] [with _Tp = BlackDragonEngine::SimpleMapSquare]’: /usr/include/c++/4.7/bits/alloc_traits.h:300:9: required from ‘struct std::allocator_traits’ /usr/include/c++/4.7/ext/alloc_traits.h:90:10: required from ‘struct __gnu_cxx::__alloc_traits’ /usr/include/c++/4.7/bits/stl_vector.h:76:28: required from ‘struct std::_Vector_base, BlackDragonEngine::SimpleMapSquare>’ /usr/include/c++/4.7/bits/stl_vector.h:208:11: required from ‘class std::vector, BlackDragonEngine::SimpleMapSquare>’ src/Headers/BlackDragonEngine/Inline/TileMap.inl:42:24: required from here /usr/include/c++/4.7/bits/alloc_traits.h:150:1: error: no type named ‘size_type’ in ‘struct BlackDragonEngine::SimpleMapSquare’ /usr/include/c++/4.7/bits/alloc_traits.h: In instantiation of ‘struct std::allocator_traits’: /usr/include/c++/4.7/ext/alloc_traits.h:90:10: required from ‘struct __gnu_cxx::__alloc_traits’ /usr/include/c++/4.7/bits/stl_vector.h:76:28: required from ‘struct std::_Vector_base, BlackDragonEngine::SimpleMapSquare>’ /usr/include/c++/4.7/bits/stl_vector.h:208:11: required from ‘class std::vector, BlackDragonEngine::SimpleMapSquare>’ src/Headers/BlackDragonEngine/Inline/TileMap.inl:42:24: required from here /usr/include/c++/4.7/bits/alloc_traits.h:306:2: error: no matching function for call to ‘std::allocator_traits::_S_size_type_helper(BlackDragonEngine::SimpleMapSquare*)’ /usr/include/c++/4.7/bits/alloc_traits.h:306:2: note: candidate is: /usr/include/c++/4.7/bits/alloc_traits.h:150:1: note: template static typename _Tp::size_type std::allocator_traits::_S_size_type_helper(_Tp*) [with _Tp = _Tp; _Alloc = BlackDragonEngine::SimpleMapSquare] /usr/include/c++/4.7/bits/alloc_traits.h:150:1: note: template argument deduction/substitution failed: /usr/include/c++/4.7/bits/alloc_traits.h: In substitution of ‘template static typename _Tp::size_type std::allocator_traits::_S_size_type_helper(_Tp*) [with _Tp = _Tp; _Alloc = BlackDragonEngine::SimpleMapSquare] [with _Tp = BlackDragonEngine::SimpleMapSquare]’: /usr/include/c++/4.7/bits/alloc_traits.h:306:2: required from ‘struct std::allocator_traits’ /usr/include/c++/4.7/ext/alloc_traits.h:90:10: required from ‘struct __gnu_cxx::__alloc_traits’ /usr/include/c++/4.7/bits/stl_vector.h:76:28: required from ‘struct std::_Vector_base, BlackDragonEngine::SimpleMapSquare>’ /usr/include/c++/4.7/bits/stl_vector.h:208:11: required from ‘class std::vector, BlackDragonEngine::SimpleMapSquare>’ src/Headers/BlackDragonEngine/Inline/TileMap.inl:42:24: required from here /usr/include/c++/4.7/bits/alloc_traits.h:150:1: error: no type named ‘size_type’ in ‘struct BlackDragonEngine::SimpleMapSquare’ In file included from /usr/include/c++/4.7/bits/stl_construct.h:63:0, from /usr/include/c++/4.7/vector:63, from src/Headers/BlackDragonEngine/Input.h:3, from src/Headers/Danmaku/DanmakuGame.h:2, from src/Danmaku/DanmakuGame.cpp:1: /usr/include/c++/4.7/ext/alloc_traits.h: In instantiation of ‘struct __gnu_cxx::__alloc_traits’: /usr/include/c++/4.7/bits/stl_vector.h:76:28: required from ‘struct std::_Vector_base, BlackDragonEngine::SimpleMapSquare>’ /usr/include/c++/4.7/bits/stl_vector.h:208:11: required from ‘class std::vector, BlackDragonEngine::SimpleMapSquare>’ src/Headers/BlackDragonEngine/Inline/TileMap.inl:42:24: required from here /usr/include/c++/4.7/ext/alloc_traits.h:105:23: error: no members matching ‘__gnu_cxx::__alloc_traits::_Base_type {aka std::allocator_traits}::allocate’ in ‘__gnu_cxx::__alloc_traits::_Base_type {aka struct std::allocator_traits}’ /usr/include/c++/4.7/ext/alloc_traits.h:106:23: error: no members matching ‘__gnu_cxx::__alloc_traits::_Base_type {aka std::allocator_traits}::deallocate’ in ‘__gnu_cxx::__alloc_traits::_Base_type {aka struct std::allocator_traits}’ /usr/include/c++/4.7/ext/alloc_traits.h:109:23: error: no members matching ‘__gnu_cxx::__alloc_traits::_Base_type {aka std::allocator_traits}::max_size’ in ‘__gnu_cxx::__alloc_traits::_Base_type {aka struct std::allocator_traits}’ In file included from /usr/include/c++/4.7/ext/alloc_traits.h:35:0, from /usr/include/c++/4.7/bits/stl_construct.h:63, from /usr/include/c++/4.7/vector:63, from src/Headers/BlackDragonEngine/Input.h:3, from src/Headers/Danmaku/DanmakuGame.h:2, from src/Danmaku/DanmakuGame.cpp:1: /usr/include/c++/4.7/bits/alloc_traits.h: In instantiation of ‘struct __gnu_cxx::__alloc_traits::rebind >’: /usr/include/c++/4.7/bits/stl_vector.h:76:28: required from ‘struct std::_Vector_base, BlackDragonEngine::SimpleMapSquare>’ /usr/include/c++/4.7/bits/stl_vector.h:208:11: required from ‘class std::vector, BlackDragonEngine::SimpleMapSquare>’ src/Headers/BlackDragonEngine/Inline/TileMap.inl:42:24: required from here /usr/include/c++/4.7/bits/alloc_traits.h:198:76: error: invalid use of incomplete type ‘struct std::__alloctr_rebind, false>’ /usr/include/c++/4.7/bits/alloc_traits.h:61:12: error: declaration of ‘struct std::__alloctr_rebind, false>’ In file included from /usr/include/c++/4.7/vector:65:0, from src/Headers/BlackDragonEngine/Input.h:3, from src/Headers/Danmaku/DanmakuGame.h:2, from src/Danmaku/DanmakuGame.cpp:1: /usr/include/c++/4.7/bits/stl_vector.h: In instantiation of ‘class std::vector, BlackDragonEngine::SimpleMapSquare>’: src/Headers/BlackDragonEngine/Inline/TileMap.inl:42:24: required from here /usr/include/c++/4.7/bits/stl_vector.h:211:58: error: no type named ‘value_type’ in ‘struct BlackDragonEngine::SimpleMapSquare’ /usr/include/c++/4.7/bits/stl_vector.h:235:20: error: no members matching ‘std::vector, BlackDragonEngine::SimpleMapSquare>::_Base {aka std::_Vector_base, BlackDragonEngine::SimpleMapSquare>}::_M_allocate’ in ‘std::vector, BlackDragonEngine::SimpleMapSquare>::_Base {aka struct std::_Vector_base, BlackDragonEngine::SimpleMapSquare>}’ /usr/include/c++/4.7/bits/stl_vector.h:236:20: error: no members matching ‘std::vector, BlackDragonEngine::SimpleMapSquare>::_Base {aka std::_Vector_base, BlackDragonEngine::SimpleMapSquare>}::_M_deallocate’ in ‘std::vector, BlackDragonEngine::SimpleMapSquare>::_Base {aka struct std::_Vector_base, BlackDragonEngine::SimpleMapSquare>}’ /usr/include/c++/4.7/bits/stl_vector.h:238:20: error: no members matching ‘std::vector, BlackDragonEngine::SimpleMapSquare>::_Base {aka std::_Vector_base, BlackDragonEngine::SimpleMapSquare>}::_M_get_Tp_allocator’ in ‘std::vector, BlackDragonEngine::SimpleMapSquare>::_Base {aka struct std::_Vector_base, BlackDragonEngine::SimpleMapSquare>}’ In file included from src/Headers/BlackDragonEngine/TileMap.h:70:0, from src/Headers/Danmaku/DanmakuGame.h:6, from src/Danmaku/DanmakuGame.cpp:1: src/Headers/BlackDragonEngine/Inline/TileMap.inl: In member function ‘void BlackDragonEngine::TileMap::Draw(sf::RenderTarget&)’: src/Headers/BlackDragonEngine/Inline/TileMap.inl:42:25: error: ‘const class std::vector, BlackDragonEngine::SimpleMapSquare>’ has no member named ‘begin’ src/Headers/BlackDragonEngine/Inline/TileMap.inl:42:48: error: ‘const class std::vector, BlackDragonEngine::SimpleMapSquare>’ has no member named ‘end’ src/Headers/BlackDragonEngine/Inline/TileMap.inl:71:38: error: no matching function for call to ‘sf::RenderTarget::draw(sf::VertexArray&, const sf::Texture&)’ src/Headers/BlackDragonEngine/Inline/TileMap.inl:71:38: note: candidates are: In file included from /usr/local/include/SFML/Graphics/RenderTexture.hpp:33:0, from /usr/local/include/SFML/Graphics.hpp:39, from src/Headers/BlackDragonEngine/Input.h:5, from src/Headers/Danmaku/DanmakuGame.h:2, from src/Danmaku/DanmakuGame.cpp:1: /usr/local/include/SFML/Graphics/RenderTarget.hpp:186:10: note: void sf::RenderTarget::draw(const sf::Drawable&, const sf::RenderStates&) /usr/local/include/SFML/Graphics/RenderTarget.hpp:186:10: note: no known conversion for argument 2 from ‘const sf::Texture’ to ‘const sf::RenderStates&’ /usr/local/include/SFML/Graphics/RenderTarget.hpp:197:10: note: void sf::RenderTarget::draw(const sf::Vertex*, unsigned int, sf::PrimitiveType, const sf::RenderStates&) /usr/local/include/SFML/Graphics/RenderTarget.hpp:197:10: note: candidate expects 4 arguments, 2 provided In file included from src/Headers/BlackDragonEngine/TileMap.h:70:0, from src/Headers/Danmaku/DanmakuGame.h:6, from src/Danmaku/DanmakuGame.cpp:1: src/Headers/BlackDragonEngine/Inline/TileMap.inl: At global scope: src/Headers/BlackDragonEngine/Inline/TileMap.inl:204:6: error: prototype for ‘void BlackDragonEngine::TileMap::SetTileAtCell(const Vector2i&, size_t)’ does not match any in class ‘BlackDragonEngine::TileMap’ In file included from src/Headers/Danmaku/DanmakuGame.h:6:0, from src/Danmaku/DanmakuGame.cpp:1: src/Headers/BlackDragonEngine/TileMap.h:46:8: error: candidate is: void BlackDragonEngine::TileMap::SetTileAtCell(const Vector2i&, int) In file included from src/Headers/BlackDragonEngine/TileMap.h:70:0, from src/Headers/Danmaku/DanmakuGame.h:6, from src/Danmaku/DanmakuGame.cpp:1: src/Headers/BlackDragonEngine/Inline/TileMap.inl:232:10: error: prototype for ‘sf::IntRect& BlackDragonEngine::TileMap::TileSourceRectangle(size_t)’ does not match any in class ‘BlackDragonEngine::TileMap’ In file included from src/Headers/Danmaku/DanmakuGame.h:6:0, from src/Danmaku/DanmakuGame.cpp:1: src/Headers/BlackDragonEngine/TileMap.h:56:12: error: candidate is: sf::IntRect& BlackDragonEngine::TileMap::TileSourceRectangle(int) make[1]: *** [obj/Debug/Danmaku/DanmakuGame.o] Error 1 make: *** [Danmaku] Error 2