vs2005 一般错误 C10100b1(C++)
我准备好发布我的 *.exe 并在 virtual studio 2005 中设置发布版本,但我收到了这样的错误:
mt.exe: failed to load file "..\release\hasm.exe" {_~0 BEL SUB EOT BEL v STX
3个字符的BOLD字符串是不能以纯文本打印的符号,我无法复制它们来自我的工作计算机,但我在 Notepad++ 中编辑了它们,我可以看到它们,现在我用“纯”文本输入它们(并且它们之间没有空格(' ')),我希望你能想象它们的形状。
诀窍是,我可以编译我的调试版本,并且 *.exe 运行良好,我尝试过其他项目并使用相同的编码,但没有发生任何事情 - 调试和发布一切顺利。
我认为代码中存在一些unicode(有些注释是中文),但编译器不应该与代码站在一起,一定有语法错误或其他什么。现在,这不是语法错误或链接错误,还有其他可能性吗——我的意思是在我的代码中? mt.exe 到底在做什么?
ps:我已经搜索了我所有的代码,我的(C++)代码中没有“{_~”,FML...
I'm ready to release my *.exe and set the release build in virtual studio 2005, but I got a error like that:
mt.exe: failed to load file "..\release\hasm.exe" {_~0 BEL SUB EOT BEL v STX
the BOLD string with 3-characters are symbol that can not print in plain text, and I can't copy them from my working conputer, but I edited them in Notepad++, and I can see them, now I typed them in "plain" text(and ther is no space(' ') between them) and I hope you can emagin their shape.
the trick is that, I can compile my debug-edition and the *.exe works well, I have tried other project and used the same encoding and there is nothing happened -- everything goes well with the debug and release.
I think there was some unicode in the code(some comments are Chinese), but the compiler should not stand along with the code, there must be a syntax error or something else. Now, it's not a syntax error or a link error, is there any other possibilities---I mean in my code? and what exactly the mt.exe doing?
ps: I have seached for all my code, there is no "{_~" in my (C++)code, FML...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我的猜测是发布的项目设置不知何故被破坏了。比较调试和发布配置之间的所有设置。如果你找不到任何东西,它可能是项目内部的东西。解决此问题的最佳方法是在同一解决方案中创建一个新项目并将所有源文件添加到其中。
希望这有帮助。
干杯,
塞巴斯蒂安
My guess is that the project settings for release got broken somehow. Compare all settings between the debug and release configs. If you can't find anything, it's probably something internal in the project. The best way to fix that is to create a new project in the same solution and add all your source files to it.
Hope this helps.
Cheers,
Sebastiaan