Installed Kdevelop 4.7.0 with apt.
Didn't have any problems when there is only main.cpp.
When I add class in separate file to project, I can't compile and I get 'undefined reference to' error message for class constructor or functions.
I'm adding class with "Create from Template" wizard, all files are in project root, header files are properly included.
I'm using make.
When I add
#include "SomeOtherSource.cpp"
line at the end of main.cpp everything works, but that can't be the solution for this problem.
I really like Kdevelop and wouldn't gladly switch to another IDE.
Please help.
Didn't have any problems when there is only main.cpp.
When I add class in separate file to project, I can't compile and I get 'undefined reference to' error message for class constructor or functions.
I'm adding class with "Create from Template" wizard, all files are in project root, header files are properly included.
I'm using make.
When I add
#include "SomeOtherSource.cpp"
line at the end of main.cpp everything works, but that can't be the solution for this problem.
I really like Kdevelop and wouldn't gladly switch to another IDE.
Please help.
Comment