Kdevelop wiki says (bottom of page)
* In cases where KDevelop still does not correctly determine the inclusion path after you configured the assembly binding, you can manually add the inclusion paths to the directory for each directory in the .kdev_include_paths file. This can be done from within KDevelop by running the "solve the problem" wizard related to the "cannot find file with upload" problem, for example. by hanging the problematic #include string. *
Now I have done this (and there are no more problematic, underlined, #include lines). But when I try to build, I get:
~/projects/mqncpptest/build> make [100%] Building CXX object CMakeFiles/mqncpptest.dir/main.cpp.o ~/projects/mqncpptest/main.cpp:15:23: fatal error: Eigen/Dense: No such file or directory compilation terminated.
BЈoviћ user asks for additional information:
I followed the KDEvelop statement for minimal compilation. Project-> new from template → standard (simple C-based C application). Version control system "none" and the cmake directory: / usr / bin / cmake. KDEvelop then underlined #include <Eigen/Dense> , I clicked the "add custom inclusion path" button that appeared at the bottom of the screen, entered the path to my own, which removed the #include <Eigen/Dense> underline, and then built and then I got /home/kaveh/projects/mqn_get/main.cpp:15:23: fatal error: Eigen/Dense: No such file or directory , I have to add that this code builds without problems in eclipse and from the shell.
Motivation: I'm trying to build it in kdevelop because I need to use a debugger (the code does not give the expected results), and the eclipse is too heavy IMO.
source share