开发者

How can I build the 64-bit version of the Crypto++ dll?

开发者 https://www.devze.com 2023-02-04 01:31 出处:网络
I\'m currently working on implementing the crypto++ libs into a c# app. It\'s all working fine in 32 bit.

I'm currently working on implementing the crypto++ libs into a c# app. It's all working fine in 32 bit. However when I tried to build the c++ DLL in 64 bit, I got this error:

Error 1 error PRJ0019: A tool returned an error code from "Performing Custom Build Step" cryptopp cryptopp

开发者_开发百科I then changed the project settings to build in Unicode from the default multibyte, and got it to build with no errors. However, it will then fail the safety check when using the GetPowerUpSelfTestStatus().

I've googled the heck out of this, and apparently this is not an uncommon problem. However no one seems to have found a solution, or at least hasn't shared it.

What can I do?


The problem was with the custom build step options under the project preferences. Just change the leading output directory folder from 'Win32' to 'x64' with x64 as your target platform. =/

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号