Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMakeLists.txt errors #40

Open
clankill3r opened this issue Dec 28, 2024 · 0 comments
Open

CMakeLists.txt errors #40

clankill3r opened this issue Dec 28, 2024 · 0 comments

Comments

@clankill3r
Copy link

First I do:

export PATH="/Applications/Blender-4.3.2.app/Contents/Resources/4.3/python/bin:$PATH"

Then:

python3.11 setup.py build

The output is:

Setting up EMSDK environment (suppress these messages with EMSDK_QUIET=1)
Adding directories to PATH:
PATH += /Users/doeke/Documents/emsdk-git
PATH += /Users/doeke/Documents/emsdk-git/upstream/emscripten

Setting environment variables:
PATH = /Users/doeke/Documents/emsdk-git:/Users/doeke/Documents/emsdk-git/upstream/emscripten:/Users/doeke/Documents/Odin-git:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/Users/doeke/Documents/apache-maven-3.9.6/bin
EMSDK = /Users/doeke/Documents/emsdk-git
EMSDK_NODE = /Users/doeke/Documents/emsdk-git/node/18.20.3_64bit/bin/node
EMSDK_PYTHON = /Users/doeke/Documents/emsdk-git/python/3.9.2_64bit/bin/python3
SSL_CERT_FILE = /Users/doeke/Documents/emsdk-git/python/3.9.2_64bit/lib/python3.9/site-packages/certifi/cacert.pem
doeke@Mac ndi-python-master % export PATH="/Applications/Blender-4.3.2.app/Contents/Resources/4.3/python/bin:$PATH"
doeke@Mac ndi-python-master % python3.11 setup.py build
running build
running build_py
creating build
creating build/lib.macosx-11.2-arm64-cpython-311
creating build/lib.macosx-11.2-arm64-cpython-311/NDIlib
copying NDIlib/init.py -> build/lib.macosx-11.2-arm64-cpython-311/NDIlib
running build_ext
cmake .. -DCMAKE_INSTALL_PREFIX=/Users/doeke/Downloads/ndi-python-master/build/install
-- The C compiler identification is AppleClang 16.0.0.16000026
-- The CXX compiler identification is AppleClang 16.0.0.16000026
-- 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:12 (add_subdirectory):
The source directory

/Users/doeke/Downloads/ndi-python-master/lib/pybind11

does not contain a CMakeLists.txt file.

-- Found NDI: /Library/NDI SDK for Apple
CMake Error at CMakeLists.txt:21 (pybind11_add_module):
Unknown CMake command "pybind11_add_module".

-- Configuring incomplete, errors occurred!
error: command '/opt/homebrew/bin/cmake' failed with exit code 1

Screenshot 2024-12-28 at 11 02 15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant