VS2010:每个编译都会产生:致命错误LNK1181:无法打开输入文件'ÿþ/.obj' [英] VS2010: Every single compilation produces: fatal error LNK1181: cannot open input file 'ÿþ/.obj'
问题描述
我刚刚安装了Visual Studio 2010,并且正在从2008年开始移植我的项目,但是我无法编译.实际上,我在VS2010中根本无法编译任何内容.
似乎一切都错了:
链接:致命错误LNK1181:无法打开输入文件'ÿþ/.obj'
我什至重新安装了VS2010,并创建了一个新的Visual C ++项目,并添加了一个文件:test.cpp和单行代码,但得到相同的错误.
在互联网上搜索后,我已经卸载了所有内容(2008年除外),然后重新安装了2010年约4次,但我无法摆脱此错误.我正式没主意了.
这是非常突然的编译的输出:
I just installed Visual studio 2010 and is in the process of migrating my project from 2008, but I can't compile. In fact I can't compile anything at all in VS2010.
It seems to get everything wrong:
LINK : fatal error LNK1181: cannot open input file 'ÿþ/.obj'
I even reinstalled VS2010 and created a new Visual C++ project, added a single file: test.cpp with a single line of code, but get the same error.
After searching around the internet, I've uninstalled everything (except 2008) and reinstalled 2010 about 4 times but I can't get rid of this error. I am officially out of ideas.
This is the output from the very abrupt compilation:
1>------ Build started: Project: test2, Configuration: Debug Win32 ------
1>Build started 2010-04-26 22:41:07.
1>ClCompile:
1> Microsoft (R) Incremental Linker Version 10.00.30319.01
1> Copyright (C) Microsoft Corporation. All rights reserved.
1>
1> /out:.exe
1> ÿþ/
1>LINK : fatal error LNK1181: cannot open input file 'ÿþ/.obj'
1> Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for 80x86
1> Copyright (C) Microsoft Corp 1984-1998. All rights reserved.
1>
1> cl ■/
1>
1>CL : Command line warning D4024: unrecognized source file type ' ■/', object file assumed
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:00.62
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
怎么回事?
我正在运行Windows XP.
What is going on?
I'm running Windows XP.
推荐答案
嗨Scarabus,
我正在将该线程从基础"Visual Studio的设置和安装"论坛移到"Visual C ++常规"论坛.论坛,因为该问题与C ++有关. "Visual C ++ General"(Visual C ++常规)中有更多专家.论坛.
谢谢
Hi Scarabus,
I am moving this thread from Base "Visual Studio Setup and Installation" forum to the "Visual C++ General" forum, since the issue is related to C++. There are more experts in the "Visual C++ General" forum.
Thanks
这篇关于VS2010:每个编译都会产生:致命错误LNK1181:无法打开输入文件'ÿþ/.obj'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!