[FFmpeg-user] FFmpeg Configure error, Help need
Dinesh Gupta
dinesh.gupta01 at gmail.com
Tue Jan 8 17:13:46 EET 2019
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 <ceffmpeg at gmail.com> wrote:
> 2019-01-03 7:13 GMT+01:00, Dinesh Gupta <dinesh.gupta01 at gmail.com>:
>
> > ./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
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
More information about the ffmpeg-user
mailing list