[ 1%] Checking the git repository for changes...
[ 1%] Built target check_git
[ 2%] Building CXX object CMakeFiles/tfs.dir/src/items.cpp.o
/home/OT/src/items.cpp:1457:62: error: redefinition of ‘const std::unordered_map<std::__cxx11::basic_string<char>, ItemParseAttributes_t> ItemParseAttributesMap’
1457 | const std::unordered_map<std::string, ItemParseAttributes_t> ItemParseAttributesMap = {
| ^~~~~~~~~~~~~~~~~~~~~~
/home/OT/src/items.cpp:55:62: note: ‘const std::unordered_map<std::__cxx11::basic_string<char>, ItemParseAttributes_t> ItemParseAttributesMap’ previously declared here
55 | const std::unordered_map<std::string, ItemParseAttributes_t> ItemParseAttributesMap = {
| ^~~~~~~~~~~~~~~~~~~~~~
/home/OT/src/items.cpp:1580:52: error: redefinition of ‘const std::unordered_map<std::__cxx11::basic_string<char>, ItemTypes_t> ItemTypesMap’
1580 | const std::unordered_map<std::string, ItemTypes_t> ItemTypesMap = {
| ^~~~~~~~~~~~
/home/OT/src/items.cpp:178:52: note: ‘const std::unordered_map<std::__cxx11::basic_string<char>, ItemTypes_t> ItemTypesMap’ previously declared here
178 | const std::unordered_map<std::string, ItemTypes_t> ItemTypesMap = {
| ^~~~~~~~~~~~
/home/OT/src/items.cpp:1593:52: error: redefinition of ‘const std::unordered_map<std::__cxx11::basic_string<char>, tileflags_t> TileStatesMap’
1593 | const std::unordered_map<std::string, tileflags_t> TileStatesMap = {
| ^~~~~~~~~~~~~
/home/OT/src/items.cpp:191:52: note: ‘const std::unordered_map<std::__cxx11::basic_string<char>, tileflags_t> TileStatesMap’ previously declared here
191 | const std::unordered_map<std::string, tileflags_t> TileStatesMap = {
| ^~~~~~~~~~~~~
/home/OT/src/items.cpp:1603:51: error: redefinition of ‘const std::unordered_map<std::__cxx11::basic_string<char>, RaceType_t> RaceTypesMap’
1603 | const std::unordered_map<std::string, RaceType_t> RaceTypesMap = {
| ^~~~~~~~~~~~
/home/OT/src/items.cpp:201:51: note: ‘const std::unordered_map<std::__cxx11::basic_string<char>, RaceType_t> RaceTypesMap’ previously declared here
201 | const std::unordered_map<std::string, RaceType_t> RaceTypesMap = {
| ^~~~~~~~~~~~
/home/OT/src/items.cpp:1611:53: error: redefinition of ‘const std::unordered_map<std::__cxx11::basic_string<char>, WeaponType_t> WeaponTypesMap’
1611 | const std::unordered_map<std::string, WeaponType_t> WeaponTypesMap = {
| ^~~~~~~~~~~~~~
/home/OT/src/items.cpp:209:53: note: ‘const std::unordered_map<std::__cxx11::basic_string<char>, WeaponType_t> WeaponTypesMap’ previously declared here
209 | const std::unordered_map<std::string, WeaponType_t> WeaponTypesMap = {
| ^~~~~~~~~~~~~~
/home/OT/src/items.cpp:1621:53: error: redefinition of ‘const std::unordered_map<std::__cxx11::basic_string<char>, FluidTypes_t> FluidTypesMap’
1621 | const std::unordered_map<std::string, FluidTypes_t> FluidTypesMap = {
| ^~~~~~~~~~~~~
/home/OT/src/items.cpp:219:53: note: ‘const std::unordered_map<std::__cxx11::basic_string<char>, FluidTypes_t> FluidTypesMap’ previously declared here
219 | const std::unordered_map<std::string, FluidTypes_t> FluidTypesMap = {
| ^~~~~~~~~~~~~
/home/OT/src/items.cpp:1643:1: error: redefinition of ‘Items::Items()’
1643 | Items::Items()
| ^~~~~
/home/OT/src/items.cpp:241:1: note: ‘Items::Items()’ previously defined here
241 | Items::Items()
| ^~~~~
/home/OT/src/items.cpp:1649:6: error: redefinition of ‘void Items::clear()’
1649 | void Items::clear()
| ^~~~~
/home/OT/src/items.cpp:247:6: note: ‘void Items::clear()’ previously defined here
247 | void Items::clear()
| ^~~~~
/home/OT/src/items.cpp:1657:6: error: redefinition of ‘bool Items::reload()’
1657 | bool Items::reload()
| ^~~~~
/home/OT/src/items.cpp:255:6: note: ‘bool Items::reload()’ previously defined here
255 | bool Items::reload()
| ^~~~~
/home/OT/src/items.cpp:1672:16: error: conflicting declaration ‘constexpr const auto OTBI’
1672 | constexpr auto OTBI = OTB::Identifier{{'O','T', 'B', 'I'}};
| ^~~~
/home/OT/src/items.cpp:270:16: note: previous declaration as ‘constexpr const std::array<char, 4> OTBI’
270 | constexpr auto OTBI = OTB::Identifier{{'O','T', 'B', 'I'}};
| ^~~~
/home/OT/src/items.cpp:1675:6: error: redefinition of ‘bool Items::loadFromOtb(const string&)’
1675 | bool Items::loadFromOtb(const std::string& file)
| ^~~~~
/home/OT/src/items.cpp:272:6: note: ‘bool Items::loadFromOtb(const string&)’ previously defined here
272 | bool Items::loadFromOtb(const std::string& file)
| ^~~~~
/home/OT/src/items.cpp:1920:6: error: redefinition of ‘bool Items::loadFromXml()’
1920 | bool Items::loadFromXml()
| ^~~~~
/home/OT/src/items.cpp:501:6: note: ‘bool Items::loadFromXml()’ previously defined here
501 | bool Items::loadFromXml()
| ^~~~~
/home/OT/src/items.cpp:1959:6: error: redefinition of ‘void Items::buildInventoryList()’
1959 | void Items::buildInventoryList()
| ^~~~~
/home/OT/src/items.cpp:540:6: note: ‘void Items::buildInventoryList()’ previously defined here
540 | void Items::buildInventoryList()
| ^~~~~
/home/OT/src/items.cpp:1981:6: error: redefinition of ‘void Items::parseItemNode(const pugi::xml_node&, uint16_t)’
1981 | void Items::parseItemNode(const pugi::xml_node& itemNode, uint16_t id)
| ^~~~~
/home/OT/src/items.cpp:562:6: note: ‘void Items::parseItemNode(const pugi::xml_node&, uint16_t)’ previously defined here
562 | void Items::parseItemNode(const pugi::xml_node& itemNode, uint16_t id)
| ^~~~~
/home/OT/src/items.cpp:2825:11: error: redefinition of ‘ItemType& Items::getItemType(size_t)’
2825 | ItemType& Items::getItemType(size_t id)
| ^~~~~
/home/OT/src/items.cpp:1411:11: note: ‘ItemType& Items::getItemType(size_t)’ previously defined here
1411 | ItemType& Items::getItemType(size_t id)
| ^~~~~
/home/OT/src/items.cpp:2833:17: error: redefinition of ‘const ItemType& Items::getItemType(size_t) const’
2833 | const ItemType& Items::getItemType(size_t id) const
| ^~~~~
/home/OT/src/items.cpp:1419:17: note: ‘const ItemType& Items::getItemType(size_t) const’ previously defined here
1419 | const ItemType& Items::getItemType(size_t id) const
| ^~~~~
/home/OT/src/items.cpp:2841:17: error: redefinition of ‘const ItemType& Items::getItemIdByClientId(uint16_t) const’
2841 | const ItemType& Items::getItemIdByClientId(uint16_t spriteId) const
| ^~~~~
/home/OT/src/items.cpp:1427:17: note: ‘const ItemType& Items::getItemIdByClientId(uint16_t) const’ previously defined here
1427 | const ItemType& Items::getItemIdByClientId(uint16_t spriteId) const
| ^~~~~
/home/OT/src/items.cpp:2851:10: error: redefinition of ‘uint16_t Items::getItemIdByName(const string&)’
2851 | uint16_t Items::getItemIdByName(const std::string& name)
| ^~~~~
/home/OT/src/items.cpp:1437:10: note: ‘uint16_t Items::getItemIdByName(const string&)’ previously defined here
1437 | uint16_t Items::getItemIdByName(const std::string& name)
| ^~~~~
make[2]: *** [CMakeFiles/tfs.dir/build.make:608: CMakeFiles/tfs.dir/src/items.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:144: CMakeFiles/tfs.dir/all] Error 2
make: *** [Makefile:103: all] Error 2