- [ 18%] Building CXX object src/server/database/CMakeFiles/database.dir/Database/Implementation/LoginDatabase.cpp.o
- [ 18%] Building CXX object src/server/database/CMakeFiles/database.dir/Database/Implementation/LogsDatabase.cpp.o
- [ 18%] Building CXX object src/server/database/CMakeFiles/database.dir/Database/Implementation/WorldDatabase.cpp.o
- [ 18%] Building CXX object src/server/database/CMakeFiles/database.dir/Logging/AppenderDB.cpp.o
- [ 18%] Building CXX object src/server/database/CMakeFiles/database.dir/Updater/DBUpdater.cpp.o
- [ 19%] Building CXX object src/server/database/CMakeFiles/database.dir/Updater/UpdateFetcher.cpp.o
- [ 19%] Linking CXX static library libdatabase.a
- [ 19%] Built target database
- [ 19%] Generating CXX prefix source src/server/shared/cotire/shared_CXX_prefix.cxx
- [ 19%] Generating CXX prefix header src/server/shared/cotire/shared_CXX_prefix.hxx
- [ 19%] Building CXX precompiled header src/server/shared/cotire/shared_CXX_prefix.hxx.gch
- Scanning dependencies of target shared
- [ 19%] Building CXX object src/server/shared/CMakeFiles/shared.dir/Packets/ByteBuffer.cpp.o
- [ 20%] Building CXX object src/server/shared/CMakeFiles/shared.dir/DataStores/DBCDatabaseLoader.cpp.o
- [ 20%] Building CXX object src/server/shared/CMakeFiles/shared.dir/DataStores/DBCStore.cpp.o
- [ 20%] Building CXX object src/server/shared/CMakeFiles/shared.dir/Realm/Realm.cpp.o
- [ 20%] Building CXX object src/server/shared/CMakeFiles/shared.dir/Realm/RealmList.cpp.o
- [ 20%] Linking CXX static library libshared.a
- [ 20%] Built target shared
- [ 20%] Generating CXX prefix source src/server/authserver/cotire/authserver_CXX_prefix.cxx
- [ 20%] Generating CXX prefix source src/server/game/cotire/game_CXX_prefix.cxx
- [ 21%] Generating CXX prefix source src/server/scripts/cotire/scripts_CXX_prefix.cxx
- [ 21%] Generating CXX prefix header src/server/game/cotire/game_CXX_prefix.hxx
- [ 21%] Generating CXX prefix header src/server/authserver/cotire/authserver_CXX_prefix.hxx
- [ 21%] Generating CXX prefix header src/server/scripts/cotire/scripts_CXX_prefix.hxx
- [ 22%] Building CXX precompiled header src/server/game/cotire/game_CXX_prefix.hxx.gch
- [ 23%] Building CXX precompiled header src/server/authserver/cotire/authserver_CXX_prefix.hxx.gch
- [ 23%] Building CXX precompiled header src/server/scripts/cotire/scripts_CXX_prefix.hxx.gch
- In file included from /home/grad/tbc/src/server/game/Entities/Item/Item.h:5,
- from /home/grad/tbc/src/server/game/DataStores/DBCStores.h:7,
- from /home/grad/tbc/src/server/game/PrecompiledHeaders/gamePCH.h:10,
- from /home/grad/tbc/build/src/server/game/cotire/game_CXX_prefix.cxx:4,
- from /home/grad/tbc/build/src/server/game/cotire/game_CXX_prefix.hxx:4:
- /home/grad/tbc/src/server/game/Entities/Object/Object.h: In member function ‘void WorldObject::VisitNearbyGridObject(const float&, NOTIFIER&) const’:
- /home/grad/tbc/src/server/game/Entities/Object/Object.h:649:136: error: ‘x’ was not declared in this scope
- 649 | template<class NOTIFIER> void VisitNearbyGridObject(float const& radius, NOTIFIER& notifier) const { if (IsInWorld()) getNGrid(x, y)->VisitGrid(GetPositionX(), GetPositionY(), radius, notifier); }
- | ^
- /home/grad/tbc/src/server/game/Entities/Object/Object.h:649:139: error: ‘y’ was not declared in this scope; did you mean ‘yn’?
- 649 | template<class NOTIFIER> void VisitNearbyGridObject(float const& radius, NOTIFIER& notifier) const { if (IsInWorld()) getNGrid(x, y)->VisitGrid(GetPositionX(), GetPositionY(), radius, notifier); }
- | ^
- | yn
- /home/grad/tbc/src/server/game/Entities/Object/Object.h:649:127: error: there are no arguments to ‘getNGrid’ that depend on a template parameter, so a declaration of ‘getNGrid’ must be available [-fpermissive]
- 649 | template<class NOTIFIER> void VisitNearbyGridObject(float const& radius, NOTIFIER& notifier) const { if (IsInWorld()) getNGrid(x, y)->VisitGrid(GetPositionX(), GetPositionY(), radius, notifier); }
- | ^~~~~~~~
- /home/grad/tbc/src/server/game/Entities/Object/Object.h:649:127: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
- /home/grad/tbc/src/server/game/Entities/Object/Object.h: In member function ‘void WorldObject::VisitNearbyWorldObject(const float&, NOTIFIER&) const’:
- /home/grad/tbc/src/server/game/Entities/Object/Object.h:650:138: error: ‘class Map’ has no member named ‘VisitWorld’; did you mean ‘VisitAll’?
- 650 | template<class NOTIFIER> void VisitNearbyWorldObject(float const& radius, NOTIFIER& notifier) const { if (IsInWorld()) GetMap()->VisitWorld(GetPositionX(), GetPositionY(), radius, notifier); }
- | ^~~~~~~~~~
- | VisitAll
- In file included from /home/grad/tbc/src/server/game/Entities/Unit/Unit.h:5,
- from /home/grad/tbc/src/server/game/Entities/Creature/Creature.h:6,
- from /home/grad/tbc/src/server/game/Globals/ObjectMgr.h:5,
- from /home/grad/tbc/src/server/game/Scripting/ScriptMgr.h:12,
- from /home/grad/tbc/src/server/scripts/ScriptPCH.h:9,
- from /home/grad/tbc/build/src/server/scripts/cotire/scripts_CXX_prefix.cxx:4,
- from /home/grad/tbc/build/src/server/scripts/cotire/scripts_CXX_prefix.hxx:4:
- /home/grad/tbc/src/server/game/Entities/Object/Object.h: In member function ‘void WorldObject::VisitNearbyGridObject(const float&, NOTIFIER&) const’:
- /home/grad/tbc/src/server/game/Entities/Object/Object.h:649:136: error: ‘x’ was not declared in this scope
- 649 | template<class NOTIFIER> void VisitNearbyGridObject(float const& radius, NOTIFIER& notifier) const { if (IsInWorld()) getNGrid(x, y)->VisitGrid(GetPositionX(), GetPositionY(), radius, notifier); }
- | ^
- /home/grad/tbc/src/server/game/Entities/Object/Object.h:649:139: error: ‘y’ was not declared in this scope; did you mean ‘yn’?
- 649 | template<class NOTIFIER> void VisitNearbyGridObject(float const& radius, NOTIFIER& notifier) const { if (IsInWorld()) getNGrid(x, y)->VisitGrid(GetPositionX(), GetPositionY(), radius, notifier); }
- | ^
- | yn
- /home/grad/tbc/src/server/game/Entities/Object/Object.h:649:127: error: there are no arguments to ‘getNGrid’ that depend on a template parameter, so a declaration of ‘getNGrid’ must be available [-fpermissive]
- 649 | template<class NOTIFIER> void VisitNearbyGridObject(float const& radius, NOTIFIER& notifier) const { if (IsInWorld()) getNGrid(x, y)->VisitGrid(GetPositionX(), GetPositionY(), radius, notifier); }
- | ^~~~~~~~
- /home/grad/tbc/src/server/game/Entities/Object/Object.h:649:127: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
- /home/grad/tbc/src/server/game/Entities/Object/Object.h: In member function ‘void WorldObject::VisitNearbyWorldObject(const float&, NOTIFIER&) const’:
- /home/grad/tbc/src/server/game/Entities/Object/Object.h:650:138: error: ‘class Map’ has no member named ‘VisitWorld’; did you mean ‘VisitAll’?
- 650 | template<class NOTIFIER> void VisitNearbyWorldObject(float const& radius, NOTIFIER& notifier) const { if (IsInWorld()) GetMap()->VisitWorld(GetPositionX(), GetPositionY(), radius, notifier); }
- | ^~~~~~~~~~
- | VisitAll
- Scanning dependencies of target authserver
- [ 23%] Building CXX object src/server/authserver/CMakeFiles/authserver.dir/Main.cpp.o
- [ 23%] Building CXX object src/server/authserver/CMakeFiles/authserver.dir/Authentication/AuthCodes.cpp.o
- [ 23%] Building CXX object src/server/authserver/CMakeFiles/authserver.dir/Authentication/TOTP.cpp.o
- [ 24%] Building CXX object src/server/authserver/CMakeFiles/authserver.dir/Server/AuthSession.cpp.o
- cc1plus: warning: /home/grad/tbc/build/src/server/authserver/cotire/authserver_CXX_prefix.hxx.gch: not used because `BOOST_ALL_NO_LIB' is defined [-Winvalid-pch]
- cc1plus: warning: /home/grad/tbc/build/src/server/authserver/cotire/authserver_CXX_prefix.hxx.gch: not used because `BOOST_ALL_NO_LIB' is defined [-Winvalid-pch]
- cc1plus: warning: /home/grad/tbc/build/src/server/authserver/cotire/authserver_CXX_prefix.hxx.gch: not used because `BOOST_ALL_NO_LIB' is defined [-Winvalid-pch]
- cc1plus: warning: /home/grad/tbc/build/src/server/authserver/cotire/authserver_CXX_prefix.hxx.gch: not used because `BOOST_ALL_NO_LIB' is defined [-Winvalid-pch]
- [ 24%] Linking CXX executable authserver
- CMake Error at /home/grad/tbc/dep/cotire/CMake/cotire.cmake:1990 (message):
- cotire: error 1 precompiling
- /home/grad/tbc/build/src/server/game/cotire/game_CXX_prefix.hxx.
- Call Stack (most recent call first):
- /home/grad/tbc/dep/cotire/CMake/cotire.cmake:3694 (cotire_precompile_prefix_header)
- make[2]: *** [src/server/game/CMakeFiles/game.dir/build.make:83: src/server/game/cotire/game_CXX_prefix.hxx.gch] Ошибка 1
- make[1]: *** [CMakeFiles/Makefile2:1107: src/server/game/CMakeFiles/game.dir/all] Ошибка 2
- make[1]: *** Ожидание завершения заданий…
- CMake Error at /home/grad/tbc/dep/cotire/CMake/cotire.cmake:1990 (message):
- cotire: error 1 precompiling
- /home/grad/tbc/build/src/server/scripts/cotire/scripts_CXX_prefix.hxx.
- Call Stack (most recent call first):
- /home/grad/tbc/dep/cotire/CMake/cotire.cmake:3694 (cotire_precompile_prefix_header)
- make[2]: *** [src/server/scripts/CMakeFiles/scripts.dir/build.make:83: src/server/scripts/cotire/scripts_CXX_prefix.hxx.gch] Ошибка 1
- make[1]: *** [CMakeFiles/Makefile2:1166: src/server/scripts/CMakeFiles/scripts.dir/all] Ошибка 2
- [ 24%] Built target authserver
- make: *** [Makefile:149: all] Ошибка 2