On 2015-09-28 11:31 AM, St?phane Letz wrote:
> Why are the opus headers access described like this in the .pc file
(located with pkg-config) : Cflags: -I${includedir}/opus
It is a bit unusual. IIRC the argument is that by passing the location
of the header directory to the compiler separately, it is easier to
ensure the compiler finds the correct set of headers. This allows
parallel installs of different versions and avoids confusion between
system and local versions of the headers when doing development of the
library itself.
> #include <opus_types.h >
That's (one of) the reasons for the namespaced filenames: opus_types.h
instead of opus/types.h.
Make sense?
-r