[opus] opusfile Include fix

Alexander Panchenko panchenko at qtech.ru
Mon Sep 18 09:44:08 UTC 2017


Hi,

in this case it should be the same situation with the previous line 
where ogg.h is included, i.e. opusfile should add /usr/include/ogg to 
it's include path and then use

#include<ogg.h>

instead of

#include<ogg/ogg.h>

Obviously, it's not a good idea to include a separate search path for 
every library used in the project since all these libraries are 
installed into /usr/include/ and you just can use

#include<library1/header1.h>
#include<library2/header2.h>
etc.

Best regards,
Alexander

16.09.2017 09:12, Jean-Marc Valin wrote:
> Actually, you're supposed to add /usr/include/opus to your include path.
> That's why the includes don't have the "opus/" prefix.
> 
> Cheers,
> 
> 	Jean-Marc
> 
> On 31/08/17 05:20 AM, Alexander Panchenko wrote:
>> Hi all!
>> When compiling the program using opusfile the
>>
>> #include <opus/opusfile.h>
>>
>> generates error that
>>
>> # include <opus_multistream.h>
>>
>> is not found. Actually it should be included as
>>
>> # include <opus/opus_multistream.h>
>>
>> just like the ogg.h in the previous line.
>>
>> A small patch attached.
>>
>>
>>
>> _______________________________________________
>> opus mailing list
>> opus at xiph.org
>> http://lists.xiph.org/mailman/listinfo/opus
>>


More information about the opus mailing list