MFC CRT命令链接器问题

发布于 2024-08-11 05:36:48 字数 369 浏览 2 评论 0原文

我确实遇到了此处描述的问题(当尝试将 MFC 添加到我的项目时,我遇到了这些链接器错误): http://support.microsoft.com /?scid=kb%3Ben-us%3B148652&x=8&y=9

但是 - 如果我按照解决方案并输入 nafxcwd.lib; libcmtd库 进入“忽略库”以及“附加依赖项”,然后我会收到

致命错误 LNK1104:无法打开文件“nafxcwd.lib;”

可能是什么问题?谢谢!

I have exactly the problem described here (i'm getting those linker errors when trying to add MFC to my project):
http://support.microsoft.com/?scid=kb%3Ben-us%3B148652&x=8&y=9

however - if I follow the solution and enter
nafxcwd.lib; libcmtd.lib
into 'ignore libraries' as well as 'additional dependencies', then i'll get a

fatal error LNK1104: Cannot open File "nafxcwd.lib;"

what could be the problem? Thanks!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

祁梦 2024-08-18 05:36:48

您是否忘记将这些库添加到对象/库编辑框?或者“附加依赖项”曾经是 Visual Studio 6.0 中的“对象/库模块”?

Did you forget to add these libs to Object/library edit box? Or 'additional dependencies' is what used to be "Object/library modules" in Visual Studio 6.0 ?

笨死的猪 2024-08-18 05:36:48

您应该将“;$(LibraryPath)”添加到项目属性 -> VC++ 目录菜单中的库目录项。

You should add ";$(LibraryPath)" into Project Properties -> VC++ Directories menu Library Directories item.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文