天行健 君子当自强而不息

VS2005无法进行DEBUG:Binary was not build with debug information.

google到的解决方案:

Its not an installation issue, the problem is, as the error message suggests, that you have not built your project with debug information.

To do this:
1) Goto Project->Properties
2) Make sure "Configuration" at the top is "Debug"
3) On the left, select "C/C++", then "General"
4) On the right, change "Debug information format" to "Program Database for edit and continue (/ZI)"
5) On the left, Select "Optimization"
6) On the right, Change "Optimization" to "Disabled (/Od)"
7) On the left, select "Code Generation"
8) On the right, change "Runtime library" to "Multi-Threaded Debug (/MTd)"
9) On the left, expand "Linker" and select "Debugging"
10) On the right, change "Generate Debug info" to "Yes (/DEBUG)"
11) Rebuild your project.

posted on 2007-07-01 23:16 lovedday 阅读(3934) 评论(2)  编辑 收藏 引用 所属分类: ▲ C Program

评论

# re: VS2005无法进行DEBUG:Binary was not build with debug information. 2008-03-19 04:12 BlueDog

it is very useful!  回复  更多评论   

# re: VS2005无法进行DEBUG:Binary was not build with debug information. 2009-04-13 16:53 Poseidon

very useful
but in step 2):
Configuration" at the top is "General". I don't how to set "Debug" at the top. So I just followed the following steps, it also works.

thanks!

  回复  更多评论   


只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理


公告

导航

统计

常用链接

随笔分类(178)

3D游戏编程相关链接

搜索

最新评论