Help build Zrythm from sources

Can someone guide me to build Zrythm? There occure several bugs during install and I dont know how. Its the most recent git version by the time of writing Commit 6c708b5

system: macOS 15 (intel)

MacBook-Pro zrythm % cmake -B builddir -G Xcode \                                                                                             
  -DCMAKE_BUILD_TYPE=Release \
  -DCMAKE_PREFIX_PATH=/usr/local/Cellar/qt/6.9.0/bin/qt-cmake \
  -DZRYTHM_USER_MANUAL=OFF \
  -DCMAKE_C_COMPILER=/usr/bin/clang \
  -DCMAKE_CXX_COMPILER=/usr/bin/clang++ \
  -DCMAKE_OBJC_COMPILER=/usr/bin/clang \
  -DCMAKE_OBJCXX_COMPILER=/usr/bin/clang++
-- Using SDK: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
-- Found Git: /usr/bin/git (found version "2.39.5 (Apple Git-154)")
-- Not using CCache
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/clang - skipped
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/clang++ - skipped
-- The OBJC compiler identification is unknown
-- Detecting OBJC compiler ABI info
-- Detecting OBJC compiler ABI info - done
-- Check for working OBJC compiler: /usr/bin/clang - skipped
-- The OBJCXX compiler identification is unknown
-- Detecting OBJCXX compiler ABI info
-- Detecting OBJCXX compiler ABI info - done
-- Check for working OBJCXX compiler: /usr/bin/clang++ - skipped
-- Project version: 1.0.0 (v1.0.0-rc.1+631.6c708b5eb)
-- Found PkgConfig: /usr/local/bin/pkg-config (found version "2.4.3")
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found Gettext: /usr/local/bin/msgmerge (found version "0.25")
-- Found Python3: /usr/local/Frameworks/Python.framework/Versions/3.13/bin/python3.13 (found version "3.13.3") found components: Interpreter
-- Locales: af_ZA ar ca de el en en_GB es fa fr gl he hi hu id it ja ko nb_NO mk nl pl pt pt_BR ru sv th tr uk vi zh_CN zh_TW
-- Looking for mlock
-- Looking for mlock - found
-- CPM: Adding package nlohmann_json@3.12.1 (230bfd15a2bb7f01ebb3fcd3cf898b697ef43c48)
-- Using the multi-header code from /Users/martin/Desktop/zrythm/builddir/_deps/nlohmann_json-src/include/
-- Implicit conversions are disabled (JSON_USE_IMPLICIT_CONVERSIONS=0)
-- CPM: Adding package juce@8.0.7 (10a589619b452c261b2940767eb253171eb5a823)
CMake Deprecation Warning at ext/soxr/CMakeLists.txt:6 (cmake_policy):
  The OLD behavior for policy CMP0115 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


-- Looking for pow in m
-- Looking for pow in m - found
-- Trying SIMD32 C flags:  
-- Performing Test DETECT_SIMD32_C_FLAGS
-- Performing Test DETECT_SIMD32_C_FLAGS - Failed
-- Trying SIMD32 C flags: /arch:SSE /fp:fast -D__SSE__
-- Performing Test DETECT_SIMD32_C_FLAGS
-- Performing Test DETECT_SIMD32_C_FLAGS - Failed
-- Trying SIMD32 C flags: -msse -mfpmath=sse 
-- Performing Test DETECT_SIMD32_C_FLAGS
-- Performing Test DETECT_SIMD32_C_FLAGS - Failed
-- Trying SIMD32 C flags: -msse -mfpmath=sse
-- Performing Test DETECT_SIMD32_C_FLAGS
-- Performing Test DETECT_SIMD32_C_FLAGS - Failed
-- Could NOT find SIMD32 (missing: SIMD32_C_FLAGS SIMD32_C_FLAGS) 
-- Trying SIMD64 C flags: -mavx
-- Performing Test DETECT_SIMD64_C_FLAGS
-- Performing Test DETECT_SIMD64_C_FLAGS - Failed
-- Trying SIMD64 C flags: /arch:AVX
-- Performing Test DETECT_SIMD64_C_FLAGS
-- Performing Test DETECT_SIMD64_C_FLAGS - Failed
-- Could NOT find SIMD64 (missing: SIMD64_C_FLAGS SIMD64_C_FLAGS) 
-- Looking for lrint
-- Looking for lrint - found
-- Looking for include file fenv.h
-- Looking for include file fenv.h - found
-- Looking for include file stdbool.h
-- Looking for include file stdbool.h - found
-- Looking for include file stdint.h
-- Looking for include file stdint.h - found
-- CPM: Adding package type_safe@0.2.4 (1dbea7936a1e389caa692d01bb3f5ba4b6da7d82)
-- Using vendored debug_assert
-- arithmetic_policy_default is undefined_behavior_arithmetic
-- CPM: Adding package SndFile@1.2.2 (72f6af15e8f85157bd622ed45b979025828b7001)
CMake Deprecation Warning at builddir/_deps/sndfile-src/CMakeLists.txt:14 (cmake_policy):
  The OLD behavior for policy CMP0091 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


-- 
-- 
-- Checking large files support...
-- 
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- 
-- Checking size of off_t without any definitions:
-- Check size of off_t
-- Check size of off_t - done
-- Checking of off_t without any definitions: 8
-- 
-- Result of checking large files support: supported


-- Could NOT find ALSA (missing: ALSA_LIBRARY ALSA_INCLUDE_DIR) 
-- Could NOT find Ogg (missing: OGG_LIBRARY) (Required is at least version "1.3")
-- Could NOT find Vorbis (missing: Vorbis_Vorbis_LIBRARY Ogg_FOUND Enc) 
-- Could NOT find FLAC (missing: FLAC_LIBRARY Ogg_FOUND) 
-- Could NOT find Opus (missing: OPUS_LIBRARY OPUS_INCLUDE_DIR OGG_FOUND) 
-- Could NOT find mp3lame (missing: MP3LAME_LIBRARY) 
-- Could NOT find mpg123 (missing: mpg123_LIBRARY) (found suitable version "1995-2023", minimum required is "1.25.10")
-- Could NOT find Speex (missing: SPEEX_LIBRARY) 
-- Found SQLite3: /Library/Frameworks/Mono.framework/Headers (found version "3.26.0")
-- Looking for byteswap.h
-- Looking for byteswap.h - not found
-- Looking for dlfcn.h
-- Looking for dlfcn.h - found
-- Looking for direct.h
-- Looking for direct.h - not found
-- Looking for endian.h
-- Looking for endian.h - not found
-- Looking for inttypes.h
-- Looking for inttypes.h - found
-- Looking for io.h
-- Looking for io.h - not found
-- Looking for sys/time.h
-- Looking for sys/time.h - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for immintrin.h
-- Looking for immintrin.h - not found
-- Check CPU architecture is x86
-- Check CPU architecture is x86 - no
-- Check CPU architecture is x64
-- Check CPU architecture is x64 - no
-- Check size of int64_t
-- Check size of int64_t - done
-- Check size of long
-- Check size of long - done
-- Check size of long long
-- Check size of long long - done
-- Check size of ssize_t
-- Check size of ssize_t - done
-- Check size of wchar_t
-- Check size of wchar_t - done
-- Looking for floor in m
-- Looking for floor in m - found
-- Looking for sqlite3_close in sqlite3
-- Looking for sqlite3_close in sqlite3 - found
-- Looking for fstat
-- Looking for fstat - found
-- Looking for fstat64
-- Looking for fstat64 - found
-- Looking for gettimeofday
-- Looking for gettimeofday - found
-- Looking for gmtime
-- Looking for gmtime - found
-- Looking for gmtime_r
-- Looking for gmtime_r - found
-- Looking for localtime
-- Looking for localtime - found
-- Looking for localtime_r
-- Looking for localtime_r - found
-- Looking for lseek
-- Looking for lseek - found
-- Looking for open
-- Looking for open - found
-- Looking for read
-- Looking for read - found
-- Looking for write
-- Looking for write - found
-- Looking for lrintf
-- Looking for lrintf - found
-- Looking for ftruncate
-- Looking for ftruncate - found
-- Looking for fsync
-- Looking for fsync - found
-- Looking for S_IRGRP
-- Looking for S_IRGRP - found
-- Checking for inline...
-- Checking for inline... supported
-- Checking processor clipping capabilities...
-- Checking processor clipping capabilities... none
-- The following OPTIONAL packages have been found:

 * Gettext
 * SQLite3, light weight SQL database engine., <www.sqlite.org/>
   Enables regtest

-- The following REQUIRED packages have been found:

 * Threads

-- The following features have been disabled:

 * BUILD_SHARED_LIBS, build shared libraries
 * ENABLE_EXTERNAL_LIBS, enable FLAC, Vorbis, and Opus codecs
 * ENABLE_MPEG, enable MPEG audio (including mp3) codecs
 * ENABLE_EXPERIMENTAL, enable experimental code
 * BUILD_TESTING, build tests
 * BUILD_REGTEST, build regtest
 * ENABLE_CPACK, enable CPack support
 * ENABLE_CPU_CLIP, Enable tricky cpu specific clipper
 * ENABLE_BOW_DOCS, enable black-on-white html docs
 * ENABLE_PACKAGE_CONFIG, generate and install package config file
 * INSTALL_PKGCONFIG_MODULE, generate and install pkg-config module
 * INSTALL_MANPAGES, install man pages for programs

-- The following OPTIONAL packages have not been found:

 * SIMD32
 * SIMD64
 * ALSA
 * Speex, an audio codec tuned for speech, <www.speex.org/>
   Enables experemental Speex support

-- The following RECOMMENDED packages have not been found:

 * Vorbis, open source lossy audio codec, <www.vorbis.com/>
   Enables Vorbis support
 * FLAC, Free Lossless Audio Codec Library, <www.xiph.org/flac/>
   Enables FLAC support
 * Opus, Standardized open source low-latency fullband codec, <www.opus-codec.org/>
   Enables experimental Opus support
 * mp3lame, High quality MPEG Audio Layer III (MP3) encoder, <https://lame.sourceforge.io/>
   Enables MPEG layer III (MP3) writing support
 * mpg123 (required version >= 1.25.10), MPEG Audio Layer I/II/III decoder, <https://www.mpg123.de/>
   Enables MPEG Audio reading support

-- Checking for module 'libchromaprint'
--   Package 'libchromaprint' not found
-- CPM: Using local package zstd@1.5.7
-- CPM: Adding package xxHash@0.8.2 (bbb27a5efb85b92a0486cf361a8635715a53f6ba)
-- Architecture: x86_64
-- CPM: Adding package magic_enum@0.9.6 (dd6a39d0ba1852cf06907e0f0573a2a10d23c2ad)
-- CPM: Adding package fmt@11.2.0 (40626af88bd7df9a5fb80be7b25ac85b122d6c21)
-- {fmt} version: 11.2.0
-- Build type: Release
CMake Warning at builddir/_deps/fmt-src/CMakeLists.txt:329 (message):
  Feature cxx_std_11 is unknown for the CXX compiler


-- CPM: Adding package spdlog@1.15.3 (6fa36017cfd5731d617e1a934f0e5ea9c4445b13)
-- Build spdlog: 1.15.3
-- Build type: Release
-- Looking for fwrite_unlocked
-- Looking for fwrite_unlocked - not found
-- Boost: static libraries, MPI OFF, Python OFF, testing OFF
-- Boost: libraries included: circular_buffer;stl_interfaces;describe
-- CPM: Adding package GTest@1.16.0 (6910c9d9165801d8827d628cb72eb7ea9dd538c5)
CMake Error at builddir/_deps/gtest-src/googletest/cmake/internal_utils.cmake:198 (target_compile_features):
  target_compile_features no known features for CXX compiler

  ""

  version .
Call Stack (most recent call first):
  builddir/_deps/gtest-src/googletest/cmake/internal_utils.cmake:210 (cxx_library_with_type)
  builddir/_deps/gtest-src/googletest/CMakeLists.txt:123 (cxx_library)


CMake Error at builddir/_deps/gtest-src/googletest/cmake/internal_utils.cmake:198 (target_compile_features):
  target_compile_features no known features for CXX compiler

  ""

  version .
Call Stack (most recent call first):
  builddir/_deps/gtest-src/googletest/cmake/internal_utils.cmake:210 (cxx_library_with_type)
  builddir/_deps/gtest-src/googletest/CMakeLists.txt:141 (cxx_library)


CMake Error at builddir/_deps/gtest-src/googletest/cmake/internal_utils.cmake:198 (target_compile_features):
  target_compile_features no known features for CXX compiler

  ""

  version .
Call Stack (most recent call first):
  builddir/_deps/gtest-src/googletest/cmake/internal_utils.cmake:210 (cxx_library_with_type)
  builddir/_deps/gtest-src/googlemock/CMakeLists.txt:97 (cxx_library)


CMake Error at builddir/_deps/gtest-src/googletest/cmake/internal_utils.cmake:198 (target_compile_features):
  target_compile_features no known features for CXX compiler

  ""

  version .
Call Stack (most recent call first):
  builddir/_deps/gtest-src/googletest/cmake/internal_utils.cmake:210 (cxx_library_with_type)
  builddir/_deps/gtest-src/googlemock/CMakeLists.txt:100 (cxx_library)


-- CPM: Adding package benchmark@1.9.2 (afa23b7699c17f1e26c88cbf95257b20d78d6247)
-- Failed to find LLVM FileCheck
-- Google Benchmark version: v1.9.2, normalized to 1.9.2
-- Looking for shm_open in rt
-- Looking for shm_open in rt - not found
-- Performing Test HAVE_CXX_FLAG_WALL
-- Performing Test HAVE_CXX_FLAG_WALL - Success
-- Performing Test HAVE_CXX_FLAG_WEXTRA
-- Performing Test HAVE_CXX_FLAG_WEXTRA - Success
-- Performing Test HAVE_CXX_FLAG_WSHADOW
-- Performing Test HAVE_CXX_FLAG_WSHADOW - Success
-- Performing Test HAVE_CXX_FLAG_WFLOAT_EQUAL
-- Performing Test HAVE_CXX_FLAG_WFLOAT_EQUAL - Success
-- Performing Test HAVE_CXX_FLAG_WOLD_STYLE_CAST
-- Performing Test HAVE_CXX_FLAG_WOLD_STYLE_CAST - Success
-- Performing Test HAVE_CXX_FLAG_WCONVERSION
-- Performing Test HAVE_CXX_FLAG_WCONVERSION - Success
-- Performing Test HAVE_CXX_FLAG_WERROR
-- Performing Test HAVE_CXX_FLAG_WERROR - Success
-- Performing Test HAVE_CXX_FLAG_WSUGGEST_OVERRIDE
-- Performing Test HAVE_CXX_FLAG_WSUGGEST_OVERRIDE - Success
-- Performing Test HAVE_CXX_FLAG_PEDANTIC
-- Performing Test HAVE_CXX_FLAG_PEDANTIC - Success
-- Performing Test HAVE_CXX_FLAG_PEDANTIC_ERRORS
-- Performing Test HAVE_CXX_FLAG_PEDANTIC_ERRORS - Success
-- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32
-- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32 - Success
-- Performing Test HAVE_CXX_FLAG_FSTRICT_ALIASING
-- Performing Test HAVE_CXX_FLAG_FSTRICT_ALIASING - Success
-- Performing Test HAVE_CXX_FLAG_WNO_DEPRECATED_DECLARATIONS
-- Performing Test HAVE_CXX_FLAG_WNO_DEPRECATED_DECLARATIONS - Success
-- Performing Test HAVE_CXX_FLAG_WNO_DEPRECATED
-- Performing Test HAVE_CXX_FLAG_WNO_DEPRECATED - Success
-- Performing Test HAVE_CXX_FLAG_WSTRICT_ALIASING
-- Performing Test HAVE_CXX_FLAG_WSTRICT_ALIASING - Success
-- Performing Test HAVE_CXX_FLAG_WD654
-- Performing Test HAVE_CXX_FLAG_WD654 - Failed
-- Performing Test HAVE_CXX_FLAG_WTHREAD_SAFETY
-- Performing Test HAVE_CXX_FLAG_WTHREAD_SAFETY - Success
-- Enabling additional flags: -DINCLUDE_DIRECTORIES=/Users/martin/Desktop/zrythm/builddir/_deps/benchmark-src/include
-- Compiling and running to test HAVE_THREAD_SAFETY_ATTRIBUTES
-- Performing Test HAVE_THREAD_SAFETY_ATTRIBUTES -- success
-- Performing Test HAVE_CXX_FLAG_COVERAGE
-- Performing Test HAVE_CXX_FLAG_COVERAGE - Failed
-- Compiling and running to test HAVE_STD_REGEX
-- Performing Test HAVE_STD_REGEX -- success
-- Compiling and running to test HAVE_GNU_POSIX_REGEX
-- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile
-- Compiling and running to test HAVE_POSIX_REGEX
-- Performing Test HAVE_POSIX_REGEX -- success
-- Compiling and running to test HAVE_STEADY_CLOCK
-- Performing Test HAVE_STEADY_CLOCK -- success
-- Compiling and running to test HAVE_PTHREAD_AFFINITY
-- Performing Test HAVE_PTHREAD_AFFINITY -- failed to compile
-- CPM: Adding package gsl-lite@1.0.1 (56dab5ce071c4ca17d3e0dbbda9a94bd5a1cbca1)
-- Project 'gsl-lite', version: '1.0.1'
-- Performing Test HAVE_STDATOMIC
-- Performing Test HAVE_STDATOMIC - Success
-- Found WrapAtomic: TRUE
-- Found OpenGL: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework
-- Found WrapOpenGL: TRUE
-- Found WrapVulkanHeaders: /Library/Frameworks/GStreamer.framework/Headers
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 
-- Configuring incomplete, errors occurred!
martin@Martin--MacBook-Pro zrythm %
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown

Doesn’t seem like an issue with Zrythm’s build system. Looks like an issue with your CMake or compiler. My builds work with latest CMake and AppleClang on arm64.

Also note that the branch you’re trying to build is still in development and you can’t really make music with it yet.