Errori compilare sursa game Problemă rezolvată

În cazul în care aveţi o nelămurire postaţi aici, de asemenea este locul unde puteţi găsi posibile rezolvări la problemele dvs.
Avatar utilizator
[Skyzo]
Nivel 2

Nivel 2
Mesaje: 288
Membru din: 15 Noi 2017, 19:07
Server: Metin2......
Regat: Chunjo
Aprecieri: 65  
Mulţumiri: 167  
  Rezolvări prob.: 1
Medalii

*Problemă/Întrebare: Salut comunitate just4metin! Nu am vrut să recurg la crearea unui topic, dar în ultimele 3 zile am avut dificultăți cu compilarea sursei game.
Tipologie server: -
*Resursă folosită: -
*ServerFiles utilizat: Mainline-Release
*Syserr: Errori dupa compilare
Severity Code Description Project Path File Line Suppression State Tool Details
Error C2589 '(': illegal token on right side of '::' game D:\vcpkg\installed\x86-windows-static\include\boost\pool D:\vcpkg\installed\x86-windows-static\include\boost\pool\pool.hpp 363 CL
Error C3878 syntax error: unexpected token '(' following 'expression' game D:\vcpkg\installed\x86-windows-static\include\boost\pool D:\vcpkg\installed\x86-windows-static\include\boost\pool\pool.hpp 363 CL
Error C2760 syntax error: ')' was unexpected here; expected ';' game D:\vcpkg\installed\x86-windows-static\include\boost\pool D:\vcpkg\installed\x86-windows-static\include\boost\pool\pool.hpp 363 CL
Error C3878 syntax error: unexpected token ')' following 'jump_statement' game D:\vcpkg\installed\x86-windows-static\include\boost\pool D:\vcpkg\installed\x86-windows-static\include\boost\pool\pool.hpp 363 CL
Error C2760 syntax error: ')' was unexpected here; expected 'expression' game D:\vcpkg\installed\x86-windows-static\include\boost\pool D:\vcpkg\installed\x86-windows-static\include\boost\pool\pool.hpp 363 CL
Error C3878 syntax error: unexpected token ')' following 'expression_statement' game D:\vcpkg\installed\x86-windows-static\include\boost\pool D:\vcpkg\installed\x86-windows-static\include\boost\pool\pool.hpp 363 CL
Error C2760 syntax error: ')' was unexpected here; expected ';' game D:\vcpkg\installed\x86-windows-static\include\boost\pool D:\vcpkg\installed\x86-windows-static\include\boost\pool\pool.hpp 363 CL
Error C3878 syntax error: unexpected token ')' following 'expression_statement' game D:\vcpkg\installed\x86-windows-static\include\boost\pool D:\vcpkg\installed\x86-windows-static\include\boost\pool\pool.hpp 363 CL
Error C2280 'std::_Uhash_compare<_Kty,_Hasher,_Keyeq>::_Uhash_compare(const std::_Uhash_compare<_Kty,_Hasher,_Keyeq> &)': attempting to reference a deleted function
with
[
_Kty=VID,
_Hasher=std::hash<VID>,
_Keyeq=std::equal_to<VID>
] game C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\include C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\include\unordered_map 49 CL
Error C2280 'std::_Uhash_compare<_Kty,_Hasher,_Keyeq>::_Uhash_compare(const std::_Uhash_compare<_Kty,_Hasher,_Keyeq> &)': attempting to reference a deleted function
with
[
_Kty=VID,
_Hasher=std::hash<VID>,
_Keyeq=std::equal_to<VID>
] game C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\include C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\include\unordered_map 49 CL
Error C2280 'std::_Uhash_compare<_Kty,_Hasher,_Keyeq>::_Uhash_compare(const std::_Uhash_compare<_Kty,_Hasher,_Keyeq> &)': attempting to reference a deleted function
with
[
_Kty=VID,
_Hasher=std::hash<VID>,
_Keyeq=std::equal_to<VID>
] game C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\include C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\include\unordered_map 49 CL
Error C2280 'std::_Uhash_compare<_Kty,_Hasher,_Keyeq>::_Uhash_compare(const std::_Uhash_compare<_Kty,_Hasher,_Keyeq> &)': attempting to reference a deleted function
with
[
_Kty=VID,
_Hasher=std::hash<VID>,
_Keyeq=std::equal_to<VID>
] game C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\include C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\include\unordered_map 49 CL
Error C2280 'std::_Uhash_compare<_Kty,_Hasher,_Keyeq>::_Uhash_compare(const std::_Uhash_compare<_Kty,_Hasher,_Keyeq> &)': attempting to reference a deleted function
with
[
_Kty=VID,
_Hasher=std::hash<VID>,
_Keyeq=std::equal_to<VID>
] game C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\include C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\include\unordered_map 49 CL
Error C2280 'std::_Uhash_compare<_Kty,_Hasher,_Keyeq>::_Uhash_compare(const std::_Uhash_compare<_Kty,_Hasher,_Keyeq> &)': attempting to reference a deleted function
with
[
_Kty=VID,
_Hasher=std::hash<VID>,
_Keyeq=std::equal_to<VID>
] game C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\include C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\include\unordered_map 49 CL
Error C2280 'std::_Uhash_compare<_Kty,_Hasher,_Keyeq>::_Uhash_compare(const std::_Uhash_compare<_Kty,_Hasher,_Keyeq> &)': attempting to reference a deleted function
with
[
_Kty=VID,
_Hasher=std::hash<VID>,
_Keyeq=std::equal_to<VID>
] game C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\include C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\include\unordered_map 49 CL
Error C2280 'std::_Uhash_compare<_Kty,_Hasher,_Keyeq>::_Uhash_compare(const std::_Uhash_compare<_Kty,_Hasher,_Keyeq> &)': attempting to reference a deleted function
with
[
_Kty=VID,
_Hasher=std::hash<VID>,
_Keyeq=std::equal_to<VID>
] game C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\include C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\include\unordered_map 49 CL
Error C2280 'std::_Uhash_compare<_Kty,_Hasher,_Keyeq>::_Uhash_compare(const std::_Uhash_compare<_Kty,_Hasher,_Keyeq> &)': attempting to reference a deleted function
with
[
_Kty=VID,
_Hasher=std::hash<VID>,
_Keyeq=std::equal_to<VID>
] game C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\include C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\include\unordered_map 49 CL
Error C2280 'std::_Uhash_compare<_Kty,_Hasher,_Keyeq>::_Uhash_compare(const std::_Uhash_compare<_Kty,_Hasher,_Keyeq> &)': attempting to reference a deleted function
with
[
_Kty=VID,
_Hasher=std::hash<VID>,
_Keyeq=std::equal_to<VID>
] game C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\include C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\include\unordered_map 49 CL
Error C2280 'std::_Uhash_compare<_Kty,_Hasher,_Keyeq>::_Uhash_compare(const std::_Uhash_compare<_Kty,_Hasher,_Keyeq> &)': attempting to reference a deleted function
with
[
_Kty=VID,
_Hasher=std::hash<VID>,
_Keyeq=std::equal_to<VID>
] game C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\include C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\include\unordered_map 49 CL
Error C2280 'std::_Uhash_compare<_Kty,_Hasher,_Keyeq>::_Uhash_compare(const std::_Uhash_compare<_Kty,_Hasher,_Keyeq> &)': attempting to reference a deleted function
with
[
_Kty=VID,
_Hasher=std::hash<VID>,
_Keyeq=std::equal_to<VID>
] game C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\include C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\include\unordered_map 49 CL
Error C2280 'std::_Uhash_compare<_Kty,_Hasher,_Keyeq>::_Uhash_compare(const std::_Uhash_compare<_Kty,_Hasher,_Keyeq> &)': attempting to reference a deleted function
with
[
_Kty=VID,
_Hasher=std::hash<VID>,
_Keyeq=std::equal_to<VID>
] game C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\include C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\include\unordered_map 49 CL
Error C2280 'std::_Uhash_compare<_Kty,_Hasher,_Keyeq>::_Uhash_compare(const std::_Uhash_compare<_Kty,_Hasher,_Keyeq> &)': attempting to reference a deleted function
with
[
_Kty=VID,
_Hasher=std::hash<VID>,
_Keyeq=std::equal_to<VID>
] game C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\include C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\include\unordered_map 49 CL
Error C2280 'std::_Uhash_compare<_Kty,_Hasher,_Keyeq>::_Uhash_compare(const std::_Uhash_compare<_Kty,_Hasher,_Keyeq> &)': attempting to reference a deleted function
with
[
_Kty=VID,
_Hasher=std::hash<VID>,
_Keyeq=std::equal_to<VID>
] game C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\include C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\include\unordered_map 49 CL
Error C2280 'std::_Uhash_compare<_Kty,_Hasher,_Keyeq>::_Uhash_compare(const std::_Uhash_compare<_Kty,_Hasher,_Keyeq> &)': attempting to reference a deleted function
with
[
_Kty=VID,
_Hasher=std::hash<VID>,
_Keyeq=std::equal_to<VID>
] game C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\include C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\include\unordered_map 49 CL
Error C2280 'std::_Uhash_compare<_Kty,_Hasher,_Keyeq>::_Uhash_compare(const std::_Uhash_compare<_Kty,_Hasher,_Keyeq> &)': attempting to reference a deleted function
with
[
_Kty=VID,
_Hasher=std::hash<VID>,
_Keyeq=std::equal_to<VID>
] game C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\include C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\include\unordered_map 49 CL
Error C2280 'std::_Uhash_compare<_Kty,_Hasher,_Keyeq>::_Uhash_compare(const std::_Uhash_compare<_Kty,_Hasher,_Keyeq> &)': attempting to reference a deleted function
with
[
_Kty=VID,
_Hasher=std::hash<VID>,
_Keyeq=std::equal_to<VID>
] game C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\include C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\include\unordered_map 49 CL
Poză: -
*Detalii suplimentare: Folosesc sursele mainline luate de pe FreeBSD 9.2 cele din 2013, compilez cu VS2022 Toolset v143 (c++20 c17) pe Windows 11, și în loc să folosesc extern static, folosesc vcpkg. Când compilez libsql, libthecore etc. și db totul funcționează perfect, dar în timpul compilării game, întâmpin aceste erori. Nu am făcut modificări majore în sursă; doar am eliminat sistemul de auction(am verificat cu tutorialul de pe GitHub e scos corect). În loc de boost::unique_ptr, am trecut la std::unique_ptr, și după această schimbare, am comparat fișierele mele cu fișierele altor surse de pe internet in caz de vreo greseala. Dacă poate să mă ajute cineva cu o idei, nu neapărat să furnizeze o soluție completă, aș aprecia chiar și un indiciu care să mă îndrepte într-o direcția că îmi dau eu seama dar am nevoie de un hint 3 days many hours my brain doesn't want to work anymore. ^:)^ ^:)^
„Un intelectual rezolvă problemele. Un geniu le evită.” — Albert Einstein
Afișează semnătura
Avatar utilizator
[Skyzo]
Nivel 2

Nivel 2
Mesaje: 288
Membru din: 15 Noi 2017, 19:07
Server: Metin2......
Regat: Chunjo
Aprecieri: 65  
Mulţumiri: 167  
  Rezolvări prob.: 1
Medalii

T/C Am rezolvat singur, problema era de la niste include cand am scos boost, si am uitat eu sau adaug #undef max in stdafx.h #undef min am pus, de max am uitat. Si la cube ca quick fix am pus asa "bool operator == (const CUBE_VALUE& b) const" idk cat de ok e dar imi compileaza si nu crapa serverul :) , oricum il scot si il pun pe cel renewal.
Apreciez cine s-a uitat , Thank you and happy new year!
„Un intelectual rezolvă problemele. Un geniu le evită.” — Albert Einstein
Afișează semnătura
Răspunde
Răspunsuri
8
Vizualizări
975
Răspunsuri
12
Vizualizări
1327
Răspunsuri
4
Vizualizări
412

Înapoi la “Probleme şi Întrebări”

  • Informaţie
  • Cine este conectat

    Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 7 vizitatori