Eclipse does not autocomplete classes (Solved) [closed]
I am using eclipse Juno and a few weeks ago I build the project with the command: make eclipse-project
. Without modifying anything in the project, now I found the problem that eclipse does not autocomplete any class and all the instructions appears with the broken red line and the message Function/Symbol/Type '*' could not be resolved
. It is estrange that if I click on the headers files while I am holding ctrl I can open the header file, and also I can compile the project. Then, I am running eclipse from the terminal, I regenerate the project with make, I delete and import again the project with the new build, but the problem persist. Any idea about what can I do?
Edit: I already solved my problem just using Eclipse Helios. When I generate my project with cmake -G"Eclipse CDT4 - Unix Makefiles"
cmake said Could not determine Eclipse version, assuming at least 3.6 (Helios). Adjust CMAKE_ECLIPSE_VERSION if this is wrong.
so just by changing from Juno to Helios everything works.