This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Parsing Eigen libraries

Tags: None
(comma "," separated)
malcolmmaya
Registered Member
Posts
5
Karma
0

Parsing Eigen libraries

Wed Jun 01, 2016 8:42 am
Hello everyone,

I found out that Kdevelop cannot entirely parse Eigen. I have exactly the same problem as here. I'm using kdevelop 4.7.3

I was searching for the clang plugin to try it but I can only find a repo with a README saying : "This plugin has been moved to kdevelop/languages/cpp". So I guess the plugin as been moved into Kdevelop ?

So my question is: where is the clang-c++ parser now :P ? If it's not in Kdevelop, where can I download it ? If it is in Kdevelop, why is Eigen still only partly parsed :S ?

Thanks a lot !
User avatar
scummos
Global Moderator
Posts
1175
Karma
7
OS

Re: Parsing Eigen libraries

Wed Jun 01, 2016 9:10 am
4.7 does not use clang by default. The move happened for 5.0 only. You can try building an old version of the clang plugin for 4.7, but I'd recommend to try the 5.0 beta instead.


I'm working on the KDevelop IDE.
malcolmmaya
Registered Member
Posts
5
Karma
0

Re: Parsing Eigen libraries

Wed Jun 01, 2016 12:59 pm
Ok I did that but then I can't find a version of kdev-python plugin that I can use with my version on my fedora system. So I guess I'll stick with it not fully working for Eigen :)

Thanks :)
User avatar
scummos
Global Moderator
Posts
1175
Karma
7
OS

Re: Parsing Eigen libraries

Wed Jun 01, 2016 1:16 pm
5.0 branch of kdev-python works fine with kdevelop/kdevplatform from 5.0 branch (it requires Python >= 3.5 though). If that doesn't work for you, sorry :)


I'm working on the KDevelop IDE.
malcolmmaya
Registered Member
Posts
5
Karma
0

Re: Parsing Eigen libraries

Tue Jun 07, 2016 1:06 pm
Nah it depend on the project.

But now I just istalled Kdevelop4.92 and I must say that the parsing is actually slow and less good than on Kdevelop4 .7.3 so I hope I didn't do something wrong :/. The program I'm working on is g2o if someone want to run the parsing and tell what they get. I have a lot of missing functions in the parsing.
User avatar
scummos
Global Moderator
Posts
1175
Karma
7
OS

Re: Parsing Eigen libraries

Tue Jun 07, 2016 10:59 pm
Are you sure your include paths are set up correctly? Especially for non-cmake projects that doesn't work so well automatically ...

Regarding slowness, having multiple CPU cores helps ...


I'm working on the KDevelop IDE.


Bookmarks



Who is online

Registered users: abc72656, Bing [Bot], daret, Google [Bot], lockheed, Sogou [Bot], Yahoo [Bot]