weidai11 / cryptopp

free C++ class library of cryptographic schemes
https://cryptopp.com
Other
4.67k stars 1.47k forks source link

Anyone had success compiling the library with clang-cl? #1192

Closed ValeV008 closed 1 year ago

ValeV008 commented 1 year ago

On wiki it says that on Windows, clang is not officially supported (source). Still, I am curious if there are some unofficial ways of making it compilable with clang-cl?

Thanks.

ValeV008 commented 1 year ago

For future generations, seem like adding "#define CRYPTOPP_DISABLE_ASM 1" to file config.h seems to do the trick. Don't forget to test it.

noloader commented 1 year ago

Please ask questions on the mailing list.

vovus commented 4 months ago

the way i have done it with vcpkg, self-tests all passed - https://github.com/microsoft/vcpkg/issues/37227