Comment corriger CMake Could not find a package configuration file provided by "TBB" sur Ubuntu
Problème
Lors de la compilation d’un projet C/C++ avec CMake, vous voyez le message d’erreur suivant
cmake_tbb_error_output.txt
CMake Error at CMakeLists.txt:25 (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.Solution
Installez libtbb-dev avec
install_libtbb.sh
sudo apt -y install libtbb-devSi cet article vous a aidé, pensez à m'offrir un café ou à faire un don via PayPal pour soutenir la recherche et la publication de nouveaux articles sur TechOverflow