Re: Problem with headers of new library

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



nickohel <nickohel@xxxxxxxxx> writes:

> I 've recently downloaded  and installed the opecv library.The problem is
> that i cant use any of the library header files because the path the library
> is installed is not searched by the gcc for headers.I know i can use the
> -idirafter and -I options but i want a way to permantently make gcc look for
> headers in the path the library is installed (well actually it's a tree of
> paths) .Is there any conf file i must change or a command or something?Any
> help is much appreciated.

You can set the environment variables CPATH, C_INCLUDE_PATH, and/or
CPLUS_INCLUDE_PATH.

http://gcc.gnu.org/onlinedocs/gcc-4.1.0/cpp/Environment-Variables.html#Environment-Variables

Ian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux