goto declaration & goto implementation not working

General questions regarding the usage of CodeLite
xray1111
CodeLite Curious
Posts: 6
Joined: Tue Jul 27, 2010 7:00 am
Genuine User: Yes
IDE Question: C++
Contact:

goto declaration & goto implementation not working

Post by xray1111 »

Hi, everybody!

I found this strange thing recently, only a few days ago everything seemed to be OK(although CL may point to an incorrect delaration place sometimes). Now nothing happens if I right click the mouse button and choose 'goto Implementation' or 'goto declaration'. I've browsed the furom's history record looking for possible solutions, but nothing seem to match my problem: CL will go no where when you want to find something.

My operation environment: Ubunto 9.10, codelite v2.6.0.4189

BTW, When I press Ctrl + Shift + O
Image

And my navigation tool bar is always empty:
Image

And I've tried "Retag workspace", "Re-tag project" and "Re-tag file" many times, but still can't help.

Thanks for your help!
You do not have the required permissions to view the files attached to this post.
User avatar
eranif
CodeLite Plugin
Posts: 6372
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: goto declaration & goto implementation not working

Post by eranif »

Have u tried the option (from the main menu, NOT from the workspace context menu):

Workspace -> Retag Workspace (full) ?

Eran
Make sure you have read the HOW TO POST thread
xray1111
CodeLite Curious
Posts: 6
Joined: Tue Jul 27, 2010 7:00 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: goto declaration & goto implementation not working

Post by xray1111 »

Yes, I just tried to re-tag(full) from the main menu, still nothing happened.
User avatar
eranif
CodeLite Plugin
Posts: 6372
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: goto declaration & goto implementation not working

Post by eranif »

1) Is it possible to have a copy of the workspace/project file?
2) Can u send me the .tags file located on your disk?

(you will need to zip them both to attach them on this forum)

Eran
Make sure you have read the HOW TO POST thread
xray1111
CodeLite Curious
Posts: 6
Joined: Tue Jul 27, 2010 7:00 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: goto declaration & goto implementation not working

Post by xray1111 »

Hi, Eran

Here is the file you need. Thank you!
You do not have the required permissions to view the files attached to this post.
User avatar
eranif
CodeLite Plugin
Posts: 6372
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: goto declaration & goto implementation not working

Post by eranif »

Do you have codelite_indexer running?

You .tags file is completly empty.

I can understand miss-parsing, but a complete empty tags file !?

do this:

Code: Select all

ps -ef|grep codelite_indexer
Do you have it running?
Also: do you have write permissions to the MG.tags file?
Eran
Make sure you have read the HOW TO POST thread
xray1111
CodeLite Curious
Posts: 6
Joined: Tue Jul 27, 2010 7:00 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: goto declaration & goto implementation not working

Post by xray1111 »

It seems that there is no process named "codelite_indexer", how can I start it? And I do have read&write permission on MG.tas file.

xray@ubuntu:~/.codelite/MG$ ps -ef|grep codelite_indexer
xray 25784 2239 0 00:36 pts/0 00:00:00 grep --color=auto codelite_indexer
xray1111
CodeLite Curious
Posts: 6
Joined: Tue Jul 27, 2010 7:00 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: goto declaration & goto implementation not working

Post by xray1111 »

Ok, I type in codelite_indexer and get another error message:

Code: Select all

xray@ubuntu:~/.codelite/MG$ codelite_indexer
codelite_indexer: /lib/tls/i686/cmov/libc.so.6: version `GLIBC_2.11' not found (required by codelite_indexer)
User avatar
eranif
CodeLite Plugin
Posts: 6372
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: goto declaration & goto implementation not working

Post by eranif »

The provided deb files were built for Ubuntu 10.04
You will need to build codelite from sources as described here (pretty simple task)

http://codelite.org/forum/viewtopic.php?f=3&t=1034

Eran
Make sure you have read the HOW TO POST thread
xray1111
CodeLite Curious
Posts: 6
Joined: Tue Jul 27, 2010 7:00 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: goto declaration & goto implementation not working

Post by xray1111 »

Yes, this time it works after rebuilding codelite from the sources!

Thanks a lot Eran! Have a good day!
Post Reply