This worked on Mac OS X Yosemite 10.10.5, version of Eclipse Mars.1 Release (4.5.1):
Since attachments are usually detected by Eclipse through the toolchain, check that you have the actual toolbox set (when I encountered this problem after importing the project, the toolchain was set to βNo toolchain.β):
Project β Properties β C / C ++ Build β Tool Chain Editor β Current Tool Chain
If there are no tool chains in the drop-down list, try unchecking "Only display compatible tool nodes" and select a tool chain (I selected Cross GCC). When I saved the changes and re-opened the project properties in order to view this field again, the name "Only compatible software elements" was automatically renamed.
Then reindex the project:
Project β C / C ++ Index β ββRebuild
This solved the problem for me (the "pseudo-errors" disappeared, and the included "folder" appeared in my project in the file system view).
source share