www.delorie.com/archives/browse.cgi | search |
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:reply-to:subject:to:references:from:message-id | |
:date:mime-version:in-reply-to:content-type | |
:content-transfer-encoding; q=dns; s=default; b=Zvc6AOvSliEWwEX+ | |
eTGsDMeWWLpAeX5bwgsX8sh0M6Dgx+wDOF//rhNdVv7n72IAbFNOSlnGLcba4yCg | |
I6FnerGTRfU4RNeYXBVR7kkd6n6PVJUVN43ZLrvc/wR2JwOBtzP2pDotpEY/UCsj | |
lM/foXGt2yvbW6CuDh8KQGp4Vh0= | |
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:reply-to:subject:to:references:from:message-id | |
:date:mime-version:in-reply-to:content-type | |
:content-transfer-encoding; s=default; bh=yrxEC153WSoebZBy4laKyL | |
k3VN0=; b=n0H0D2X6Ofmh/mh/78eP9tRVrOC9Iv5HDc4n2N/mi+OPf1lqbev0pl | |
g20pJj2KlEozSuFevakCHliqZYU0lpjBc/pz7KEpiWX+SMVDaKb7pIXEJKGusm7z | |
lV+d0NDj0NHpWiBQUaU6E5HkKtw7lH1b6+N6LsAwhDOg/V5jlQOG4= | |
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=-0.7 required=5.0 tests=BAYES_20,RCVD_IN_DNSWL_LOW,TIME_LIMIT_EXCEEDED autolearn=unavailable version=3.3.2 spammy=Hx-spam-relays-external:sk:smtp-ou, H*RU:sk:smtp-ou, H*r:sk:smtp-ou, HX-HELO:sk:smtp-ou |
X-HELO: | smtp-out-so.shaw.ca |
Reply-To: | Brian DOT Inglis AT SystematicSw DOT ab DOT ca |
Subject: | Re: Fatal errors when compiling x264 from source while Avisynth is enabled |
To: | cygwin AT cygwin DOT com |
References: | <AM4PR0101MB2258CA0652D7B6428CB9B216D5720 AT AM4PR0101MB2258 DOT eurprd01 DOT prod DOT exchangelabs DOT com> |
From: | Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca> |
Openpgp: | preference=signencrypt |
Message-ID: | <fa2a32b3-270a-3804-091a-4534e6e99ebf@SystematicSw.ab.ca> |
Date: | Mon, 4 Mar 2019 20:15:15 -0700 |
User-Agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.5.2 |
MIME-Version: | 1.0 |
In-Reply-To: | <AM4PR0101MB2258CA0652D7B6428CB9B216D5720@AM4PR0101MB2258.eurprd01.prod.exchangelabs.com> |
X-IsSubscribed: | yes |
On 2019-03-04 19:05, Hashim Aziz wrote: > 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. Can I suggest you install cygport, and look at using it, to more easily build Cygwin packages, if there is any kind of common infrastructure used, even just configure && make, autotools, and many other builders, rather than DIY. Once you understand the cygport approach, it helps eliminate a lot of the mismatches doing builds between Cygwin and other Unix platforms, and makes overriding parts of the process and applying or creating patches easier. You can often just apt-get source /package/, get the source .tar.gz out using ar and tar, create a .cygport script, and build. For Debian, GNU, and other popular distro mirrors, cygport can get the source packages directly from their mirrors. -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader discretion is advised. -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |