Page 1 of 1
Retag option Grayed
Posted: Sat Sep 01, 2012 2:48 pm
by evstevemd
I'm experiencing issues with Autocomplete/Intellisense. My CL keep retagging project forever and I have to use force quit. When I start it again it grays retag option.
Clang is not working at all. It keeps complaining at missing wx include files which is a lie as I have specified in its paths. The problem started few days ago.
I have deleted config file but it returned. Updated to CL 4 from deb download the same issue! I'm running out of ideas, I need help
TIA,
Stefano
Re: Retag option Grayed
Posted: Sat Sep 01, 2012 6:34 pm
by eranif
evstevemd wrote:Clang is not working at all.
Did you follow the instructions of how to enable it? Basically, you need to compile your project a *full rebuild* and it will work.
If you did not do this, it will not work.
An indicatin that everything is working for you in clang, is that the compilation changes from:
to
evstevemd wrote:It keeps complaining at missing wx include files which is a lie as I have specified in its paths
You need to perform a full rebuild of your workspace
Please follow this page:
http://www.codelite.org/LiteEditor/ClangIntegration41
evstevemd wrote: Updated to CL 4 from deb download the same issue!
This only means that there is something else broken here
Have you tried deleting your local tags file?
Can you attach a debugger to codelite and print the backtrace?
Another option: enable codelite logging:
"Settings -> Global Editor Preferences -> Misc -> Log" and set it to "Debug"
You can see what it does when it "hangs"
the log file is under ~/.codelite/codelite.log
Eran
Re: Retag option Grayed
Posted: Fri Sep 07, 2012 12:44 am
by evstevemd
Hi Eran,
sorry for late reply. some stuffs interefered but I'm still suffering same problem. While Ctags does not work at all (retag option still greyed) Clang does not work too.
I have tried to do all suggested above but I seem to hit a wall! Here is part of debugger that I took out of that big file. Tell me if I should attach whole file but here is string containing error I'm getting
Code: Select all
[ 22:49:06:406 DBG ] Calling clang_codeCompleteAt... done
[ 22:49:06:406 DBG ] Found 517 matches
[ 22:49:06:406 DBG ] Completion diagnostic [4]: 'wx/setup.h' file not found
[ 22:49:06:421 DBG ] caching Translation Unit file: /path/to/files/in/project/acMgr.cpp, 0xa8cb2d88
[ 22:49:06:421 DBG ] ==========> [ ClangPchMakerThread ] PCH creation ended successfully <==============
[ 22:49:15:583 DBG ] ==========> ClangDriver::CodeCompletion() started <==============
[ 22:49:15:583 DBG ] DoPrepareCompilationArgs(): Project=Application, Conf=Debug
[ 22:49:15:584 DBG ] Loading compilation flags for file: /path/to/files/in/project/acMgr.cpp
[ 22:49:15:584 DBG ] Loaded compilation flags:
.........................................
Re: Retag option Grayed
Posted: Fri Sep 07, 2012 12:54 am
by eranif
Hi,
Are you using any custom makefile in your project? or just standard codelite build?
Does your workspace reside on a NTFS? - if it does please move it to a regular file system
Anyways, can you please provide here the complete build log file (in order to make clang work, you need at least one full rebuild of your workspace)
Eran
Re: Retag option Grayed
Posted: Fri Sep 07, 2012 2:03 am
by evstevemd
eranif wrote:Hi,
Are you using any custom makefile in your project? or just standard codelite build?
Does your workspace reside on a NTFS? - if it does please move it to a regular file system
Anyways, can you please provide here the complete build log file (in order to make clang work, you need at least one full rebuild of your workspace)
Eran
Actually I use Ubuntu hence No NTFS! I use no custom makefile everything is standard and it used to work!
Re: Retag option Grayed
Posted: Fri Sep 07, 2012 2:11 am
by eranif
evstevemd wrote:NTFS
Oops, I meant: NFS
Eran
Re: Retag option Grayed
Posted: Fri Sep 07, 2012 2:12 am
by eranif
I actually need your *build* log and codelite's log
Eran
Re: Retag option Grayed
Posted: Fri Sep 07, 2012 2:14 am
by evstevemd
eranif wrote:evstevemd wrote:NTFS
Oops, I meant: NFS
Eran
What is it? and where do I find build log?
Re: Retag option Grayed
Posted: Fri Sep 07, 2012 2:17 am
by eranif
I need your *build* log.
Also, did you try moving your code to a directory without any spaces in the path?
Eran
Re: Retag option Grayed
Posted: Fri Sep 07, 2012 2:32 am
by evstevemd
eranif wrote:
Also, did you try moving your code to a directory without any spaces in the path?
Eran
Just did this and intellisense is back
Thank you a lot. Though now the IDE cannot quit until I use force quit (and hence loose current settings ) but I can currently live with that!
Thank you