KumarRobotics / kr_autonomous_flight

KR (KumarRobotics) autonomous flight system for GPS-denied quadrotors
Other
682 stars 119 forks source link

[Build Error] Could not find a package configuration file provided by "TBB" with any of the following names: TBBConfig.cmake, tbb-config.cmake #135

Closed adbidwai closed 2 years ago

adbidwai commented 2 years ago

System Configuration OS : Ubuntu 18.04 ROS Distro : Melodic

Errors     << fake_lidar:cmake /home/$(USER)/kr_ws/logs/fake_lidar/build.cmake.003.log              
CMake Error at /home/$(USER)/kr_ws/src/kr_autonomous_flight/autonomy_sim/unity_sim/fake_lidar/CMakeLists.txt:6 (list):
  list does not recognize sub-command PREPEND

CMake Error at /home/$(USER)/kr_ws/src/kr_autonomous_flight/autonomy_sim/unity_sim/fake_lidar/CMakeLists.txt:21 (find_package):
  By not providing "FindTBB.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "TBB", but
  CMake did not find one.

  Could not find a package configuration file provided by "TBB" with any of
  the following names:

    TBBConfig.cmake
    tbb-config.cmake

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

cd /home/$(USER)/kr_ws/build/fake_lidar; catkin build --get-env fake_lidar | catkin env -si  /usr/bin/cmake /home/$(USER)/kr_ws/src/kr_autonomous_flight/autonomy_sim/unity_sim/fake_lidar --no-warn-unused-cli -DCATKIN_DEVEL_PREFIX=/home/$(USER)/kr_ws/devel/.private/fake_lidar -DCMAKE_INSTALL_PREFIX=/home/$(USER)/kr_ws/install -DCMAKE_BUILD_TYPE=Release; cd -
XuRobotics commented 2 years ago

Just pushed a new commit to master, which disables the whole package so that you don't run into issues with fake_lidar.

We primarily support Ubuntu 20.04 + ROS Noetic. If you do have more issues with building from source, I would recommend you to use our docker environment.