[FFmpeg-trac] #6443(build system:new): Fail in the install step when cross-compiling with mingw
FFmpeg
trac at avcodec.org
Mon Jun 5 21:27:48 EEST 2017
#6443: Fail in the install step when cross-compiling with mingw
-------------------------------------+-------------------------------------
Reporter: piponazo | Type: defect
Status: new | Priority: normal
Component: build | Version:
system | unspecified
Keywords: cross- | Blocked By:
compilation, mingw, windows | Reproduced by developer: 0
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug:
I am trying to generate the libraries binaries for windows from Linux
(Ubuntu 16.04). In order to so, I am using the mingw cross-compiler. The
libraries are correctly generated in the build step (the .dll and .dll.a
files), but in the install step I go this error:
{{{
LD libavcodec/avcodec-57.dll
LD libavformat/avformat-57.dll
LD libavfilter/avfilter-6.dll
INSTALL libavfilter/avfilter.dll
STRIP install-libavfilter-shared
INSTALL libavfilter/avfilter.dll
install: cannot stat 'libavfilter/avfilter.lib': No such file or directory
library.mak:93: recipe for target 'install-libavfilter-shared' failed
make: *** [install-libavfilter-shared] Error 1
}}}
How to reproduce:
{{{
1) Clone project
2) Run configure:
# ./configure --enable-pic --enable-shared --disable-static --disable-
symver --disable-ffplay --disable-ffprobe --disable-devices --disable-
avdevice --disable-nonfree --disable-gpl --disable-doc --enable-avresample
--enable-demuxer=rtsp --enable-muxer=rtsp --disable-bzlib --disable-
programs --disable-swresample --cc=/usr/bin/x86_64-w64-mingw32-gcc
--cxx=/usr/bin/x86_64-w64-mingw32-g++ --prefix=/tmp --arch=x86 --target-
os=mingw32 --enable-cross-compile
3) make -j4
4) make install
}}}
Am I missing something in the configuration step?
--
Ticket URL: <https://trac.ffmpeg.org/ticket/6443>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list