Hi:
I'm trying to open OpenCV's header files, which are installed under /usr/local/include/opencv , but failed.
I succeeded in opening boost's and gsl's header files, which are automatically installed under /usr/include by system.
Better to have a look at the video: (around 13.3 mega)
http://www.visionopen.com/cantopenheader.ogv
So, CodeLite seems to ignore some "non-system" folders, right?
But, can we just set it up manually, to facilitate the head file searching?
Best Regards
JIA
Open header file of self installed packages...
-
- CodeLite Expert
- Posts: 115
- Joined: Wed Dec 30, 2009 8:29 am
- Genuine User: Yes
- IDE Question: C++
- Location: Surrey, BC, Canada
- Contact:
Open header file of self installed packages...
Welcome to Vision Open
http://www.visionopen.com
http://www.visionopen.com
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Open header file of self installed packages...
To open include files, you need to add them to the code completion parser search paths.
Please read this article, it explains how to set the includes paths to the code completion parser in details:
http://codelite.org/LiteEditor/SettingUpCodeCompletion
Eran
Please read this article, it explains how to set the includes paths to the code completion parser in details:
http://codelite.org/LiteEditor/SettingUpCodeCompletion
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Expert
- Posts: 115
- Joined: Wed Dec 30, 2009 8:29 am
- Genuine User: Yes
- IDE Question: C++
- Location: Surrey, BC, Canada
- Contact:
Re: Open header file of self installed packages...
How does codelite search for the code completion?
I found that if it is a "namespace", "struct", "class", then, it is possible for me to trace into the code.
However, if it is defined by something else. namely "predefinitions", say
then, AAA seems unable to be traced.
I recorded a new demo and hope you can understand what I'm talking about, still at the same link address:
http://www.visionopen.com/cantopenheader.ogv
By the way, which folder is for STL ? I can't even traced into the definition of "vector"?
Isn't it in the standard C++ folder? Say??
It looks like default Ubuntu 9.10 doesn't afford C++ source code. right?
There seems to be nothing like g++-dev???
Best Regards
JIA Pei
I found that if it is a "namespace", "struct", "class", then, it is possible for me to trace into the code.
However, if it is defined by something else. namely "predefinitions", say
Code: Select all
#define AAA BBB
I recorded a new demo and hope you can understand what I'm talking about, still at the same link address:
http://www.visionopen.com/cantopenheader.ogv
By the way, which folder is for STL ? I can't even traced into the definition of "vector"?
Isn't it in the standard C++ folder? Say
Code: Select all
/usr/include/C++/4.4.1
It looks like default Ubuntu 9.10 doesn't afford C++ source code. right?
There seems to be nothing like g++-dev???
Best Regards
JIA Pei
Welcome to Vision Open
http://www.visionopen.com
http://www.visionopen.com
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Open header file of self installed packages...
Can u give me a link to your libraries + sample code so I could test it here to see what configuration you are missing?
Eran
Eran
Make sure you have read the HOW TO POST thread