Visual Studio 2005 错误 C1083(“空间不足”)是否意味着我的 RAM 不足?
我收到此 Visual Studio 错误。虽然我可以弄清楚问题的要点,但我并不完全理解,因为我对构建过程了解不多。这里真正的问题是什么?有哪些潜在的解决方案?
fatal error C1083: Cannot open compiler intermediate file:
'C:\libpath\libname.lib': Not enough space
LINK : fatal error LNK1257: code generation failed
Error executing link.exe (tool returned code: 1257)
我得到“空间不足”,但我不太明白这意味着什么。需要打造什么样的空间?这是说 RAM 耗尽了吗?如何解决这个问题?
注意:这个尝试构建的解决方案是巨大的
I've received this Visual Studio error. Though I can figure out the jist of the problem, I don't totally understand because I don't know much about the build process. What is the real problem here and what are some potential solutions?
fatal error C1083: Cannot open compiler intermediate file:
'C:\libpath\libname.lib': Not enough space
LINK : fatal error LNK1257: code generation failed
Error executing link.exe (tool returned code: 1257)
I get "not enough space", but I don't really understand what that means. What kind of space does it need to build? Is this saying it ran out of RAM? How could this potentially be solved?
Note: the solution this is trying to build is huge
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
更新 9/28/2019 由于 MS Connect 已停用,之前的链接现已失效。
我能够通过谷歌挖掘出这个并粘贴到这里供后代使用:
这似乎是一个错误。请参阅:http://connect.microsoft.com/VisualStudio/feedback/details/581207/visual-studio-2005-sp1-reproducible-linker-error-lkn1257-caused-by-c1083
不幸的是,解决方案是不是很令人愉快(除非你可以升级到 VS 2010)。
另一种方法是切换到可以在 VS 2005 进程之外运行的 MSBuild 或 Nant(您可以映射这些工具的快捷方式,以便可以在 VS 2005 中触发构建)。
Update 9/28/2019 Since MS Connect has been retired, the previous link is now dead.
I was able to dig up this via google and pasting here for posterity:
This seems to be a bug. See this: http://connect.microsoft.com/VisualStudio/feedback/details/581207/visual-studio-2005-sp1-reproducible-linker-error-lkn1257-caused-by-c1083
Unfortunately, the solution isn't that pleasing (unless you can upgrade to VS 2010).
An alternative would be to switch to MSBuild or Nant that you can run outside of VS 2005 process (you can map a shortcut to these tools so that you can trigger the build within VS 2005).