PRBonn/kiss-icp

About Install Python API (developer mode)

hlldy6858 opened this issue · 1 comments

Hello, I encountered the following error in this step :
make editable
How should I resolve this error?
error:

/home/hlldy/KISS-ICP/src/kiss-icp/cpp/kiss_icp/core/Registration.cpp:174:69: error: ‘tbb::info’ has not been declared
    174 |       max_num_threads_(max_num_threads > 0 ? max_num_threads : tbb::info::default_concurrency()) {
        |                                                                     ^~~~
  [7/12] Building CXX object kiss_icp/pybind/CMakeFiles/kiss_icp_pybind.dir/kiss_icp_pybind.cpp.o
  [8/12] Building CXX object kiss_icp/metrics/CMakeFiles/kiss_icp_metrics.dir/Metrics.cpp.o
  ninja: build stopped: subcommand failed.

  *** CMake build failed
  error: subprocess-exited-with-error
  
  × Building editable for kiss-icp (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> See above for output.
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  full command: /home/hlldy/anaconda3/envs/KISS/bin/python /home/hlldy/anaconda3/envs/KISS/lib/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py build_editable /tmp/tmpfoi_fit3
  cwd: /home/hlldy/KISS-ICP/src/kiss-icp/python
  Building editable for kiss-icp (pyproject.toml) ... error
  ERROR: Failed building editable for kiss-icp
Failed to build kiss-icp
ERROR: Could not build wheels for kiss-icp, which is required to install pyproject.toml-based projects
make: *** [Makefile:11:editable] 错误 1

I've fixed this error, thanks.