Opened 3 years ago

#6443 new defect

Fail in the install step when cross-compiling with mingw

Reported by: piponazo Owned by:
Priority: normal Component: build system
Version: unspecified Keywords: cross-compilation, mingw, windows
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no


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?

Change History (0)

Note: See TracTickets for help on using tickets.