delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/03/04/21:05:58

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:subject:date:message-id:mime-version
:content-type:content-transfer-encoding; q=dns; s=default; b=UsT
nAOvOtz5jKL7veaEBqdcoicgjxWI6Xedioiz80t2i2zrzTradT8cltL166s2C0+8
nXYlfvnjrBIQuI/0i76tzl6aZbSfHvZzYzOm4La3+ydRTLnKJ+dqCOWwLp4RgrvZ
6bwRzVAggNSzREdu1R8AGmYs+0Na4cNOJfAWgoDg=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:subject:date:message-id:mime-version
:content-type:content-transfer-encoding; s=default; bh=aTA7zbziE
re7BFDUDCEScdJ22Is=; b=GjOt3wPKyCRawbzf3Vj7LwlSroXrOTEaIIhM9VxYz
T0V0He6bwUuSxGN5lOll5LM7ndjmhQUBqvDGcUj8YJqDmjiEJxwq6vM6KxW0uPlT
LA6KvtewZxCBdANP5Ae+SkLwOi656MeVYDVrHjFNZTxe7t8UASvjco7LabdtmbBb
n8=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-1.0 required=5.0 tests=BAYES_00,FORGED_HOTMAIL_RCVD2,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.2 spammy=H*r:15.20.1643.21, Hx-spam-relays-external:15.20.1643.21, H*RU:15.20.1643.21, Hx-languages-length:3421
X-HELO: EUR01-HE1-obe.outbound.protection.outlook.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=qPaAHQwbOSpPhCG7PSa+5evNGZpHa1bE1m6xbmbQunw=; b=r72D1AMAGqoW4hjrI2i7Zqqv7D0/n1yMx1wRrAI5mOxanTTSzw07ZU31AJalsXAxjdXnVxxeop77ij//nyduBg4/iloDD5PDE+FIWXmfKauMqQ2CGeg7SfxpLspGQLuOVn7YGJlE5JvROKlYSrJTjLYlSYZzeS9h5klcX0QePo7newjwiCLJSexTqGixyU+C7iTSmiBpRsJmX6Qpy9U+WByRza7hP8zaEMXVKrqG1y/mvaa75uPnXBu1/QTbcR9kiHLIltUeCFr3qfuwqz3s5rtvV7kHQtXwP9qGDnnU4vl2ZpHlvFYUEOu5ymmGsPEDjbVvfWRvTDw7EPRCNOVW8A==
From: Hashim Aziz <hashaziz AT hotmail DOT com>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: Fatal errors when compiling x264 from source while Avisynth is enabled
Date: Tue, 5 Mar 2019 02:05:40 +0000
Message-ID: <AM4PR0101MB2258CA0652D7B6428CB9B216D5720@AM4PR0101MB2258.eurprd01.prod.exchangelabs.com>
MIME-Version: 1.0
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id x2525uYh010302

I'm trying to follow the FFmpeg wiki's guide here to build FFmpeg from source with the most superior codecs it can make use of, like libfdk-aac and libopus:

https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu

I've sorted many of the dependencies to get it to work on Cygwin, and thankfully I didn't need to build most of the packages in that guide from source because they were included in the Cygwin repository, but there are 2 or 3 that are not, including x264 and x265.

So I'm now trying to build x624 from source with the following command:

cd /ffmpeg_sources && git -C x264 pull 2> /dev/null || git clone --depth 1 https://git.videolan.org/git/x264 && cd x264 && PATH="/usr/local/bin:$PATH" PKG_CONFIG_PATH="/ffmpeg_build/lib/pkgconfig" ./configure --prefix="/ffmpeg_build" --bindir="/usr/local/bin" --enable-static --enable-pic && PATH="usr/local/bin:$PATH" make -j4 && make install

But at the configure stage of this command, I get a few errors and lots of warnings, but the final  error is this one:

[Makefile:272: input/avs.o] Error 1

I believe this is a Cygwin error based on the fact that the error immediately before the one above is the HMODULE error here:

https://stackoverflow.com/questions/45181102/ffmpeg-on-cygwin-failed-to-compile-libx264-error-unknown-type-name-hmodule

And in that question the OP and another answer are trying to follow the very same guide while using Cygwin on the same 64-bit Windows 7.

What's the problem here and how can I solve it? The errors go away and the compilation works when I include --disable-avs, but I don't want the version of FFmpeg that I build to come without AVS/Avisynth support.

Thank you in advance.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019