2016-01-05

Eclipse Ogre source code highlight

I have faced with problem of Eclipse a multiple times. The problem is your IDE set up correctly and binary compiled but in error window you have a bunch of errors and CodeIndex does not know where Ogre objects come from.

So my solution is:
Open Project properties -> C/C++ General -> Paths and Symbols -> Source Location (tab)

And here link Ogre include folder (for Linux it is usually /usr/include/OGRE) to your project. It should help.

Not that. Sometimes after this trick you are not able to compile your own sources. So try to remove this link (weird it helps and after all syntax highlighted as well)

P.S. You can do this trick to another sources as well.