Skip to content

MacOS build error when run `cmake -d -G....' #1030

@cer-cer

Description

@cer-cer

When i built libopensot use the method

$ cd [libopenshot repo folder]
$ mkdir build
$ cd build
$ cmake -d -G "Unix Makefiles" -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang -DCMAKE_PREFIX_PATH=/usr/local/opt/qt/ -DCMAKE_EXE_LINKER_FLAGS="-stdlib=libc++" -DCMAKE_SHARED_LINKER_FLAGS="-stdlib=libc++" -D"CMAKE_INSTALL_RPATH_USE_LINK_PATH=1" -D"ENABLE_RUBY=0" -D"CMAKE_BUILD_TYPE:STRING=Release" ../
$ make

The line of cmake -d -G..., got an error

cmake -G "Unix Makefiles" -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang -DCMAKE_PREFIX_PATH=/usr/local/opt/qt/ -DCMAKE_EXE_LINKER_FLAGS="-stdlib=libc++" -DCMAKE_SHARED_LINKER_FLAGS="-stdlib=libc++" -D"CMAKE_INSTALL_RPATH_USE_LINK_PATH=1" -D"ENABLE_RUBY=0" -D"CMAKE_BUILD_TYPE:STRING=Release" ../

      Welcome to the OpenShot Build System!

CMake will now check libopenshot's build dependencies and inform
you of any missing files or other issues.

For more information, please visit http://www.openshot.org/.

Generating build files for OpenShot with CMake 4.0.2
Building libopenshot (version 0.5.0)
SO/API/ABI Version: 28

CMake Error at src/CMakeLists.txt:187 (find_package):
By not providing "FindOpenShotAudio.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"OpenShotAudio", but CMake did not find one.

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

OpenShotAudioConfig.cmake
openshotaudio-config.cmake

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

-- Configuring incomplete, errors occurred!

Could you please help to solve it? any suggestion...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions