config-i1 / smooth

The set of functions used for time series analysis and in forecasting.
89 stars 19 forks source link

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

Open pogigroo opened 3 months ago

pogigroo commented 3 months ago

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/python@3.10/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```