OpenTimelineIO / raven

Raven - OpenTimelineIO Viewer Application
Apache License 2.0
81 stars 21 forks source link

Attempt to build on MacOS Ventura 13.4 M1 Max #16

Closed adamhawkey closed 1 year ago

adamhawkey commented 1 year ago

In an attempt to build raven on MacOS Ventura 13.4 on M1 Max, I see the following errors"

` build % cmake .. -- The C compiler identification is AppleClang 14.0.3.14030022 -- The CXX compiler identification is AppleClang 14.0.3.14030022 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done

CMake Error at CMakeLists.txt:54 (add_subdirectory): The source directory

/usr/local/bin/raven-main/libs/opentimelineio

does not contain a CMakeLists.txt file.

CMake Error at CMakeLists.txt:66 (add_subdirectory): The source directory

/usr/local/bin/raven-main/libs/glfw

does not contain a CMakeLists.txt file. `

I figured I'd ask here first, thanks.

JeanChristopheMorinPerso commented 1 year ago

Try to run git submodule update --init --recursive in the root of the repo.

jminor commented 1 year ago

Probably your git submodules didn't get checked out. Try this:

git submodule init
git submodule update

and then build again.

jminor commented 1 year ago

Haha. @JeanChristopheMorinPerso beat me to it :)

adamhawkey commented 1 year ago

Thank you both. Problem seemed to stem from downloading a .zip instead of cloning. Built and running fine now.