[Libav-user] makefile problem on win32 MinGW

Thomas Sharpless tksharpless at gmail.com
Sat Mar 30 04:55:28 CET 2013


I have built older versions of ffmpeg on my Windows system using MinGW, but
the latest snapshot refuses to build.
 After a bit of fuss I got a configure command to (almost) run to
completion:

$ ./configure --prefix=.. --enable-gpl --enable-version3 --disable-programs
> --d
> isable-doc --enable-libx264 --extra-ldflags="-L ../lib" --extra-cflags="-I
> ../i
> nclude" --extra-libs=/mingw/lib/libpthread.dll.a
>

The last thing configure prints is

License: GPL version 3 or later
> Creating config.mak and config.h...
> ./configure: line 4652: git: command not found
> ./configure: line 4652: git: command not found
>

The very last part of the configure script fails but it looks to me like
all it is trying to do is make sure the source code is totally current.
This is because I cloned the git repo with a windows utility and there is
no git installed in my MinGW.

But then, horrors!

$ make
> common.mak:139: *** missing separator.  Stop.
>

That bit of common.mak reads (last line is 139):

>
> define RULES
> clean::
>     $(RM) $(OBJS) $(OBJS:.o=.d)
>     $(RM) $(HOSTPROGS)
>     $(RM) $(TOOLS)
> endef
>
> $(eval $(RULES))
>
> This is not due to any obvious missing tab character in common.mak.  Can
anyone diagnose?  I really need this build!
--Tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20130329/fa1d6f82/attachment.html>


More information about the Libav-user mailing list