- -- Configuring done
- -- Generating done
- -- Build files have been written to: /home/grad/TBC_New/build
- [ 2%] Built target Recast
- [ 2%] Built target Detour
- --
- Could not find a proper repository signature (hash) - you may need to pull tags with git fetch -t
- Continuing anyway - note that the versionstring will be set to "unknown 1970-01-01 00:00:00 (Archived)"
- [ 5%] Built target gsoap
- [ 8%] Built target g3dlib
- [ 8%] Built target revision_data.h
- [ 9%] Built target fmt
- Scanning dependencies of target common
- [ 9%] Building CXX object src/common/CMakeFiles/common.dir/Collision/Models/GameObjectModel.cpp.o
- [ 9%] Building CXX object src/common/CMakeFiles/common.dir/Collision/DynamicTree.cpp.o
- [ 9%] Building CXX object src/common/CMakeFiles/common.dir/Logging/AppenderFile.cpp.o
- [ 9%] Building CXX object src/common/CMakeFiles/common.dir/Collision/Management/VMapManager2.cpp.o
- [ 9%] Building CXX object src/common/CMakeFiles/common.dir/Collision/Management/MMapManager.cpp.o
- [ 9%] Building CXX object src/common/CMakeFiles/common.dir/Collision/Maps/MapTree.cpp.o
- [ 9%] Building CXX object src/common/CMakeFiles/common.dir/Utilities/StartProcess.cpp.o
- [ 9%] Building CXX object src/common/CMakeFiles/common.dir/Configuration/Config.cpp.o
- [ 9%] Building CXX object src/common/CMakeFiles/common.dir/Cryptography/Authentication/AuthCrypt.cpp.o
- [ 9%] Building CXX object src/common/CMakeFiles/common.dir/Logging/Log.cpp.o
- [ 9%] Linking CXX static library libcommon.a
- [ 14%] Built target common
- [ 14%] Building CXX precompiled header src/server/database/cotire/database_CXX_prefix.hxx.gch
- Scanning dependencies of target database
- [ 14%] Building CXX object src/server/database/CMakeFiles/database.dir/Database/DatabaseLoader.cpp.o
- [ 14%] Building CXX object src/server/database/CMakeFiles/database.dir/Database/MySQLThreading.cpp.o
- [ 14%] Building CXX object src/server/database/CMakeFiles/database.dir/Database/PreparedStatement.cpp.o
- [ 14%] Building CXX object src/server/database/CMakeFiles/database.dir/Database/Field.cpp.o
- [ 14%] Building CXX object src/server/database/CMakeFiles/database.dir/Database/AdhocStatement.cpp.o
- [ 14%] Building CXX object src/server/database/CMakeFiles/database.dir/Database/DatabaseEnv.cpp.o
- [ 14%] Building CXX object src/server/database/CMakeFiles/database.dir/Database/DatabaseWorker.cpp.o
- [ 15%] Building CXX object src/server/database/CMakeFiles/database.dir/Database/DatabaseWorkerPool.cpp.o
- [ 15%] Building CXX object src/server/database/CMakeFiles/database.dir/Database/MySQLConnection.cpp.o
- [ 15%] Building CXX object src/server/database/CMakeFiles/database.dir/Database/QueryCallback.cpp.o
- [ 15%] Building CXX object src/server/database/CMakeFiles/database.dir/Database/QueryCallbackProcessor.cpp.o
- [ 15%] Building CXX object src/server/database/CMakeFiles/database.dir/Database/QueryHolder.cpp.o
- [ 15%] Building CXX object src/server/database/CMakeFiles/database.dir/Database/QueryResult.cpp.o
- [ 16%] Building CXX object src/server/database/CMakeFiles/database.dir/Database/Transaction.cpp.o
- [ 16%] Building CXX object src/server/database/CMakeFiles/database.dir/Database/Implementation/CharacterDatabase.cpp.o
- [ 16%] Building CXX object src/server/database/CMakeFiles/database.dir/Database/Implementation/LoginDatabase.cpp.o
- [ 16%] Building CXX object src/server/database/CMakeFiles/database.dir/Database/Implementation/LogsDatabase.cpp.o
- [ 16%] Building CXX object src/server/database/CMakeFiles/database.dir/Database/Implementation/WorldDatabase.cpp.o
- [ 16%] Building CXX object src/server/database/CMakeFiles/database.dir/Logging/AppenderDB.cpp.o
- [ 16%] Building CXX object src/server/database/CMakeFiles/database.dir/Updater/DBUpdater.cpp.o
- [ 16%] Building CXX object src/server/database/CMakeFiles/database.dir/Updater/UpdateFetcher.cpp.o
- [ 17%] Linking CXX static library libdatabase.a
- [ 17%] Built target database
- Scanning dependencies of target shared
- [ 17%] Building CXX object src/server/shared/CMakeFiles/shared.dir/Packets/ByteBuffer.cpp.o
- [ 17%] Building CXX object src/server/shared/CMakeFiles/shared.dir/Realm/Realm.cpp.o
- [ 17%] Building CXX object src/server/shared/CMakeFiles/shared.dir/DataStores/DBCDatabaseLoader.cpp.o
- [ 17%] Building CXX object src/server/shared/CMakeFiles/shared.dir/Realm/RealmList.cpp.o
- In file included from /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:19:
- /home/grad/TBC_New/src/server/shared/Realm/RealmList.h:70:34: error: ‘deadline_timer’ is not a member of ‘boost::asio’
- 70 | std::unique_ptr<boost::asio::deadline_timer> _updateTimer;
- | ^~~~~~~~~~~~~~
- /home/grad/TBC_New/src/server/shared/Realm/RealmList.h:70:48: error: template argument 1 is invalid
- 70 | std::unique_ptr<boost::asio::deadline_timer> _updateTimer;
- | ^
- /home/grad/TBC_New/src/server/shared/Realm/RealmList.h:70:48: error: template argument 2 is invalid
- /home/grad/TBC_New/src/server/shared/Realm/RealmList.h:71:38: error: ‘tcp_resolver’ is not a member of ‘boost::asio::ip’
- 71 | std::unique_ptr<boost::asio::ip::tcp_resolver> _resolver;
- | ^~~~~~~~~~~~
- /home/grad/TBC_New/src/server/shared/Realm/RealmList.h:71:50: error: template argument 1 is invalid
- 71 | std::unique_ptr<boost::asio::ip::tcp_resolver> _resolver;
- | ^
- /home/grad/TBC_New/src/server/shared/Realm/RealmList.h:71:50: error: template argument 2 is invalid
- /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp: In member function ‘void RealmList::Initialize(Trinity::Asio::IoContext&, uint32)’:
- /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:46:69: error: cannot convert ‘std::_MakeUniq<boost::asio::basic_deadline_timer<boost::posix_time::ptime> >::__single_object’ {aka ‘std::unique_ptr<boost::asio::basic_deadline_timer<boost::posix_time::ptime>, std::default_delete<boost::asio::basic_deadline_timer<boost::posix_time::ptime> > >’} to ‘int’ in assignment
- 46 | _updateTimer = Trinity::make_unique<boost::asio::deadline_timer>(ioContext);
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
- | |
- | std::_MakeUniq<boost::asio::basic_deadline_timer<boost::posix_time::ptime> >::__single_object {aka std::unique_ptr<boost::asio::basic_deadline_timer<boost::posix_time::ptime>, std::default_delete<boost::asio::basic_deadline_timer<boost::posix_time::ptime> > >}
- /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:47:69: error: cannot convert ‘std::_MakeUniq<boost::asio::ip::basic_resolver<boost::asio::ip::tcp> >::__single_object’ {aka ‘std::unique_ptr<boost::asio::ip::basic_resolver<boost::asio::ip::tcp>, std::default_delete<boost::asio::ip::basic_resolver<boost::asio::ip::tcp> > >’} to ‘int’ in assignment
- 47 | _resolver = Trinity::make_unique<boost::asio::ip::tcp::resolver>(ioContext);
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
- | |
- | std::_MakeUniq<boost::asio::ip::basic_resolver<boost::asio::ip::tcp> >::__single_object {aka std::unique_ptr<boost::asio::ip::basic_resolver<boost::asio::ip::tcp>, std::default_delete<boost::asio::ip::basic_resolver<boost::asio::ip::tcp> > >}
- /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp: In member function ‘void RealmList::Close()’:
- /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:55:17: error: base operand of ‘->’ is not a pointer
- 55 | _updateTimer->cancel();
- | ^~
- /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp: In member function ‘void RealmList::UpdateRealms(const boost::system::error_code&)’:
- /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:112:98: error: invalid type argument of unary ‘*’ (have ‘int’)
- 112 | Optional<boost::asio::ip::tcp::endpoint> externalAddress = Trinity::Net::Resolve(*_resolver, boost::asio::ip::tcp::v4(), externalAddressString, "");
- | ^~~~~~~~~~
- /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:119:95: error: invalid type argument of unary ‘*’ (have ‘int’)
- 119 | Optional<boost::asio::ip::tcp::endpoint> localAddress = Trinity::Net::Resolve(*_resolver, boost::asio::ip::tcp::v4(), localAddressString, "");
- | ^~~~~~~~~~
- /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:126:95: error: invalid type argument of unary ‘*’ (have ‘int’)
- 126 | Optional<boost::asio::ip::tcp::endpoint> localSubmask = Trinity::Net::Resolve(*_resolver, boost::asio::ip::tcp::v4(), localSubmaskString, "");
- | ^~~~~~~~~~
- /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:170:21: error: base operand of ‘->’ is not a pointer
- 170 | _updateTimer->expires_from_now(boost::posix_time::seconds(_updateInterval));
- | ^~
- /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:171:21: error: base operand of ‘->’ is not a pointer
- 171 | _updateTimer->async_wait(std::bind(&RealmList::UpdateRealms, this, std::placeholders::_1));
- | ^~
- make[2]: *** [src/server/shared/CMakeFiles/shared.dir/build.make:153: src/server/shared/CMakeFiles/shared.dir/Realm/RealmList.cpp.o] Ошибка 1
- make[2]: *** Ожидание завершения заданий…
- make[1]: *** [CMakeFiles/Makefile2:1049: src/server/shared/CMakeFiles/shared.dir/all] Ошибка 2
- make: *** [Makefile:149: all] Ошибка 2
- grad@mh001:~/TBC_New/build$