Generating Code... -6ren">
gpt4 book ai didi

c++ - Visual C++ 项目 (VS 2010) 的链接导致错误 MSB6006 : "link.exe" exited with code 1073741515

转载 作者:太空宇宙 更新时间:2023-11-04 11:52:01 25 4
gpt4 key购买 nike

之前这个Visual C++项目在Visual Studio 2005中运行成功在 Visual Studio 2010 中,我收到链接错误,请参阅下文

1>  Generating Code...
1>Lib:
1> mStaticLibr.vcxproj -> C:\Users\AlexN\workspace\ap\ap- 3a4857c51ff6\development\allProjects\Debug\mStaticLibr.lib
1>FinalizeBuildStatus:
1> Deleting file "Debug\mStaticLibr.unsuccessfulbuild".
1> Touching "Debug\mStaticLibr.lastbuildstate".
1>
1>Build succeeded.
1>
1>Time Elapsed 00:01:10.44
2>------ Rebuild All started: Project: fnd_p, Configuration: Debug Win32 ------
2>Build started 7/20/2013 12:08:59 PM.
2>_PrepareForClean:
2> Deleting file "Debug\fnd_p.lastbuildstate".
2>InitializeBuildStatus:
2> Creating "Debug\fnd_p.unsuccessfulbuild" because "AlwaysCreate" was specified.
2>ClCompile:
2> FND_P.CPP
2>Manifest:
2> Deleting file "Debug\fnd_p.exe.embed.manifest".

2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(392,5): error MSB6006: "link.exe" exited with code -1073741515. 2> 2>Build FAILED.

最佳答案

关于禁用整个程序优化的提示很有帮助。然而,对于这种特殊情况,需要在链接器/ list 文件选项中将“生成 list ”设置为否

关于c++ - Visual C++ 项目 (VS 2010) 的链接导致错误 MSB6006 : "link.exe" exited with code 1073741515,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17764240/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com