marlam / bino

3D video player with support for 180°/360° video and Virtual Reality
https://bino3d.org
GNU General Public License v3.0
43 stars 12 forks source link

Building source code fails on macOS 14.5 (Apple Silicon M3) #29

Closed porg closed 2 days ago

porg commented 1 month ago

Build attempt

➜  Downloads git clone https://git.marlam.de/git/bino.git
Cloning into 'bino'...
remote: Enumerating objects: 7294, done.
remote: Counting objects: 100% (7294/7294), done.
remote: Compressing objects: 100% (2316/2316), done.
remote: Total 7294 (delta 5482), reused 6473 (delta 4933), pack-reused 0
Receiving objects: 100% (7294/7294), 2.52 MiB | 2.75 MiB/s, done.
Resolving deltas: 100% (5482/5482), done.
➜  Downloads cd bino 
➜  bino git:(main) ✗ mkdir build
➜  bino git:(main) ✗ cd build 
➜  build git:(main) ✗ cmake ..
-- The CXX compiler identification is AppleClang 15.0.0.15000309
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:19 (find_package):
  By not providing "FindQt6.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Qt6", but
  CMake did not find one.

  Could not find a package configuration file provided by "Qt6" (requested
  version 6.6.0) with any of the following names:

    Qt6Config.cmake
    qt6-config.cmake

  Add the installation prefix of "Qt6" to CMAKE_PREFIX_PATH or set "Qt6_DIR"
  to a directory containing one of the above files.  If "Qt6" provides a
  separate development package or SDK, be sure it has been installed.

-- Configuring incomplete, errors occurred!
marlam commented 1 month ago

Bino needs Qt >= 6.6, and could not find it.

If it is installed, point cmake to where it can find it, either via the cmake gui or via setting Qt6_DIR.

renambot commented 1 month ago
marlam commented 2 days ago

Thank you for this info! I'm closing this issue now, please reopen it if more information is needed.

porg commented 13 hours ago

brew install qt@6 cmake before the build procedure did the trick for me (on my Intel Mac). Will quite certainly also work on an Apple Silicon Mac, once I get one again. Thanks!