查找运行时库不匹配 [英] Find Runtime Library mismatch
问题描述
嗨。
我有一个使用多个库的项目。在链接时,我遇到了库中运行时库选项不匹配的问题。
i have a project that uses several libraries. At linking time I'm having problems regarding some mismatch of Runtime Library option in the libraries.
如何判断每个库的编译方式(MD或MT)?
How can I tell how every library was compiled (MD or MT)?
谢谢
推荐答案
您好。
Hi.
我有一个使用多个库的项目。在链接时,我遇到了库中运行时库选项不匹配的问题。
i have a project that uses several libraries. At linking time I'm having problems regarding some mismatch of Runtime Library option in the libraries.
如何判断每个库的编译方式(MD或MT)?
How can I tell how every library was compiled (MD or MT)?
谢谢
您可以在dll上运行dumpbin / imports。 检查结果列表以查看是否有任何运行时LIBEries。如果是这样,它是用MD编译的。 如果不是,那么MT。
You can run dumpbin /imports on the dll. Examine the resulting list to see if any of the Runtime LIbraries are among them. If so, it was compiled with MD. If non, then MT.
也许我回答得太快。 你在谈论静态库吗?
Maybe I answered too quickly. Are you talking about static libraries?
这篇关于查找运行时库不匹配的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!