[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.newcomer] Re: Include libraries Eclipse 3.3.2 CDT

Charles Pergiel wrote:
I sorted this one out. If you use the little icons, there is a browse feature. You can add a directory by just typing it in, but you can't tell if it will work or not. So . and ./ don't work. Why you should have to specify the current local directory, the same one the source file is in, is beyond me. Oh, thank yee, great inscrutable gnu.



The paths are relative to the directory the file is compiled in. The files is compiled in the "Debug" directory, so you have to add ".." to your include path (or "../dir" if your header is is in a directory called dir).

--
Derek