问题描述
我正在尝试用
来获得VS 2010 C ++基于ATL的dll在VS 2013中编译。 我收到了以下链接的
错误:< o:p>< / o:p>
错误LNK1104:无法打开文件atlsd.lib
我还没有
能够在项目中找到对此库的任何引用
属性。 我如何解决这个问题
我知道atl库已在VS 2013中发生了变化,但未能弄清楚如何纠正链接问题。
I'm aware that the atl libraries have changed in VS 2013 but have not been able to figure out how to correct the link problem.
AliciaV
推荐答案
欢迎来到MSDN论坛。
Welcome to MSDN forum.
根据你的描述,你能在你的计算机硬盘中找到atlsd.lib和atls.lib吗?它们是否位于VS 默认查找的目录中?您使用的是哪个版本的VS2013?预览版还是终极版?
vs2013是否已完全成功安装?
According to your description, could you find the atlsd.lib and atls.lib in your computer hard drive? Are they located in the directory where VS will look for by default? And which version of VS2013 are you using? preview version or ultimate version? Is the vs2013 installed completely and succesfully?
请确保VS2013可以找到必要的库。首先,您可以尝试通过此目录手动查找库:C:\Program Files(x86)\ Microsoft Visual Studio 11.0\VC\atlmfc\lib。
Please make sure the VS2013 can find the necessary libs. Firstly, you can try to manually find the libs through this directory:C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\atlmfc\lib.
在项目属性,链接器,常规选项中,添加目录所在atlsd.lib驻留在
附加库目录
字段。
In Project Properties, Linker, General options, add the directory where atlsd.lib resides to theAdditional Library Directories
field.
顺便提一下,有两个类似的线程供您使用参考。
By the way, there are two similar threads for your reference.
可能
这篇关于VS 2013错误LNK1104:无法打开文件atlsd.lib的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!