error C2440- error BK1513- unable to start program *.exe - Debugging information cannot be found or does not match

error C2440: ‘static_cast‘ : cannot convert from ...to...

  此种错误是由VC6的程序用VS打开而造成的(以前在VC6下完全正常运行的消息映射在其它版本下编译不通过),

只要将函数的返回类型或参数类型改为对应的即可。

unable to start program *.exe拒绝访问

在网上查找的方案:

解决方案:  
1、regedit  
2、local_machiche--software-miscrosoft-windows-curr version -app-Paths  
  找到iexplore.exe删掉,然后重新添加  
3、右击app-Paths,  
  添加项 iexplore.exe 默认值为:C://Program Files//Internet Explorer//iexplore.exe  
  添加字符串值:path : 值为:C://Program Files//Internet Explorer

然后重写启动vs

但是我出现这问题时,并没有采取此种方法。

因为,我发现在应该输出.exe的目录下并没有生成.exe,所以我将属性中的一系列路径修改了一下:

右击-》properties-》

C/C++ -》output files:

Precompiled Header:

Linker->General:

Debugging:

Optimization:

Browse Information->General:

这样可以确保产生.exe的路径是正确的。

 error BK1513 : nonincremental update requires all .SBR files 

这个文件没什么影响,它是为了browser   source(方便浏览源代码而生成的文件)

解决办法:

1 删除debug目录,工程重新全部编译(我是经过这一步就成功了,第二步没用到)

2 可能是   BSCMAKE.EXE   生成   bsr   文件出错了,那就不生成得了.   
  Project   ->   Settings   ->   C/C++  
  在   Category   下拉框中选择   Listing   Files  
  去掉   Generate   browse   info   这个选择框前面的勾.

Debugging information cannot be found or does not match

问题:
Debugging information for "project.exe" cannot be found or does not match. Binary was not built with debug information.

答案:转自(http://social.msdn.microsoft.com/Forums/zh-CN/Vsexpressvc/thread/503d3ded-976e-460e-b5f9-7e03454ed387)
To enable debugging:

1) Goto Project->HelloWorld Properties
2) On the left expand "Configuration Properties"
3) Expand "C/C++"
4) On the left, Select "General"
5) 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, expand "Linker"
8) On the left, select "Debugging"
9) On the right, change "Generate Debug Info" to "Yes"
10) Click ok

Also when running your application use Ctrl+F5 to build and run it, this keeps the console window open long enough for you to see your output.

时间: 2024-08-02 03:46:44

error C2440- error BK1513- unable to start program *.exe - Debugging information cannot be found or does not match的相关文章

Error building Player: CommandInvokationFailure: Unable to convert classes into dex format. See the

问题: Error building Player: CommandInvokationFailure: Unable to convert classes into dex format. See the Console for details.C:\Program Files\Java\jdk1.7.0_45\bin\java.exe -Xmx1024M -Dcom.android.sdkmanager.toolsdir="D:/work/Android/android-sdk\tools&

cocos3 error C2440

>d:\program files (x86)\microsoft visual studio 11.0\vc\include\xrefwrap(431): error C2440: “return”: 无法从“void”转换为“bool” (..\Classes\HelloWorldScene.cpp) 1> void 类型的表达式不能转换为其他类型 1> d:\program files (x86)\microsoft visual studio 11.0\vc\include\fu

C++ error C2440: “类型转换” : 无法从“std::vector::iterator”转换为“

原文地址:http://blog.csdn.net/onlyou930/article/details/5602654 圆环套圆环之迭代器 话说这一日是风平浪静,万里乌云,俺的心情好的没得说,收到命令清理A区(写部分代码,其中有在VC6下己完成的代码要移植到VC7下),一路上很轻松,用‘饭得标’的话来说就是‘卡卡’地!在快完成时出现错误. error C2440: “类型转换” : 无法从“std::vector<_Ty>::iterator”转换为“PPkgHead”with[_Ty=BYT

Eclipse通过Maven构建时出现: Fatal error compiling: tools.jar not found: Fatal error compiling: tools.jar not found: C:\Program Files\Java\jre1.8.0_31\..\lib\tools.jar

错误: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project testtxannotation: Fatal error compiling: tools.jar not found: C:\Program Files\Java\jre1.8.0_31\..\lib\tools.jar 这种错误是偶然性的,构建几次可能出现一次

error C2440

error C2440: “static_cast”: 无法从“void (__thiscall CChatDlg::* )(WPARAM,LPARAM)”转换为“LRESULT (__thiscall CWnd::* )(WPARAM,LPARAM)”1>        从基类型到派生类型的强制转换需要 dynamic_cast 或 static_cast 搜索发现为开发平台迁移问题.由vc6.0升级至vs2005以上平台均会遇到这情况,原因为 VS2005对消息的检查更为严格,以前在VC6下

cocos2d-x 编译问题集合之error C2440: “类型转换”: 无法从“void (__thiscall ::* )(void)”转换为“

1.提示为 error C2440: "类型转换": 无法从"void (__thiscall xx::* )(void)"转换为"cocos2d::SEL_CallFuncN" 提示前 调用语句为 callfuncN_selector(GameMenu::menuEnter) menuEnter这个方法里边是没有形参的 导致了这个问题出现 修改办法为 将menuEnter这个方法改成menuEnter(CCNode * node) 加入这个形参

error C2440: “static_cast”: 无法从“void (__thiscall CMainFrame::* )

在VC++6.0向导中完成项目迁移到VS2012版的错 编译时遇到两个问题,首先是 error C2440: "static_cast": 无法从"void (__thiscall CMainFrame::* )(BOOL,HTASK)"转换为"void (__thiscall CWnd::* )(BOOL,DWORD)" 1>          从基类型到派生类型的强制转换需要 dynamic_cast 或 static_cast err

error C2440: “static_cast”: 无法从“LRESULT (__thiscall CTextProgressCtrl::* )(UINT,LPCTSTR)”转换为“LRESULT (__thiscall CWnd::* )(WPARAM,LPARAM)

转自原文 error C2440 “static_cast” 无法从“void (__thiscall C* )(void)... error C2440: “static_cast”: 无法从“LRESULT (__thiscall CTextProgressCtrl::* )(UINT,LPCTSTR)”转换为“LRESULT (__thiscall CWnd::* )(WPARAM,LPARAM). 开发平台由VC6.0升级至VS2005以上的版本,需要将原有的项目迁移,可能碰到类似错误:

ERROR: In &lt;declare-styleable&gt; MenuView, unable to find attribute android:preserveIconSpacing

eclipse  sdk从低版本切换到高版本sdk的时候   v7包会包这个错ERROR: In <declare-styleable> MenuView, unable to find attribute android:preserveIconSpacing 问题解决: 点击V7包找到values文件夹   打开attrs.xml      ctrl+f   查找 MenuView     将preserveIconSpacing注释掉或者删掉    clean项目 ok 完成. 版权声明