无法打开文件atls.lib [英] Cannot Open File atls.lib

查看:1274
本文介绍了无法打开文件atls.lib的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的硬盘驱动器中有atls.lib,但是无法将其链接到我的Visual Studio项目中.我知道atls.lib是ATL特定的库文件,并且我具有所有ATL文件/标头/库.但是,我仍然无法链接它们.

I have atls.lib in my hard drive, but I can't link it into my Visual Studio project. I know that atls.lib is an ATL specific library file, and I have all the ATL files/headers/libraries. However, I still can't link them.

LINK:致命错误LNK1104:无法打开文件'atls.lib'

LINK : fatal error LNK1104: cannot open file 'atls.lib'

谁能帮助一个无助的程序员?

Can anyone help a helpless programmer?

非常感谢.

推荐答案

就我而言,问题是缺少x64的ATL/MFC库,我不得不将它们添加到Visual Studio安装程序中(这是一个开源项目,因此我不知道这个要求.

In my case the problem was missing ATL/MFC libraries for x64, I had to add them in the Visual Studio installer (it was an open source project, so I wasn't aware of the requirement).

再一次,无价的 procmon 做到了:
$(VCInstallDir)atlmfc\lib下找到 atls.lib 时,链接程序在$(VCInstallDir)atlmfc\lib\amd64中查找.

Once again, the invaluable procmon did the job:
While atls.lib was found under $(VCInstallDir)atlmfc\lib the linker looked in $(VCInstallDir)atlmfc\lib\amd64.

这篇关于无法打开文件atls.lib的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆