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

Build breaks on carma - can't find CMakelists.txt file #223

Open
pogigroo opened this issue May 29, 2024 · 0 comments
Open

Build breaks on carma - can't find CMakelists.txt file #223

pogigroo opened this issue May 29, 2024 · 0 comments

Comments

@pogigroo
Copy link

Newb issue, but I'm not sure how to fix this one...

WARNING: Use cmake.version instead of cmake.minimum-version with scikit-build-core >= 0.8
WARNING: Use ninja.version instead of ninja.minimum-version with scikit-build-core >= 0.8
*** scikit-build-core 0.9.4 using CMake 3.29.3 (editable)
*** Configuring CMake...
loading initial cache file build/CMakeInit.txt
-- The project is built using scikit-build
-- Found PythonInterp: /Users/ericgroo/Library/Caches/uv/.tmp3RCy1U/.venv/bin/python (found suitable version "3.10.14", minimum required is "3.6")
-- Found PythonLibs: /usr/local/opt/[email protected]/Frameworks/Python.framework/Versions/3.10/Python
-- Found pybind11: /Users/ericgroo/Library/Caches/uv/.tmp3RCy1U/.venv/lib/python3.10/site-packages/pybind11/include (found version "2.12.0")
-- Configuring incomplete, errors occurred!
--- stderr:
2024-05-29 01:05:17,638 - scikit_build_core - INFO - RUN: /usr/local/bin/cmake -E capabilities
2024-05-29 01:05:17,657 - scikit_build_core - INFO - CMake version: 3.29.3
2024-05-29 01:05:17,663 - scikit_build_core - INFO - Build directory: /Users/ericgroo/smooth/python/build
2024-05-29 01:05:17,665 - scikit_build_core - WARNING - No license files found, set wheel.license-files to [] to suppress this warning
2024-05-29 01:05:17,707 - scikit_build_core - INFO - RUN: /Users/ericgroo/Library/Caches/uv/.tmp3RCy1U/.venv/lib/python3.10/site-packages/ninja/data/bin/ninja --version
2024-05-29 01:05:17,852 - scikit_build_core - INFO - Ninja version: 1.11.1
2024-05-29 01:05:26,101 - scikit_build_core - INFO - RUN: /usr/local/bin/cmake -S. -Bbuild -DCMAKE_BUILD_TYPE:STRING=Release -Cbuild/CMakeInit.txt -DCMAKE_MAKE_PROGRAM=/Users/ericgroo/Library/Caches/uv/.tmp3RCy1U/.venv/lib/python3.10/site-packages/ninja/data/bin/ninja
CMake Warning (dev) at /Users/ericgroo/Library/Caches/uv/.tmp3RCy1U/.venv/lib/python3.10/site-packages/pybind11/share/cmake/pybind11/FindPythonLibsNew.cmake:101 (message):
  Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
  are removed.  Run "cmake --help-policy CMP0148" for policy details.  Use
  the cmake_policy command to set the policy and suppress this warning, or
  preferably upgrade to using FindPython, either by calling it explicitly
  before pybind11, or by setting PYBIND11_FINDPYTHON ON before pybind11.
Call Stack (most recent call first):
  /Users/ericgroo/Library/Caches/uv/.tmp3RCy1U/.venv/lib/python3.10/site-packages/pybind11/share/cmake/pybind11/pybind11Tools.cmake:50 (find_package)
  /Users/ericgroo/Library/Caches/uv/.tmp3RCy1U/.venv/lib/python3.10/site-packages/pybind11/share/cmake/pybind11/pybind11Common.cmake:192 (include)
  /Users/ericgroo/Library/Caches/uv/.tmp3RCy1U/.venv/lib/python3.10/site-packages/pybind11/share/cmake/pybind11/pybind11Config.cmake:250 (include)
  CMakeLists.txt:14 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Error at CMakeLists.txt:17 (ADD_SUBDIRECTORY):
  The source directory

    /Users/ericgroo/smooth/src/libs/carma

  does not contain a CMakeLists.txt file.


CMake Warning (dev) at /usr/local/Cellar/cmake/3.29.3/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
  The package name passed to `find_package_handle_standard_args` (Armadillo)
  does not match the name of the calling package (armadillo).  This can lead
  to problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  /usr/local/Cellar/cmake/3.29.3/share/cmake/Modules/Findarmadillo.cmake:117 (find_package_handle_standard_args)
  CMakeLists.txt:30 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.


*** CMake configuration failed```
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