#9850 closed defect (worksforme)

Build woes on Win32

Reported by: Jean-Michaël Celerier Owned by:
Priority: normal Component: build system
Version: git-master Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Hello,

given today's ffmpeg-snapshot.tar.bz2 (but this has been happening for a few weeks):

  • Making an out-of-source build does not seem to work anymore, configure still seems to create Makefiles in the ffmpeg source dir
  • At some point during the build I hit errors about weird files which look like a makefile that wasn't written properly:

AR libavfilter/libavfilter.a
C:/ossia-sdk/llvm/bin/llvm-ar.exe: error: libavfilter/v: No such file or directory
make: * [ffbuild/library.mak:38: libavfilter/libavfilter.a] Error 1

And now for the weird, weird thing:

  • if I re-run "make" it still does not work.
  • But ! If I run verbosely with make V=1 then suddenly it works.

I am compiling with clang on a mingw shell, here is my build invocation:

./configure \

--arch=x86_64 --cpu=x86_64 \

--disable-doc --disable-ffmpeg --disable-ffplay \
--disable-debug \
--pkg-config-flags="--static" \
--enable-gpl --enable-version3 \
--disable-openssl --disable-securetransport \
--disable-videotoolbox \
--disable-network --disable-iconv \
--enable-protocols --disable-lzma \
--prefix=c:/ossia-sdk/ffmpeg

Thanks !

Change History (2)

comment:1 by mkver, 21 months ago

You can only use an FFmpeg source tree for out-of-tree builds if you have not configured it for in-tree-builds. You can try "make distclean" in the source tree to purge it to make external builds work again.

comment:2 by Carl Eugen Hoyos, 20 months ago

Keywords: mingw removed
Resolution: worksforme
Status: newclosed

Out-of-tree builds work fine here on Linux and Windows

Note: See TracTickets for help on using tickets.