miracl / MIRACL

MIRACL Cryptographic SDK: Multiprecision Integer and Rational Arithmetic Cryptographic Library is a C software library that is widely regarded by developers as the gold standard open source SDK for elliptic curve cryptography (ECC).
https://miracl.com
645 stars 242 forks source link

Failed to compile win64 #114

Open 7C00-lee opened 1 year ago

7C00-lee commented 1 year ago

Hello, I used your project for the first time. I'm sorry to disturb you. I hope you can solve my problem. Although this may be relatively simple, I have studied for a long time and have not come up with a solution. I want to compile the win64 library. After importing it into my CPP project, the following error occurred at runtime. Do you know what might cause this error? How should we solve it? Thank you again. We look forward to your answer.

1>------ 已启动生成: 项目: Demo, 配置: Release x64 ------ 1>LINK : warning LNK4098: 默认库“MSVCRT”与其他库的使用冲突;请使用 /NODEFAULTLIB:library 1>miracl-lib-win64.lib(mrarth2.obj) : error LNK2001: 无法解析的外部符号 muldiv 1>miracl-lib-win64.lib(mrarth2.obj) : error LNK2001: 无法解析的外部符号 muldvd 1>miracl-lib-win64.lib(mrarth2.obj) : error LNK2001: 无法解析的外部符号 muldvm 1>miracl-lib-win64.lib(mrarth2.obj) : error LNK2001: 无法解析的外部符号 muldvd2 1>D:\Code\SM9Project\x64\Release\Demo.exe : fatal error LNK1120: 4 个无法解析的外部命令 1>已完成生成项目“Demo.vcxproj”的操作 - 失败。 ========== 生成: 成功 0 个,失败 1 个,最新 0 个,跳过 0 个 =========