Visual C++ 2008 链接(特别是嵌入清单)花费的时间太长
通常我会避免提出模糊的问题,但在这种情况下,我找不到足够的信息来开始解决问题。
我的项目很小(给你一个想法:向量/矩阵数学,以及一些核心数据结构,如数组、列表和字符串)。我尝试过的其他一些更大的项目链接非常快,并且没有花费太多时间嵌入清单。
我正在编译该库的调试版本。发布版本也存在同样的问题。
我很乐意为我指明在哪里可以找到有关此信息的正确方向(除了简单的解释之外,我什至不知道清单是什么)。
Normally I would refrain from asking vague questions but in this case I cannot find enough information to even start looking into fixing the issue.
My project is small (to give you an idea: Vector/Matrix math, and some core data structures such as Arrays, Lists and Strings). Some other much bigger projects I tried link really quickly and do not spend too much time embedding the manifest.
I am compiling the debug version of the library. Release version exhibits the same problem.
I would appreciate pointing me in the right direction on where to find information regarding this (I don't even know what the manifest is apart from simple explanations).
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
正如 Hans Passant 提到的,问题是由病毒扫描程序引起的。向与编译器相关的文件夹和文件扩展名添加例外可以修复该问题。
As Hans Passant mentioned, the problem was caused by the virus scanner. Adding an exception to the folder and file extensions related to the compiler fixes the issue.
从病毒扫描程序中排除进程“cl.exe”、“link.exe”和“mt.exe”。这涵盖了大多数构建输出。
Exclude the processes "cl.exe", "link.exe" and "mt.exe" from your virus scanner. That covers most build output.