KDE Developer
|
Hi,
In the past the source code navigation and completion (for C++ in my case) of kdevelop was really astonishing. But since several months (sorry I'm not sure of when it started), it does not work anymore. It always displays "Problem in Semantic analysis" when hovering on method bodies and nothing in bodies. I'm using KDE Neon packages on projects in a home folder inhereted from a previous Mageia installation. The C++ support (clang based) plugin is loaded. Background parsing occurs in several conditions. As the problem description is not very clear, I was not feeling as authorized to fill a bug report. Maybe someone can help me. Gaël |
Global Moderator
|
We keep having this issue on and off on some systems sometimes, and it's not fully clear what the problem is. Sometimes changing the "Compiler for path" setting in the Language Support tab of the project settings helps ...
It's usually somehow related to which C++ standard library is used by KDevelop's code analyzer.
I'm working on the KDevelop IDE.
|
KDE Developer
|
OK. Is there a way I could help track down this problem ? If necessary I can try to compile kdevelop myself. I havn't found a related bug report. Should I open one ?
It happens for me at least when the following project is loaded: https://github.com/aymara/lima. |
KDE Developer
|
So, is there anything I can do ? I'm a kdevelop user since its first versions. But now, it is hardly usable. I need these modern features.
Even the search in file (Ctrl+Alt+F) is crashing kdevelop. With no code navigation nor search, I cannot work anymore. |
Registered Member
|
Clearly there must be some complex dependencies that need to be discovered (Kdevelop settings, environment variables, build files, packages installed etc...).
Would it be possible for the developers to release a completely locked down working system, that correctly handles all the major libraries - (stdc++, boost, eigen, opencv, opencl etc...). e.g. as an Ubuntu virtual box machine ? This way users could look for the differences between their system and the working example. Together we may discover the cause of these problems. |
Global Moderator
|
Well, we have the AppImage, which is kind of close to that (i.e. ships its own libclang and everything). Maybe you can try that.
Commit c791359763cd862f93ad9f91fa628d20e1e630f2 may also be related to the issue you are seeing, but that is only in master. The crash in the file search should of course not happen either, and seems unrelated, but to talk about this a backtrace would be needed. Sorry for your troubles!
I'm working on the KDevelop IDE.
|
KDE Developer
|
I'll try it ASAP.
I could try a compilation. Or switch to KDE Neon devel maybe. What is the delay between a commit in master and the release including it ? Any possibility of a backport of this bug correction to the stable branch ?
I agree, it's unrelated. It appeared just a few days ago, but the cooccurrence of both problems is really annoying.
No worry. This can happen. I just would like to be able to help track down the problem. |
Global Moderator
|
We did not backport this change because it is not clear that it improves the situation for all users. In a stable branch, we do not want to make changes which fix something for some users but potentially break it for others.
The change will be included in 5.3, it is quite unclear when that will happen, but hopefully not that far from now (let's estimate an order of magnitude 2 months). Yeah, try the AppImage, maybe that works for you. But it would also be interesting to see if Milian's change helped.
I'm working on the KDevelop IDE.
|
Registered users: bancha, Bing [Bot], Evergrowing, Google [Bot], lockheed, mesutakcan, Sogou [Bot]