Skip to content

Commit

Permalink
Test fix for MTA Server x64 build error:
Browse files Browse the repository at this point in the history
cryptopp.lib(cpu.obj) : error LNK2019: unresolved external symbol XGETBV64 referenced in function "void __cdecl CryptoPP::DetectX86Features(void)" (?DetectX86Features@CryptoPP@@yaxxz) [D:\a\mtasa-blue\mtasa-blue\Build\Deathmatch.vcxproj]
cryptopp.lib(cpu.obj) : error LNK2019: unresolved external symbol CPUID64 referenced in function "bool __cdecl CryptoPP::CpuId(unsigned int,unsigned int,unsigned int * const)" (?CpuId@CryptoPP@@YA_NIIQEAI@Z) [D:\a\mtasa-blue\mtasa-blue\Build\Deathmatch.vcxproj]
..\Bin\server\x64\deathmatch.dll : fatal error LNK1120: 2 unresolved externals [D:\a\mtasa-blue\mtasa-blue\Build\Deathmatch.vcxproj]

Following 7ba2a4c
Due to weidai11/cryptopp@0432085
  • Loading branch information
Dutchman101 committed Jun 22, 2024
1 parent a39508f commit d491d26
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vendor/cryptopp/premake5.lua
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,8 @@ project "cryptopp"
filter "platforms:x64"
files {
"x64dll.asm",
"x64masm.asm"
"x64masm.asm",
"cpuid64.asm"
}

filter { "system:windows" }
Expand Down

0 comments on commit d491d26

Please sign in to comment.