Visual Studio错误LNK1104无法打开文件 [英] Visual Studio Error LNK1104 Can not open file

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

问题描述


你好,



我目前正在为x86处理器系列上的汇编语言课程。此时我对语言或视觉工作室不太熟悉。但是我的教授已经提供了每个作业的基本设置,其中包含main.asm文件的代码
至少部分写入。在Visual Studio中,main.asm文件将成功编译,但是当我尝试构建解决方案或在没有调试的情况下启动时,我总是得到一个LNK1104错误,Visual Studio无法打开该文件。即使我没有修改
文件并尝试构建它而没有教师的任何更改,也会发生这种情况。我已经广泛阅读了支持文档,并且大多数这些错误似乎都归因于以前版本的Visual Studio中的SDK版本不正确。但是我
有最新版本,目前正在使用SDK版本10.0.15063.0。任何指导将不胜感激。我也可以提供所需的任何其他信息。谢谢。



Ryan

解决方案

嗨瑞恩,


欢迎来到MSDN论坛。


您使用的是哪个版本的visual studio?


>>在Visual Studio中,main.asm文件将成功编译,但是当我尝试构建解决方案或在没有调试的情况下启动时,我总是得到一个LNK1104错误,Visual Studio无法打开该文件。


如果可以,请分享更多操作细节。


请参阅
WayneAKing的 答案描述了使用VC ++ 2008 Express构建其中一个的步骤来自此主题的引用网站的示例。


https://social.msdn.microsoft.com/Forums/en-US/9d8daaef-5df1-4dee-8a58-1ca567d53966/help-needed-fatal-error-lnk1104-cannot-open-file-debugobj ?forum = Vsexpressvc



希望有所帮助


< p style ="margin:0px 0px 11px">


祝你好运,


Fletcher





Hello,

I am currently taking a class in Assembly Language for the x86 processor family. I am not very familiar with the language or visual studio at this point. However my professor has provided the basic setup of each assignment with the code for the main.asm file atleast partially written. In Visual studio the main.asm file will successfully compile but when I try to build the solution or start without debugging I always get a LNK1104 error that Visual Studio can not open the file. This happens even if I do not modify the file and attempt to build it without any changes from the instructor. I have read through the support documentation extensively and most of these errors seem to be attributed to an incorrect SDK version in previous versions of Visual Studio. However I have the latest version and am currently suing the SDK version 10.0.15063.0. Any guidance would be greatly appreciated. I can supply any additional info needed as well. Thank you.

Ryan

解决方案

Hi Ryan,

Welcome to MSDN forum.

Which version of visual studio are you using?

>> In Visual studio the main.asm file will successfully compile but when I try to build the solution or start without debugging I always get a LNK1104 error that Visual Studio can not open the file.

If it's okay please share more operation details.

Please refer to WayneAKing’s answer describe the steps using VC++ 2008 Express to build one of the examples from referenced site from this thread.

https://social.msdn.microsoft.com/Forums/en-US/9d8daaef-5df1-4dee-8a58-1ca567d53966/help-needed-fatal-error-lnk1104-cannot-open-file-debugobj?forum=Vsexpressvc

Hope it helps

Best regards,

Fletcher


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

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