重新设置*** RelocateImage失败 [英] Rebase *** RelocateImage failed

查看:88
本文介绍了重新设置*** RelocateImage失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在使用Visual Studio构建项目时,我注意到使用Windows Rebase时,出现了一个令人讨厌的小帖子链接器错误

When building a project with Visual Studio, I noticed a nasty little post linker error, with windows Rebase

REBASE: *** RelocateImage failed (dll name) Image may be currupted

我无法获得可用的版本.我尝试擦除所有目标文件并重建,但都存在相同的问题.这种情况仅在某些编译配置下才发生,但是持续进行约4个小时,对于具有相同几个编译器配置的各种不同项目.

I was unable to get a usable build. I tried erasing all the object files and rebuilding, with the same problem. This happened only under certain compiling configurations, but was consistently happening for about 4 hours, with various different projects with the same several compiler configurations.

问题大约四个小时后,它神奇地停止了发生.我一直在网上搜索有关此错误实际上意味着什么以及如何最好地解决它的很好的解释,但是我没有发现任何重要的信息.

After about four hours of the problem, it just magically stopped happening. I've been searching the web for a good explanation of what this error actually means and how best to fix it, but I haven't found anything significant.

虽然我的项目现在可以正常工作,但我最担心的是,因为我对问题没有任何解释,并且担心它会回来.任何帮助将不胜感激.

While my project now works fine, I'm mostly concerned because I have no explanation for the problem, and fear its return. Any help would be much appreciated.

推荐答案

我的灵性告诉我您正在与/FIXED开关链接. http://msdn.microsoft.com/en-us/library/w368ysh2.aspx 固定模块无法重新建立基础.有时您会很幸运,不需要重新定级.

My psychic powers tell me you are linking with the /FIXED switch. http://msdn.microsoft.com/en-us/library/w368ysh2.aspx Fixed modules cannot be rebased. You get lucky sometimes and rebasing isn't needed.

这篇关于重新设置*** RelocateImage失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆