Open a180285 opened 2 years ago
that's weird /meson-cross.mingw.txt should exist, is it not there?
I finally get it work on Ubuntu 20.04. So maybe I can have a look next time.
mcOS Monterey
checking for a BSD-compatible install... /usr/local/bin/ginstall -c
checking for a thread-safe mkdir -p... /usr/local/bin/gmkdir -p
checking whether ln -s works... yes
checking build system compiler gcc... no
checking build system compiler cc... no
checking build system compiler c89... no
checking build system compiler c99... no
configure: error: Cannot find a build system compiler
failed configure nettle-3.6
meson-cross.mingw.txt
[binaries]
c = '/Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc'
cpp = '/Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-x86_64/bin/x86_64-w64-mingw32-g++'
ld = '/Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-x86_64/bin/x86_64-w64-mingw32-ld'
ar = '/Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-x86_64/bin/x86_64-w64-mingw32-ar'
strip = '/Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-x86_64/bin/x86_64-w64-mingw32-strip'
pkgconfig = '/Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-x86_64/bin/x86_64-w64-mingw32-pkg-config'
nm = '/Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-x86_64/bin/x86_64-w64-mingw32-nm'
windres = '/Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-x86_64/bin/x86_64-w64-mingw32-windres'
[host_machine]
system = 'windows'
cpu_family = 'x86_64'
cpu = 'x86_64'
endian = 'little'
Is there a way to get more in depth logs somehow?
On Mon, Oct 24, 2022 at 4:04 AM supermoonie @.***> wrote:
mcOS Monterey
checking for a BSD-compatible install... /usr/local/bin/ginstall -c checking for a thread-safe mkdir -p... /usr/local/bin/gmkdir -p checking whether ln -s works... yes checking build system compiler gcc... no checking build system compiler cc... no checking build system compiler c89... no checking build system compiler c99... no configure: error: Cannot find a build system compiler failed configure nettle-3.6
meson-cross.mingw.txt
[binaries] c = '/Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc' cpp = '/Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-x86_64/bin/x86_64-w64-mingw32-g++' ld = '/Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-x86_64/bin/x86_64-w64-mingw32-ld' ar = '/Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-x86_64/bin/x86_64-w64-mingw32-ar' strip = '/Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-x86_64/bin/x86_64-w64-mingw32-strip' pkgconfig = '/Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-x86_64/bin/x86_64-w64-mingw32-pkg-config' nm = '/Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-x86_64/bin/x86_64-w64-mingw32-nm' windres = '/Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-x86_64/bin/x86_64-w64-mingw32-windres'
[host_machine] system = 'windows' cpu_family = 'x86_64' cpu = 'x86_64' endian = 'little'
— Reply to this email directly, view it on GitHub https://github.com/rdp/ffmpeg-windows-build-helpers/issues/654#issuecomment-1288770759, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAADBUA2NQSOLCV4DFZFOEDWEZNJNANCNFSM6AAAAAARF4EKHU . You are receiving this because you commented.Message ID: @.***>
./cross_compile_ffmpeg.sh :
warning: you may need to install zlib development headers first if you want to build mp4-box [on ubuntu: $ apt-get install zlib1g-dev] [on redhat/fedora distros: $ yum install zlib-devel]
##################### Welcome ######################
Welcome to the ffmpeg cross-compile builder-helper script.
Downloads and builds will be installed to directories within /Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox
If this is not ok, then exit now, and cd to the directory where you'd
like them installed, then run this script again from there.
NB that once you build your compilers, you can no longer rename/move
the sandbox directory, since it will have some hard coded paths in there.
You can, of course, rebuild ffmpeg from within it, etc.
2022年10月25日 星期二 10时55分04秒 CST
sit back, this may take awhile...
What version of MinGW-w64 would you like to build or update?
1. Both Win32 and Win64
2. Win32 (32-bit only)
3. Win64 (64-bit only)
4. Local native
5. Exit
Input your choice [1-5]: 3
Starting to download and build cross compile version of gcc [requires working internet access] with thread count 12...
Done building (or already built) MinGW-w64 cross-compiler(s) successfully...
2022年10月25日 星期二 10时55分09秒 CST
**************Starting 64-bit builds...
Building ffmpeg dependency libraries...
doing git checkout origin/master
M Makefile
HEAD 目前位于 9d0ef11 Merge pull request #103 from pali/master
fetched no code changes, not forcing reconfigure for that...
Already made /Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/win64 dlfcn-win32_git ...
not svn Updating xavs_svn since usually svn repo's aren't updated frequently enough...
Already made /Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/win64 xavs_svn ...
doing git checkout origin/master
HEAD 目前位于 b41cf11 Add checking for `frame_rate_code`.
fetched no code changes, not forcing reconfigure for that...
Already made /Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/win64/davs2_git/build linux ...
doing git checkout origin/master
HEAD 目前位于 eae1e8b Optimize `xavs2e_atoi()` for parameter parsing, enable 'k' or 'm' suffix for integer values.
fetched no code changes, not forcing reconfigure for that...
Already made /Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/win64/xavs2_git/build linux ...
meson-cross.mingw.txt -> ../../meson-cross.mingw.txt
doing git checkout origin/master
HEAD 目前位于 6c2061b Improve `future::get()` and `future::wait()` (#86)
fetched no code changes, not forcing reconfigure for that...
Already made /Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/win64 zlib-1.2.11 ...
doing git checkout 813baea7a7bc28986e474541dd1080898fac14d7
M caca/caca.h
M caca/caca0.h
M caca/figfont.c
M caca/string.c
HEAD 目前位于 813baea img2txt: reject pictures with 0 bits per plane.
fetched no code changes, not forcing reconfigure for that...
Already made /Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/win64 libcaca_git ...
Already made /Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/win64 bzip2-1.0.8 ...
Already made /Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/win64 xz-5.2.5 ...
Already made /Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/win64 libiconv-1.16 ...
Already made /Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/win64 SDL2-2.0.12 ...
doing git checkout origin/master
HEAD 目前位于 3236fef attempt bump version
fetched no code changes, not forcing reconfigure for that...
doing git checkout 2cd279f
HEAD 目前位于 2cd279f Merge pull request #81 from maximd33/master
fetched no code changes, not forcing reconfigure for that...
Already made /Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/win64 mfx_dispatch_git ...
doing git checkout origin/master
HEAD 目前位于 3ed7c9a Add D3D11 interop functions
fetched no code changes, not forcing reconfigure for that...
doing git checkout origin/master
HEAD 目前位于 fc993b4 Update graphengine
fetched no code changes, not forcing reconfigure for that...
Already made /Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/win64 zimg_git ...
doing git checkout origin/master
HEAD 目前位于 2d606701 Merge pull request #1448 from rouault/fix_1447
fetched no code changes, not forcing reconfigure for that...
Already made /Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/win64 openjpeg_git ...
Already made /Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/win64/glew-2.2.0 build ...
Already made /Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/win64 glfw-3.3.2 ...
doing git checkout origin/master
HEAD 目前位于 04c016d79 scripts: Fix the remaining instance of ZLIB_INCLUDE_DIR
fetched no code changes, not forcing reconfigure for that...
Already made /Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/win64 libpng_git ...
doing git checkout origin/master
HEAD 目前位于 8ea81561 change VP8LPredictorFunc signature to avoid reading 'left'
fetched no code changes, not forcing reconfigure for that...
Already made /Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/win64 libwebp_git ...
doing git checkout origin/main
HEAD 目前位于 83769b9cb [subset] add comment for why we retain empty lookups.
fetched no code changes, not forcing reconfigure for that...
Already done harfbuzz
Already made /Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/win64 libxml2-2.9.10 ...
doing git checkout v2.3.0
HEAD 目前位于 5c1c9bfa Update CHANGELOG.md
fetched no code changes, not forcing reconfigure for that...
mkdir: build: File exists
Already used meson libvmaf
already did ninja libvmaf
Already made /Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/win64 fontconfig-2.13.92 ...
Already made /Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/win64 gmp-6.2.1 ...
configuring nettle-3.6 (/Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/win64/nettle-3.6) as $ PKG_CONFIG_PATH=/Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-x86_64/x86_64-w64-mingw32/lib/pkgconfig PATH=/Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-x86_64/bin:$PATH ./configure --host=x86_64-w64-mingw32 --prefix=/Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-x86_64/x86_64-w64-mingw32 --disable-shared --enable-static --disable-openssl --disable-documentation
all touch files already_configured* touchname= already_configured_c7518cf1d7769e028f2e274946eb1f48
config options --host=x86_64-w64-mingw32 --prefix=/Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-x86_64/x86_64-w64-mingw32 --disable-shared --enable-static --disable-openssl --disable-documentation ./configure
checking build system type... x86_64-apple-darwin21.6.0
checking host system type... x86_64-w64-mingw32
checking for -R flag... none
Searching for libraries
checking /Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-x86_64/x86_64-w64-mingw32/lib... added
checking /usr/local/lib... added
checking /sw/local/lib... not found
checking /sw/lib... not found
checking /usr/gnu/lib... not found
checking /opt/gnu/lib... not found
checking /sw/gnu/lib... not found
checking /usr/freeware/lib... not found
checking /usr/pkg/lib... not found
checking for x86_64-w64-mingw32-gcc... x86_64-w64-mingw32-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-w64-mingw32-gcc accepts -g... yes
checking for x86_64-w64-mingw32-gcc option to accept ISO C89... none needed
checking for ifunc support... no
checking for x86_64-w64-mingw32-g++... x86_64-w64-mingw32-g++
checking whether we are using the GNU C++ compiler... yes
checking whether x86_64-w64-mingw32-g++ accepts -g... yes
checking if LD -Wl,--version-script works... yes
checking whether make sets $(MAKE)... yes
checking for x86_64-w64-mingw32-ranlib... x86_64-w64-mingw32-ranlib
checking for x86_64-w64-mingw32-nm... x86_64-w64-mingw32-nm
checking for x86_64-w64-mingw32-objdump... x86_64-w64-mingw32-objdump
checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar
checking for a BSD-compatible install... /usr/local/bin/ginstall -c
checking for a thread-safe mkdir -p... /usr/local/bin/gmkdir -p
checking whether ln -s works... yes
checking build system compiler gcc... no
checking build system compiler cc... no
checking build system compiler c89... no
checking build system compiler c99... no
configure: error: Cannot find a build system compiler
failed configure nettle-3.6
what OS?
On Mon, Oct 24, 2022 at 9:00 PM supermoonie @.***> wrote:
./cross_compile_ffmpeg.sh :
warning: you may need to install zlib development headers first if you want to build mp4-box [on ubuntu: $ apt-get install zlib1g-dev] [on redhat/fedora distros: $ yum install zlib-devel]
##################### Welcome ######################
Welcome to the ffmpeg cross-compile builder-helper script.
Downloads and builds will be installed to directories within /Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox
If this is not ok, then exit now, and cd to the directory where you'd
like them installed, then run this script again from there.
NB that once you build your compilers, you can no longer rename/move
the sandbox directory, since it will have some hard coded paths in there.
You can, of course, rebuild ffmpeg from within it, etc.
2022年10月25日 星期二 10时55分04秒 CST
sit back, this may take awhile...
What version of MinGW-w64 would you like to build or update?
Both Win32 and Win64
Win32 (32-bit only)
Win64 (64-bit only)
Local native
Exit
Input your choice [1-5]: 3
Starting to download and build cross compile version of gcc [requires working internet access] with thread count 12...
Done building (or already built) MinGW-w64 cross-compiler(s) successfully...
2022年10月25日 星期二 10时55分09秒 CST
**Starting 64-bit builds...
Building ffmpeg dependency libraries...
doing git checkout origin/master
M Makefile
HEAD 目前位于 9d0ef11 Merge pull request #103 from pali/master
fetched no code changes, not forcing reconfigure for that...
Already made /Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/win64 dlfcn-win32_git ...
not svn Updating xavs_svn since usually svn repo's aren't updated frequently enough...
Already made /Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/win64 xavs_svn ...
doing git checkout origin/master
HEAD 目前位于 b41cf11 Add checking for
frame_rate_code
.fetched no code changes, not forcing reconfigure for that...
Already made /Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/win64/davs2_git/build linux ...
doing git checkout origin/master
HEAD 目前位于 eae1e8b Optimize
xavs2e_atoi()
for parameter parsing, enable 'k' or 'm' suffix for integer values.fetched no code changes, not forcing reconfigure for that...
Already made /Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/win64/xavs2_git/build linux ...
meson-cross.mingw.txt -> ../../meson-cross.mingw.txt
doing git checkout origin/master
HEAD 目前位于 6c2061b Improve
future::get()
andfuture::wait()
(#86)fetched no code changes, not forcing reconfigure for that...
Already made /Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/win64 zlib-1.2.11 ...
doing git checkout 813baea7a7bc28986e474541dd1080898fac14d7
M caca/caca.h
M caca/caca0.h
M caca/figfont.c
M caca/string.c
HEAD 目前位于 813baea img2txt: reject pictures with 0 bits per plane.
fetched no code changes, not forcing reconfigure for that...
Already made /Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/win64 libcaca_git ...
Already made /Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/win64 bzip2-1.0.8 ...
Already made /Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/win64 xz-5.2.5 ...
Already made /Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/win64 libiconv-1.16 ...
Already made /Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/win64 SDL2-2.0.12 ...
doing git checkout origin/master
HEAD 目前位于 3236fef attempt bump version
fetched no code changes, not forcing reconfigure for that...
doing git checkout 2cd279f
HEAD 目前位于 2cd279f Merge pull request #81 from maximd33/master
fetched no code changes, not forcing reconfigure for that...
Already made /Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/win64 mfx_dispatch_git ...
doing git checkout origin/master
HEAD 目前位于 3ed7c9a Add D3D11 interop functions
fetched no code changes, not forcing reconfigure for that...
doing git checkout origin/master
HEAD 目前位于 fc993b4 Update graphengine
fetched no code changes, not forcing reconfigure for that...
Already made /Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/win64 zimg_git ...
doing git checkout origin/master
HEAD 目前位于 2d606701 Merge pull request #1448 from rouault/fix_1447
fetched no code changes, not forcing reconfigure for that...
Already made /Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/win64 openjpeg_git ...
Already made /Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/win64/glew-2.2.0 build ...
Already made /Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/win64 glfw-3.3.2 ...
doing git checkout origin/master
HEAD 目前位于 04c016d79 scripts: Fix the remaining instance of ZLIB_INCLUDE_DIR
fetched no code changes, not forcing reconfigure for that...
Already made /Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/win64 libpng_git ...
doing git checkout origin/master
HEAD 目前位于 8ea81561 change VP8LPredictorFunc signature to avoid reading 'left'
fetched no code changes, not forcing reconfigure for that...
Already made /Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/win64 libwebp_git ...
doing git checkout origin/main
HEAD 目前位于 83769b9cb [subset] add comment for why we retain empty lookups.
fetched no code changes, not forcing reconfigure for that...
Already done harfbuzz
Already made /Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/win64 libxml2-2.9.10 ...
doing git checkout v2.3.0
HEAD 目前位于 5c1c9bfa Update CHANGELOG.md
fetched no code changes, not forcing reconfigure for that...
mkdir: build: File exists
Already used meson libvmaf
already did ninja libvmaf
Already made /Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/win64 fontconfig-2.13.92 ...
Already made /Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/win64 gmp-6.2.1 ...
configuring nettle-3.6 (/Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/win64/nettle-3.6) as $ PKG_CONFIG_PATH=/Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-x86_64/x86_64-w64-mingw32/lib/pkgconfig PATH=/Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-x86_64/bin:$PATH ./configure --host=x86_64-w64-mingw32 --prefix=/Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-x86_64/x86_64-w64-mingw32 --disable-shared --enable-static --disable-openssl --disable-documentation
all touch files already_configured* touchname= already_configured_c7518cf1d7769e028f2e274946eb1f48
config options --host=x86_64-w64-mingw32 --prefix=/Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-x86_64/x86_64-w64-mingw32 --disable-shared --enable-static --disable-openssl --disable-documentation ./configure
checking build system type... x86_64-apple-darwin21.6.0
checking host system type... x86_64-w64-mingw32
checking for -R flag... none
Searching for libraries
checking /Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-x86_64/x86_64-w64-mingw32/lib... added
checking /usr/local/lib... added
checking /sw/local/lib... not found
checking /sw/lib... not found
checking /usr/gnu/lib... not found
checking /opt/gnu/lib... not found
checking /sw/gnu/lib... not found
checking /usr/freeware/lib... not found
checking /usr/pkg/lib... not found
checking for x86_64-w64-mingw32-gcc... x86_64-w64-mingw32-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-w64-mingw32-gcc accepts -g... yes
checking for x86_64-w64-mingw32-gcc option to accept ISO C89... none needed
checking for ifunc support... no
checking for x86_64-w64-mingw32-g++... x86_64-w64-mingw32-g++
checking whether we are using the GNU C++ compiler... yes
checking whether x86_64-w64-mingw32-g++ accepts -g... yes
checking if LD -Wl,--version-script works... yes
checking whether make sets $(MAKE)... yes
checking for x86_64-w64-mingw32-ranlib... x86_64-w64-mingw32-ranlib
checking for x86_64-w64-mingw32-nm... x86_64-w64-mingw32-nm
checking for x86_64-w64-mingw32-objdump... x86_64-w64-mingw32-objdump
checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar
checking for a BSD-compatible install... /usr/local/bin/ginstall -c
checking for a thread-safe mkdir -p... /usr/local/bin/gmkdir -p
checking whether ln -s works... yes
checking build system compiler gcc... no
checking build system compiler cc... no
checking build system compiler c89... no
checking build system compiler c99... no
configure: error: Cannot find a build system compiler
failed configure nettle-3.6
— Reply to this email directly, view it on GitHub https://github.com/rdp/ffmpeg-windows-build-helpers/issues/654#issuecomment-1289911552, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAADBUHPFUJB5ZJEDJPKK2LWE5ENDANCNFSM6AAAAAARF4EKHU . You are receiving this because you commented.Message ID: @.***>
nettle should have a config.log file or something similar, maybe?
Here is the log.