FFmpeg Configure error, Help need

classic Classic list List threaded Threaded
15 messages Options
Reply | Threaded
Open this post in threaded view
|

FFmpeg Configure error, Help need

Dinesh Gupta
Hi All,

      I am trying to build FFmpeg 4.1 on windows 10 professional machine. I
installed MSVC 2017 with SDK 10.0.17763.0

When I tried to configure then it throw error 'Opus not found using
pkg-config'. Where as I have 'opus' library in the specified folder.

I observed that while configuring project it create 'ffconf.JdAgoDDK'
random directory and compiled but unable to find  'opus_multistream.h'. But
this file exist in the include folder.
I am attaching config.log

       ./configure --toolchain=msvc
--prefix=/d/smallgame/ffmpeg_win/deps.posix \
        --pkg-config-flags="--static" \
        --enable-shared --enable-pic \
        --enable-cuda --enable-cuvid --enable-nvenc \
        --disable-small --disable-libopus \
        --enable-libtheora --enable-libvorbis \
        --enable-libx264 --enable-libvpx \
        --enable-libx265 --enable-libopus \
        --enable-libxvid --enable-avdevice \
        --enable-avcodec --enable-avformat --enable-postproc \
        --enable-avfilter \
        --enable-swresample --enable-swscale \
        --enable-gpl --enable-nonfree --disable-outdev=sdl \
        --extra-cflags=-I/d/smallgame/ffmpeg_win/deps.posix/include \
        --extra-ldflags=-L/d/smallgame/ffmpeg_win/deps.posix/lib
ERROR: opus not found using pkg-config

English is not my Native language. Please understand it.

_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".

config.log (569K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: FFmpeg Configure error, Help need

Reindl Harald


Am 03.01.19 um 07:13 schrieb Dinesh Gupta:
> When I tried to configure then it throw error 'Opus not found using
> pkg-config'. Where as I have 'opus' library in the specified folder.

only the library or the needed devel stuff too?

> I observed that while configuring project it create 'ffconf.JdAgoDDK'
> random directory and compiled but unable to find  'opus_multistream.h'. But
> this file exist in the include folder.
> I am attaching config.log
>
>        ./configure --toolchain=msvc
> --prefix=/d/smallgame/ffmpeg_win/deps.posix \
>         --pkg-config-flags="--static" \
>         --enable-shared --enable-pic \
>         --enable-cuda --enable-cuvid --enable-nvenc \
>         --disable-small --disable-libopus \
>         --enable-libtheora --enable-libvorbis \
>         --enable-libx264 --enable-libvpx \
>         --enable-libx265 --enable-libopus \
>         --enable-libxvid --enable-avdevice \
>         --enable-avcodec --enable-avformat --enable-postproc \
>         --enable-avfilter \
>         --enable-swresample --enable-swscale \
>         --enable-gpl --enable-nonfree --disable-outdev=sdl \
>         --extra-cflags=-I/d/smallgame/ffmpeg_win/deps.posix/include \
>         --extra-ldflags=-L/d/smallgame/ffmpeg_win/deps.posix/lib
> ERROR: opus not found using pkg-config
>
> English is not my Native language. Please understand it.

--disable-libopus --enable-libopus

chose one!
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: FFmpeg Configure error, Help need

Dinesh Gupta
Hi,

I need development stuff too.
I need opus lib. Even if I disable opus still it not disabling opus.

Thanks

On Thu, 3 Jan, 2019, 12:53 PM Reindl Harald <[hidden email] wrote:

>
>
> Am 03.01.19 um 07:13 schrieb Dinesh Gupta:
> > When I tried to configure then it throw error 'Opus not found using
> > pkg-config'. Where as I have 'opus' library in the specified folder.
>
> only the library or the needed devel stuff too?
>
> > I observed that while configuring project it create 'ffconf.JdAgoDDK'
> > random directory and compiled but unable to find  'opus_multistream.h'.
> But
> > this file exist in the include folder.
> > I am attaching config.log
> >
> >        ./configure --toolchain=msvc
> > --prefix=/d/smallgame/ffmpeg_win/deps.posix \
> >         --pkg-config-flags="--static" \
> >         --enable-shared --enable-pic \
> >         --enable-cuda --enable-cuvid --enable-nvenc \
> >         --disable-small --disable-libopus \
> >         --enable-libtheora --enable-libvorbis \
> >         --enable-libx264 --enable-libvpx \
> >         --enable-libx265 --enable-libopus \
> >         --enable-libxvid --enable-avdevice \
> >         --enable-avcodec --enable-avformat --enable-postproc \
> >         --enable-avfilter \
> >         --enable-swresample --enable-swscale \
> >         --enable-gpl --enable-nonfree --disable-outdev=sdl \
> >         --extra-cflags=-I/d/smallgame/ffmpeg_win/deps.posix/include \
> >         --extra-ldflags=-L/d/smallgame/ffmpeg_win/deps.posix/lib
> > ERROR: opus not found using pkg-config
> >
> > English is not my Native language. Please understand it.
>
> --disable-libopus --enable-libopus
>
> chose one!
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: FFmpeg Configure error, Help need

Reindl Harald


Am 03.01.19 um 08:49 schrieb Dinesh Gupta:
> I need development stuff too.

whatever that means

> I need opus lib. Even if I disable opus still it not disabling opus.


AGAIN: you have that twice and the enable likely wins

--disable-libopus --enable-libopus

CHOSE ONE

> On Thu, 3 Jan, 2019, 12:53 PM Reindl Harald <[hidden email] wrote:
>
>>
>>
>> Am 03.01.19 um 07:13 schrieb Dinesh Gupta:
>>> When I tried to configure then it throw error 'Opus not found using
>>> pkg-config'. Where as I have 'opus' library in the specified folder.
>>
>> only the library or the needed devel stuff too?
>>
>>> I observed that while configuring project it create 'ffconf.JdAgoDDK'
>>> random directory and compiled but unable to find  'opus_multistream.h'.
>> But
>>> this file exist in the include folder.
>>> I am attaching config.log
>>>
>>>        ./configure --toolchain=msvc
>>> --prefix=/d/smallgame/ffmpeg_win/deps.posix \
>>>         --pkg-config-flags="--static" \
>>>         --enable-shared --enable-pic \
>>>         --enable-cuda --enable-cuvid --enable-nvenc \
>>>         --disable-small --disable-libopus \
>>>         --enable-libtheora --enable-libvorbis \
>>>         --enable-libx264 --enable-libvpx \
>>>         --enable-libx265 --enable-libopus \
>>>         --enable-libxvid --enable-avdevice \
>>>         --enable-avcodec --enable-avformat --enable-postproc \
>>>         --enable-avfilter \
>>>         --enable-swresample --enable-swscale \
>>>         --enable-gpl --enable-nonfree --disable-outdev=sdl \
>>>         --extra-cflags=-I/d/smallgame/ffmpeg_win/deps.posix/include \
>>>         --extra-ldflags=-L/d/smallgame/ffmpeg_win/deps.posix/lib
>>> ERROR: opus not found using pkg-config
>>>
>>> English is not my Native language. Please understand it.
>>
>> --disable-libopus --enable-libopus
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: FFmpeg Configure error, Help need

Dinesh Gupta
>>>> whatever that means
Means I tried to after remove --enable-libopus. But still got the error.

Thank you for highlighting the issue. But I need the libopus.

Help me to resolve the issue issue


Thanks,


On Thu, Jan 3, 2019 at 1:29 PM Reindl Harald <[hidden email]> wrote:

>
>
> Am 03.01.19 um 08:49 schrieb Dinesh Gupta:
> > I need development stuff too.
>
> whatever that means
>
> > I need opus lib. Even if I disable opus still it not disabling opus.
>
>
> AGAIN: you have that twice and the enable likely wins
>
> --disable-libopus --enable-libopus
>
> CHOSE ONE
>
> > On Thu, 3 Jan, 2019, 12:53 PM Reindl Harald <[hidden email]
> wrote:
> >
> >>
> >>
> >> Am 03.01.19 um 07:13 schrieb Dinesh Gupta:
> >>> When I tried to configure then it throw error 'Opus not found using
> >>> pkg-config'. Where as I have 'opus' library in the specified folder.
> >>
> >> only the library or the needed devel stuff too?
> >>
> >>> I observed that while configuring project it create 'ffconf.JdAgoDDK'
> >>> random directory and compiled but unable to find  'opus_multistream.h'.
> >> But
> >>> this file exist in the include folder.
> >>> I am attaching config.log
> >>>
> >>>        ./configure --toolchain=msvc
> >>> --prefix=/d/smallgame/ffmpeg_win/deps.posix \
> >>>         --pkg-config-flags="--static" \
> >>>         --enable-shared --enable-pic \
> >>>         --enable-cuda --enable-cuvid --enable-nvenc \
> >>>         --disable-small --disable-libopus \
> >>>         --enable-libtheora --enable-libvorbis \
> >>>         --enable-libx264 --enable-libvpx \
> >>>         --enable-libx265 --enable-libopus \
> >>>         --enable-libxvid --enable-avdevice \
> >>>         --enable-avcodec --enable-avformat --enable-postproc \
> >>>         --enable-avfilter \
> >>>         --enable-swresample --enable-swscale \
> >>>         --enable-gpl --enable-nonfree --disable-outdev=sdl \
> >>>         --extra-cflags=-I/d/smallgame/ffmpeg_win/deps.posix/include \
> >>>         --extra-ldflags=-L/d/smallgame/ffmpeg_win/deps.posix/lib
> >>> ERROR: opus not found using pkg-config
> >>>
> >>> English is not my Native language. Please understand it.
> >>
> >> --disable-libopus --enable-libopus
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: FFmpeg Configure error, Help need

Paul B Mahol
On 1/3/19, Dinesh Gupta <[hidden email]> wrote:
>>>>> whatever that means
> Means I tried to after remove --enable-libopus. But still got the error.
>
> Thank you for highlighting the issue. But I need the libopus.
>
> Help me to resolve the issue issue

Then keep that one and remove another one?
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: FFmpeg Configure error, Help need

Dinesh Gupta
Did the same but getting issue as previously mentioned

On Thu, 3 Jan, 2019, 2:22 PM Paul B Mahol <[hidden email] wrote:

> On 1/3/19, Dinesh Gupta <[hidden email]> wrote:
> >>>>> whatever that means
> > Means I tried to after remove --enable-libopus. But still got the error.
> >
> > Thank you for highlighting the issue. But I need the libopus.
> >
> > Help me to resolve the issue issue
>
> Then keep that one and remove another one?
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: FFmpeg Configure error, Help need

Reindl Harald


Am 03.01.19 um 18:30 schrieb Dinesh Gupta:
> Did the same but getting issue as previously mentioned

please always post your complete command line and output and don't top
post if you want help
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: FFmpeg Configure error, Help need

Dinesh Gupta
Dinesh Gupta <[hidden email]>
[image: Attachments]Thu, Jan 3, 11:43 AM (1 day ago)
to FFmpeg

> please always post your complete command line and output and don't top
post if you want help

      I am trying to build FFmpeg 4.1 on windows 10 professional machine. I
installed MSVC 2017 with SDK 10.0.17763.0

When I tried to configure then it throw error 'Opus not found using
pkg-config'. Where as I have 'opus' library in the specified folder.

I observed that while configuring project it create 'ffconf.JdAgoDDK'
random directory and compiled but unable to find  'opus_multistream.h'. But
this file exist in the include folder.
I am attaching config.log

       ./configure --toolchain=msvc
--prefix=/d/smallgame/ffmpeg_win/deps.posix \
        --pkg-config-flags="--static" \
        --enable-shared --enable-pic \
        --enable-cuda --enable-cuvid --enable-nvenc \
        --disable-small \
        --enable-libtheora --enable-libvorbis \
        --enable-libx264 --enable-libvpx \
        --enable-libx265 --enable-libopus \
        --enable-libxvid --enable-avdevice \
        --enable-avcodec --enable-avformat --enable-postproc \
        --enable-avfilter \
        --enable-swresample --enable-swscale \
        --enable-gpl --enable-nonfree --disable-outdev=sdl \
        --extra-cflags=-I/d/smallgame/ffmpeg_win/deps.posix/include \
        --extra-ldflags=-L/d/smallgame/ffmpeg_win/deps.posix/lib

ERROR: opus not found using pkg-config.

Thanks,

On Thu, Jan 3, 2019 at 11:40 PM Reindl Harald <[hidden email]>
wrote:

>
>
> Am 03.01.19 um 18:30 schrieb Dinesh Gupta:
> > Did the same but getting issue as previously mentioned
>
> please always post your complete command line and output and don't top
> post if you want help
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".

_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".

config.log (569K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: FFmpeg Configure error, Help need

Moritz Barsnick
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
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: FFmpeg Configure error, Help need

Carl Eugen Hoyos-2
In reply to this post by Dinesh Gupta
2019-01-03 7:13 GMT+01:00, Dinesh Gupta <[hidden email]>:

>        ./configure --toolchain=msvc
> --prefix=/d/smallgame/ffmpeg_win/deps.posix \
>         --pkg-config-flags="--static" \

>         --enable-shared --enable-pic \

Why is "--enable-pic" needed? Is that a bug we don't know about?

>         --enable-cuda --enable-cuvid --enable-nvenc \

>         --disable-small --disable-libopus \

I believe "--disable-libopus --enable-libopus" invokes
undefined behaviour.

>         --enable-libtheora --enable-libvorbis \
>         --enable-libx264 --enable-libvpx \
>         --enable-libx265 --enable-libopus \
>         --enable-libxvid

> --enable-avdevice \
>         --enable-avcodec --enable-avformat --enable-postproc \
>         --enable-avfilter --enable-swscale \

These have no effect and make debugging more difficult.

>         --enable-swresample \
>         --enable-gpl --enable-nonfree --disable-outdev=sdl \
>         --extra-cflags=-I/d/smallgame/ffmpeg_win/deps.posix/include \
>         --extra-ldflags=-L/d/smallgame/ffmpeg_win/deps.posix/lib

> ERROR: opus not found using pkg-config

What does the following show?
$ pkg-config --print-errors --cflags opus

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: FFmpeg Configure error, Help need

Dinesh Gupta
Below commend
>    $ pkg-config --print-errors --cflags opus
output as below
-I/opus

If u see the log file, last error is as :

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

why it is failing.?

Regards,
Dinesh

On Sun, Jan 6, 2019 at 6:11 PM Carl Eugen Hoyos <[hidden email]> wrote:

> 2019-01-03 7:13 GMT+01:00, Dinesh Gupta <[hidden email]>:
>
> >        ./configure --toolchain=msvc
> > --prefix=/d/smallgame/ffmpeg_win/deps.posix \
> >         --pkg-config-flags="--static" \
>
> >         --enable-shared --enable-pic \
>
> Why is "--enable-pic" needed? Is that a bug we don't know about?
>
> >         --enable-cuda --enable-cuvid --enable-nvenc \
>
> >         --disable-small --disable-libopus \
>
> I believe "--disable-libopus --enable-libopus" invokes
> undefined behaviour.
>
> >         --enable-libtheora --enable-libvorbis \
> >         --enable-libx264 --enable-libvpx \
> >         --enable-libx265 --enable-libopus \
> >         --enable-libxvid
>
> > --enable-avdevice \
> >         --enable-avcodec --enable-avformat --enable-postproc \
> >         --enable-avfilter --enable-swscale \
>
> These have no effect and make debugging more difficult.
>
> >         --enable-swresample \
> >         --enable-gpl --enable-nonfree --disable-outdev=sdl \
> >         --extra-cflags=-I/d/smallgame/ffmpeg_win/deps.posix/include \
> >         --extra-ldflags=-L/d/smallgame/ffmpeg_win/deps.posix/lib
>
> > ERROR: opus not found using pkg-config
>
> What does the following show?
> $ pkg-config --print-errors --cflags opus
>
> Carl Eugen
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: FFmpeg Configure error, Help need

Carl Eugen Hoyos-2
2019-01-08 16:13 GMT+01:00, Dinesh Gupta <[hidden email]>:

> Below commend
>>    $ pkg-config --print-errors --cflags opus
> output as below
> -I/opus
>
> If u see the log file, last error is as :
>
> 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
>
> why it is failing.?

What does the following show?
$ ls -l /opus

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: FFmpeg Configure error, Help need

Dinesh Gupta
Output of command
  >  $echo $PKG_CONFIG_PATH
/d/smallgame/ffmpeg_win/deps.posix/lib/pkgconfig:/opt/local/lib/pkgconfig:/usr/lib/i386-linux-gnu/pkgconfig/:/usr/lib/pkgconfig

> cd /d/smallgame/ffmpeg_win/deps.posix/lib/pkgconfig
> ls -I/opus
ffnvcodec.pc  freetype2.pc  libvpx.pc  ogg.pc  opus.pc  sdl2.pc
SDL2_ttf.pc  theora.pc  theoradec.pc  theoraenc.pc  vorbis.pc
vorbisenc.pc  vorbisfile.pc  x264.pc  x265.pc

Output of Command
> cat opus.pc
# Opus codec reference implementation pkg-config file

prefix=/d/smallgame/ffmpeg_win/deps.posix
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

Name: Opus
Description: Opus IETF audio codec (floating-point build)
URL: https://opus-codec.org/
Version: 1.3
Requires:
Conflicts:
Libs: -L -lopus
Libs.private: -lm
Cflags: -I/opus
-------------------------
When I am in make src directory
> cd /d/smallgame/ffmpeg_win/deps.src/
> ls -I/opus
EasyHook-2.7.tar.gz     last_stable_x264.tar.bz2
live.2018.10.10.tar.gz      msinttypes-r26.tar.gz
SDL2_ttf-2.0.14.tar.gz               xvidmsvc2017.tar.gz
ffmpeg-4.1              libogg-1.3.3.tar.gz           live.2018.12.03-bin
       NotBuildMSVC2017                   SDL2-2.0.9.tar.gz
    yasm-1.3.0.tar.gz
ffmpeg-4.1.tar.bz2      libtheora-1.2.0alpha1.tar.gz
live.2018.12.03-bin.tar.gz  opus-1.3.tar.gz                    test.txt
ffnvcodec.tar.gz        libvorbis-1.3.6.tar.gz        Makefile
      patches                            x264-snapshot-20151001-2245.tar.bz2
freetype-2.9.1.tar.bz2  libvpx-1.7.0.tar.gz           Makefile.bak
      pthreads-w32-2-9-1-release.tar.gz  x265_2.9.tar.gz
lame-3.100.tar.gz       list-pkgs.sh                  Makefile.packages
       rtsp.h                             xvidcore-1.3.5.tar.gz

Thanks,
Dinesh


On Thu, Jan 10, 2019 at 2:17 AM Carl Eugen Hoyos <[hidden email]> wrote:

> 2019-01-08 16:13 GMT+01:00, Dinesh Gupta <[hidden email]>:
> > Below commend
> >>    $ pkg-config --print-errors --cflags opus
> > output as below
> > -I/opus
> >
> > If u see the log file, last error is as :
> >
> > 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
> >
> > why it is failing.?
>
> What does the following show?
> $ ls -l /opus
>
> Carl Eugen
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: FFmpeg Configure error, Help need

Carl Eugen Hoyos-2
2019-01-10 8:33 GMT+01:00, Dinesh Gupta <[hidden email]>:

> Output of command
>   >  $echo $PKG_CONFIG_PATH
> /d/smallgame/ffmpeg_win/deps.posix/lib/pkgconfig:/opt/local/lib/pkgconfig:/usr/lib/i386-linux-gnu/pkgconfig/:/usr/lib/pkgconfig
>
>> cd /d/smallgame/ffmpeg_win/deps.posix/lib/pkgconfig
>> ls -I/opus
> ffnvcodec.pc  freetype2.pc  libvpx.pc  ogg.pc  opus.pc  sdl2.pc
> SDL2_ttf.pc  theora.pc  theoradec.pc  theoraenc.pc  vorbis.pc
> vorbisenc.pc  vorbisfile.pc  x264.pc  x265.pc
>
> Output of Command
>> cat opus.pc
> # Opus codec reference implementation pkg-config file
>
> prefix=/d/smallgame/ffmpeg_win/deps.posix
> exec_prefix=${prefix}
> libdir=${exec_prefix}/lib
> includedir=${prefix}/include
>
> Name: Opus
> Description: Opus IETF audio codec (floating-point build)
> URL: https://opus-codec.org/
> Version: 1.3
> Requires:
> Conflicts:
> Libs: -L -lopus
> Libs.private: -lm
> Cflags: -I/opus

Looks broken.

Unfortunately, we will not be able to help you:
I believe this is a fundamental issue of requiring pkg-config,
others disagree;-(

> -------------------------
> When I am in make src directory
>> cd /d/smallgame/ffmpeg_win/deps.src/
>> ls -I/opus
> EasyHook-2.7.tar.gz     last_stable_x264.tar.bz2
> live.2018.10.10.tar.gz      msinttypes-r26.tar.gz
> SDL2_ttf-2.0.14.tar.gz               xvidmsvc2017.tar.gz
> ffmpeg-4.1              libogg-1.3.3.tar.gz           live.2018.12.03-bin
>        NotBuildMSVC2017                   SDL2-2.0.9.tar.gz
>     yasm-1.3.0.tar.gz
> ffmpeg-4.1.tar.bz2      libtheora-1.2.0alpha1.tar.gz
> live.2018.12.03-bin.tar.gz  opus-1.3.tar.gz                    test.txt
> ffnvcodec.tar.gz        libvorbis-1.3.6.tar.gz        Makefile
>       patches                            x264-snapshot-20151001-2245.tar.bz2
> freetype-2.9.1.tar.bz2  libvpx-1.7.0.tar.gz           Makefile.bak
>       pthreads-w32-2-9-1-release.tar.gz  x265_2.9.tar.gz
> lame-3.100.tar.gz       list-pkgs.sh                  Makefile.packages
>        rtsp.h                             xvidcore-1.3.5.tar.gz

Please do not top-post here if you request support, Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".