如何修复 Ubuntu 上的 CMake 'Could not find a package configuration file provided by "Coin" ...'
问题:
当尝试编译你的 CMake 项目时,你会看到类似这样的错误消息
coin_error.txt
CMake Error at cMake/FreeCAD_Helpers/SetupCoin3D.cmake:13 (find_package):
Could not find a package configuration file provided by "Coin" with any of
the following names:
CoinConfig.cmake
coin-config.cmake
Add the installation prefix of "Coin" to CMAKE_PREFIX_PATH or set
"Coin_DIR" to a directory containing one of the above files. If "Coin"
provides a separate development package or SDK, be sure it has been
installed.
Call Stack (most recent call first):
CMakeLists.txt:86 (SetupCoin3D)解决方案
install_libcoin_dev.sh
sudo apt -y install libcoin-dev在 Ubuntu 22.04 上测试
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow