Eclipse C++: Can't find a source file at.......
问题:当我windows上使用Eclipse调式C++程序的时候,报的错误大致如下,找不到某个源文件。
Can't find a source file at "/usr/src/debug/mingw64-i686-winpthreads-5.0.4-1/src/thread.c"
Locate the file or edit the source lookup path to include its location.
解决方案:Debug Configurations(右击可执行文件,Debug as,, 即可找到), Debugger Configurations在对应的Source的tag下。配置对应的源码寻找路线。比如选择Path Mapping路径映射。那么会将项目的/src路径映射到绝对路径D:\src,去寻找对应的源文件。
可以参考:https://www.youtube.com/watch?v=KCq2yWDJNLM
总结:找不到什么文件,就直接使用路径映射,手动映射对应的搜索路径。
Eclipse C++: Can't find a source file at.......相关推荐
- Eclipse - CDT使用GDB调试C++的问题-无源文件命名(No source file named)
CDT使用GDB调试C++的问题(No source file named) 本文地址: http://blog.csdn.net/caroline_wendy/article/details/170 ...
- The project was not built since the source file could not be read
报错:The project was not built since the source file /TestSOIMPL/src/android/services/install/util/Res ...
- ninja Compiling the C compiler identification source file CMakeCCompilerId.c failed
Compiling the C compiler identification source file "CMakeCCompilerId.c" failed 同时,控制台也报错: ...
- error C4335: Mac file format detected: please convert the source file to either DOS or UNIX format
vc里面遇到这个问题的解决方案 error C4335: Mac file format detected: please convert the source file to either DOS ...
- Fatal Error[Pe1696]:cannot open source file “sys.h”
STM32的IAR工程报错: Fatal Error[Pe1696]: cannot open source file "sys.h" 解决方法: 将#include " ...
- fatal error C1083: Cannot open source file
在VS2008 VC++项目中,新建了一个cpp文件,然后在物理硬盘上手动删除了,就出现如下错误. 1>------ Build started: Project: test, Configu ...
- hive报错Could not get block locations. Source file “/user/hive/warehouse/xxx
hive报错 Could not get block locations. Source file "/user/hive/warehouse/xxx... 以及 Caused by: or ...
- 文件路径名太长导致IAR编译报错:Fatal Error[Pe1696]: cannot open source file
在用IAR编译CC2640R2F工程的时候,报错: gattservapp_util.c Fatal Error[Pe1696]: cannot open source file "xd ...
- vscode无法识别头文件“cannot open source file “gnu/stubs-64.h“”
使用vscode时,一直无法识别头文件,于是首先尝试: g++ -v -E -x c++ - 查看g++的包含路径 将路径添加到c_cpp_properties.json下 然后还是不好用... 又根 ...
最新文章
- r语言echarts画箱线图_echarts学习笔记之箱线图的分析与绘制详解
- 用 XStream 序列化/反序列化 XML 为 Java 对象(实例)
- unix修改ip和计算机名,UNIX shell获取IP和修改IP
- Windows 修改hosts文件以及权限问题
- 30 个实例详解 TOP 命令!
- html5证书,免费获得微软MCSD证书赶快行动吧!_html5教程技巧
- scala function从入门到理解
- arcgis构建金字塔失败什么原因_新西兰创业移民转永居失败!原因是什么?
- EDA技术实用教程 | 复习三 | 不同类型的赋值语句
- Weblogic下载,安装与插件配置
- 多媒体计算机软件按功能分为,多媒体软件可分为
- 人工智能、机器学习、神经网络和深度学习的发展历程(下)
- 探索学习 Vue 组件篇 第二篇 组件类型:非单文件组件
- 《iVX 高仿美团APP制作移动端完整项目》05 美食页商家推荐内容、分类、推荐商家制作
- Ribbon负载均衡及Feign消费者调用服务
- 使用BP网络逼近函数-matlab
- 物联网(IoT)及其未来应用方向
- 如何解决‘CommandNotFoundError: Your shell has not been properly configured to use ‘conda activate’错误
- 大龄程序猿的新出路:改行学中医!40岁程序员,重新高考学中医,如今混得还不错!...
- 三天入门Python---基本语法(第一天)
热门文章
- 阿里P6员工月薪24K,被女友嫌弃,晒出女友月薪,以为看错了
- 【XJB研究】关于最短路径数
- 一个多神的地方,然而到底有多少神灵呢
- OneAPM 试用测评
- PageHelper.startPage(pageNum, pageSize)相关问题(遇到问题解决后持续更新)
- Found bindings for the following environments
- NTP网络对时服务器如何提升电信网性能?
- 如何在页面卸载时进行数据上报
- kali linux : ettercap工具arp欺骗
- 【数据分享】12.5米分辨率DEM地形数据(分省)