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

Eclipse: symbol ‘???’ could not be resolved [duplicate]

2014年09月03日 ⁄ 综合 ⁄ 共 671字 ⁄ 字号 评论关闭

MyEclipse 明明编译成功,但是parser解析到就是有符号不能解析,可能的原因或解决方法:

1.window -> preferences -> C/C++ -> debug -> source lookup path > Path MappingName:whatever  CompilationPath: \cygdirve\c      Local file system path:C:\用cygwin下的c盘来替代当前的C盘 来查找需要的库文件
Name:whatever  CompilationPath: \cygdirve\c      Local file system path:C:\
用cygwin下的c盘来替代当前的C盘 来查找需要的库文件
2. window->proferences的设置对 project不起作用,需要在 project-> properties 中对 c/c++ make project 的 binary parse 进行设置到 win 下。 
project-->properties-->C/C++ Build-->Settings--->Binary Parsers 
将PE Windows parser打上勾 
3. Eclipse: function 'to_string' could not be resolved [duplicate]
http://stackoverflow.com/questions/13458396/disable-eclipses-error-discovery-c11-false-positives

默认_cplusplus的值为199711L,改为201103L

抱歉!评论已关闭.