Noobish auto completion problem with pre installed libs

CodeLite installation/troubleshooting forum
myUsername
CodeLite Curious
Posts: 1
Joined: Fri Apr 15, 2016 3:56 pm
Genuine User: Yes
IDE Question: c++
Contact:

Noobish auto completion problem with pre installed libs

Post by myUsername »

Hi all,

I have been trying out CodeLite for the first time today and I am struggling to get the autocompletion to work for any libraries that I try to include. CodeLite is working brilliantly for files that are in my current project but if I try to use something like SFML, SDL, OpenGL etc I cant get any auto competition to work. Have I completely misunderstood how it works?

I have added paths to where the libraries are located on my computer but I just cant get it to auto complete for me.

Where is the correct place to add your include dirs? I have added the paths in Settings -> Code Completion and I have also added them to the workspace itself. Finally I have added the paths to the Clang Code Completion tab but still nothing. After doing all this I have reloaded the workspace and rebuilt the project but nothing.

Im using version 9.1 on OSX.

Id greatly appreciate the help!
User avatar
eranif
CodeLite Plugin
Posts: 6373
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Noobish auto completion problem with pre installed libs

Post by eranif »

When it comes to code completion, a small workspace that shows the problems is the best way of getting this problem fixed
Eran
Make sure you have read the HOW TO POST thread
Post Reply