Problema compilare sinners2

Încuiat
Avatar utilizator
Ionut14
4Metin
4Metin
Mesaje: 14
Membru din: Lun Mar 11, 2024 1:29 pm
Status: Activ
Multumiri acordate: 1

Problema compilare sinners2

Mesaj de Ionut14 »

Tipologie server: 4metin
Resursă folosită: 4metin serverfille sinners2
ServerFiles utilizat: serverfille sinners2
Syserr:
Poză: https://postimg.cc/Xpg3V4gT
Detalii suplimentare: folosesc vs 2022 comunity

LINK : fatal error C1047: The object or library file '..\extern\lib\python27.lib' was created by a different version of
the compiler than other objects like 'obj\x32\Distribute\UserInterface\AccountConnector.obj'; rebuild all objects and
libraries with the same compiler [D:\Sinners2\sinners2_client\build\UserInterface.vcxproj]
LINK : fatal error LNK1257: code generation failed [D:\Sinners2\sinners2_client\build\UserInterface.vcxproj]
Done Building Project "D:\Sinners2\sinners2_client\build\UserInterface.vcxproj" (Rebuild target(s)) -- FAILED.


Build FAILED.

"D:\Sinners2\sinners2_client\build\UserInterface.vcxproj" (Rebuild target) (1) ->
(ClCompile target) ->
D:\Sinners2\sinners2_client\source\client\UserInterface\MarkManager.cpp(101,78): warning C4834: discarding return val
ue of function with [[nodiscard]] attribute [D:\Sinners2\sinners2_client\build\UserInterface.vcxproj]


"D:\Sinners2\sinners2_client\build\UserInterface.vcxproj" (Rebuild target) (1) ->
(Link target) ->
LINK : fatal error C1047: The object or library file '..\extern\lib\python27.lib' was created by a different version
of the compiler than other objects like 'obj\x32\Distribute\UserInterface\AccountConnector.obj'; rebuild all objects an
d libraries with the same compiler [D:\Sinners2\sinners2_client\build\UserInterface.vcxproj]
LINK : fatal error LNK1257: code generation failed [D:\Sinners2\sinners2_client\build\UserInterface.vcxproj]

1 Warning(s)
2 Error(s)

Time Elapsed 00:08:42.67
Press any key to continue . . .
Avatar utilizator
F. Gabriel
Administrator
Administrator
Mesaje: 469
Membru din: Lun Aug 01, 2022 10:23 am
Localitate: Tecuci
Status: Retras
Multumiri acordate: 16
Multumiri primite: 159
Contact:

Re: Problema compilare sinners2

Mesaj de F. Gabriel »

Salutare,
Versiunea de visual studio utilizata pentru build este superioara comparativ cu proiectul.
Incearca sa instalezi VS2022, update 17.0 sau 17.3 cel mult, daca incerci sa compilezi sursa cu 17.8 si proiectul este pe 17.3, nu iti va finaliza procesul de build.
Imagine

Hosting Metin2 by OVINETWORK.RO
Avatar utilizator
Ionut14
4Metin
4Metin
Mesaje: 14
Membru din: Lun Mar 11, 2024 1:29 pm
Status: Activ
Multumiri acordate: 1

Re: Problema compilare sinners2

Mesaj de Ionut14 »

Mulțumesc mult bro poți da tc.
Încuiat