如何查找导致忍者链接错误的有问题的库

时间:2018-12-04 19:17:05

标签: linker ninja

当我将外部库与Ninja链接时,出现以下错误,但是如何找出有问题的库呢?

“忍者:进入目录`out / x64 / Debug' [1/3] ninja -t msvc -e environment.x64-../../../third_party/llvm-build/Release+Asserts/bin/lld-link.exe / nologo /OUT:./peerconnection_client .exe /PDB:./peerconnection_client.exe.pdb @。/ peerconnection_client.exe.rsp 失败:peerconnection_client.exe peerconnection_client.exe.pdb 忍者-t msvcvc -e环境.x64-../../../third_party/llvm-build/Release+Asserts/bin/lld-link.exe / nologo /OUT:./peerconnection_client.exe / PDB: ./peerconnection_client.exe.pdb @。/ peerconnection_client.exe.rsp lld-link:错误:/ failifmismatch:检测到不匹配:关键RuntimeLibrary的MTd_StaticDebug和MDd_DynamicDebug 忍者:构建停止:子命令失败。”

0 个答案:

没有答案