开发者

eclipse does not resolve all includes

I am working on an avr project in eclipse and include files supplied by the compiler. Eclipse recognize the includes in code (i.e. no question mark by the #include) but it does not resolve the defines in the included files, 开发者_如何学运维i.e. PINA is not recognized as a memory address.

I've tried to add the include directory as a library path in Paths and Symbols. I've tried to add it as a library path to the build settings. Neither one worked.

I am using Eclipse Indigo and ImageCraft compiler. Furthermore, in the projects I've included imagecraft's include directory as a link (to enable search).

Any ideas?


Project should be created as a standard C project. Under Project / Properties / C/C++ General / Paths and Symbols in the Includes tab. Choose Add... and point it to the library path (in my case: C:\icc7avr\include). That seems to solve it for most projects.

However I have a nested project (project is a subset of another project) where this doesn't work.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜