cygwin block on cmake command

Issue #257 closed
Andy Kimpe created an issue

https://cygwin.com/

https://cygwin.com/setup-x86.exe (install minimal + wget for support apt-cyg)

https://github.com/transcode-open/apt-cyg

adapted package list based to ffmpeg centos build

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

lynx -source rawgit.com/transcode-open/apt-cyg/master/apt-cyg > apt-cyg

install apt-cyg /bin

rm -rf apt-cyg

apt-cyg update

apt-cyg install make

apt-cyg install automake

apt-cyg install autoconf

apt-cyg install gcc-core

apt-cyg install gcc-g++

apt-cyg install libfreetype-devel

apt-cyg install libtool

apt-cyg install pkg-config

apt-cyg install texinfo

apt-cyg install zlib-devel

apt-cyg install cmake

apt-cyg install mercurial

apt-cyg install nasm

apt-cyg install git

apt-cyg install gcc-mingw

apt-cyg install mingw64-$(uname -m)-gcc-core

apt-cyg install mingw64-$(uname -m)-gcc-g++

apt-cyg install gdb

apt-cyg install gettext

apt-cyg install gettext-devel

apt-cyg install libgcrypt-devel

apt-cyg install libiconv

apt-cyg install mingw64-$(uname -m)-runtime

apt-cyg install patchutils

apt-cyg install expat

mkdir ~/ffmpeg_sources

cd ~/ffmpeg_sources

git clone --depth 1 git://github.com/yasm/yasm.git

cd yasm

autoreconf -fiv

./configure --prefix="$HOME/ffmpeg_build"

make

make install

make distclean

export PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig:$PKG_CONFIG_PATH"

export LD_LIBRARY_PATH="$HOME/ffmpeg_build/lib:$LD_LIBRARY_PATH"

export PATH="$HOME/ffmpeg_build/bin:$PATH"

export LDFLAGS="-L$HOME/ffmeg_build/lib"

export CPPFLAGS="-I$HOME/ffmpeg_build/include"

cd ~/ffmpeg_sources

git clone --depth 1 git://git.videolan.org/x264

cd x264

./configure --prefix="$HOME/ffmpeg_build" --enable-static

make

make install

make distclean

cd ~/ffmpeg_sources

hg clone https://bitbucket.org/multicoreware/x265

cd ~/ffmpeg_sources/x265/build/linux

cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX="$HOME/ffmpeg_build" -DENABLE_SHARED:bool=off ../../source

-- cmake version 3.3.2 1 [main] cmake 76460 child_info_fork::abort: C:\cygwin\bin\cygxml2-2.dll: Loaded to different address: parent(0x11D0000) != child(0xAF0000)

blocked

by cons on cygwin64 it works flawlessly

https://www.cygwin.com/setup-x86_64.exe

Comments (6)

  1. Log in to comment