现在的位置: 首页 > 综合 > 正文

win7+eclipse+CDT+cygwin symbol could not be resolved

2014年01月05日 ⁄ 综合 ⁄ 共 458字 ⁄ 字号 评论关闭

参考地址:在Win7系统下搭建Eclipse+Cygwin开发环境 http://www.cnblogs.com/williamwue/archive/2011/06/30/2094979.html

问题:用eclipse 建立编译C++工程出现错误提示 symbol could not be resolved

解决办法:

1.window -> preferences -> C/C++ -> debug -> source lookup path > Path Mapping
Name:whatever  CompilationPath: \cygdirve\c      Local file system path:C:\

用cygwin下的c盘来替代当前的C盘 来查找需要的库文件

2.indexer:  index source and header files opened  in editor
window -> preferences -> C/C++ -> indexer

OK编译的错误解决了

抱歉!评论已关闭.