且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Visual Studio错误LNK1104无法打开文件

更新时间:2022-10-15 15:41:34

嗨瑞恩,


欢迎来到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



希望有所帮助



祝你好运,


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