Sorun
Örneğin apt install robotpkg-pinocchio kullanarak kurmuş olmanıza rağmen, CMake pinoccio gibi OpenRobots paketlerini bulamıyor.
cmake_pinocchio_error.txt
CMake Error at CMakeLists.txt:21 (find_package):
By not providing "Findpinocchio.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"pinocchio", but CMake did not find one.
Could not find a package configuration file provided by "pinocchio" with
any of the following names:
pinocchioConfig.cmake
pinocchio-config.cmake
Add the installation prefix of "pinocchio" to CMAKE_PREFIX_PATH or set
"pinocchio_DIR" to a directory containing one of the above files. If
"pinocchio" provides a separate development package or SDK, be sure it has
been installed.Çözüm
CMAKE_PREFIX_PATH ortam değişkenini OpenRobots paketlerinin kurulu olduğu yola ayarlamanız gerekir. Bu genellikle /opt/robotpkg‘dir.
cmake_openrobots.sh
cmake . -DCMAKE_PREFIX_PATH=/opt/robotpkgIf this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow