Page 1 of 1

goto declaration & goto implementation not working

Posted: Tue Jul 27, 2010 8:02 am
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!

Re: goto declaration & goto implementation not working

Posted: Tue Jul 27, 2010 10:11 am
by eranif
Have u tried the option (from the main menu, NOT from the workspace context menu):

Workspace -> Retag Workspace (full) ?

Eran

Re: goto declaration & goto implementation not working

Posted: Tue Jul 27, 2010 2:09 pm
by xray1111
Yes, I just tried to re-tag(full) from the main menu, still nothing happened.

Re: goto declaration & goto implementation not working

Posted: Tue Jul 27, 2010 2:46 pm
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

Re: goto declaration & goto implementation not working

Posted: Tue Jul 27, 2010 3:25 pm
by xray1111
Hi, Eran

Here is the file you need. Thank you!

Re: goto declaration & goto implementation not working

Posted: Tue Jul 27, 2010 4:53 pm
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

Re: goto declaration & goto implementation not working

Posted: Tue Jul 27, 2010 8:38 pm
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

Re: goto declaration & goto implementation not working

Posted: Tue Jul 27, 2010 8:46 pm
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)

Re: goto declaration & goto implementation not working

Posted: Tue Jul 27, 2010 9:19 pm
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

Re: goto declaration & goto implementation not working

Posted: Tue Jul 27, 2010 10:26 pm
by xray1111
Yes, this time it works after rebuilding codelite from the sources!

Thanks a lot Eran! Have a good day!