Classes are not recognized!
Posted: Sun Jun 07, 2015 7:46 pm
Hi guys,
I'm new to Codelite and new to Linux.
I installed Codelite 8.0 on Linux Mint 17.1. Before I had installed g++ compiler but I couldn't write code without an IDE that's how I stumbled over Codelite. But after installing, it didn't find the g++ compiler only gcc and some c compilers were found. I added a compiler manually from the settings in Codelite and it kinda works except when I add new classes to a project the member functions of those classes are not recognized despite including the class headerfiles. Classes are in new files. I add them from the right click menu of Codelite i.e. right-click on the project > add new class.
Another thing, when I include the header files of some class it gives an option to autocomplete so it seems that the class name is found (recognized) by Codelite.
There's always the same error: " 'some_function' was not declared in this scope ".
Any help would be appreciated. Thank you.
I'm new to Codelite and new to Linux.
I installed Codelite 8.0 on Linux Mint 17.1. Before I had installed g++ compiler but I couldn't write code without an IDE that's how I stumbled over Codelite. But after installing, it didn't find the g++ compiler only gcc and some c compilers were found. I added a compiler manually from the settings in Codelite and it kinda works except when I add new classes to a project the member functions of those classes are not recognized despite including the class headerfiles. Classes are in new files. I add them from the right click menu of Codelite i.e. right-click on the project > add new class.
Another thing, when I include the header files of some class it gives an option to autocomplete so it seems that the class name is found (recognized) by Codelite.
There's always the same error: " 'some_function' was not declared in this scope ".
Any help would be appreciated. Thank you.