On Fri, Jan 04, 2019 at 14:07:20 +0530, Dinesh Gupta wrote:
> require_pkg_config libopus opus opus_multistream.h 
> opus_multistream_decoder_create
> check_pkg_config libopus opus opus_multistream.h 
> opus_multistream_decoder_create
> test_pkg_config libopus opus opus_multistream.h 
> opus_multistream_decoder_create
> pkg-config --exists --print-errors opus
> check_func_headers opus_multistream.h opus_multistream_decoder_create -I/opus 
> -L -lopus -lm

This looks fishy.

> test_ld cc -I/opus -L -lopus -lm
> test_cc -I/opus -libpath:
> BEGIN ./ffconf.yojz8TRA/test.c
>     1 #include <opus_multistream.h>
>     2 #include <stdint.h>
>     3 long check_opus_multistream_decoder_create(void) { return (long) 
> opus_multistream_decoder_create; }
>     4 int main(void) { int ret = 0;
>     5  ret |= ((intptr_t)check_opus_multistream_decoder_create) & 0xFFFF;
>     6 return ret; }
> END ./ffconf.yojz8TRA/test.c
> cl -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE 
> -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_WARNINGS 
> -D_WIN32_WINNT=0x0600 -DPIC -nologo 
> -I/d/smallgame/ffmpeg_win/deps.posix/include 
> -I/d/smallgame/ffmpeg_win/deps.posix/include -I/opus -libpath: -c 
> -Fo./ffconf.yojz8TRA/test.o ./ffconf.yojz8TRA/test.c
> cl : Command line warning D9002 : ignoring unknown option '-libpath:'
> test.c
> ./ffconf.yojz8TRA/test.c(1): fatal error C1083: Cannot open include file: 
> 'opus_multistream.h': No such file or directory

Is opus_multistream.h actually located in
/d/smallgame/ffmpeg_win/deps.posix/include/opus?

Could you try setting the environment variable PKG_CONFIG_SYSROOT_DIR
to "/d/smallgame/ffmpeg_win/deps.posix" before running configure? (I
don't know if configure should take over this, or if there's a proper
option. Since it's not a cross-compile, "--sysroot=" seems incorrect.)

Cheers,
Moritz
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to