如何解决错误lnk1149:输出文件名匹配输入文件名 [英] how to resolve error lnk1149 :output filename matches input filename

查看:1658
本文介绍了如何解决错误lnk1149:输出文件名匹配输入文件名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,



我正在尝试在visual studio 2010中构建vc ++代码,我收到上述错误。

我已经包含了库SLI_MP4_V1.lib,输出文件名是SLI_MP4_V1.dll,但是当我更改输出文件的名称时,它会给出相同的错误。







在此先感谢。

解决方案

我会这样处理它:提供不同于的输出名称输入一个(链接器正在避免你覆盖输入文件的令人沮丧的经历,请参阅 MSDN [ ^ ])。

Hello,

I am trying to build vc++ code in visual studio 2010,and i am getting the error mentioned above.
I have included library SLI_MP4_V1.lib and the output file name is SLI_MP4_V1.dll, but when i am changing the name of output file it gives the same error.



Thanks In Advance.

解决方案

I would handle it this way: provide an output name different from the input one (the linker is kindly avoiding you the frustrating experience of overwriting an input file, see MSDN[^]).


这篇关于如何解决错误lnk1149:输出文件名匹配输入文件名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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