Could not find a package configuration file provided by "pcl_conversions" with any of the following names
时间: 2023-10-21 13:20:06 浏览: 114
asked CMake to find a package configuration file provided by “MRPT”, but CMake did not find one.
5星 · 资源好评率100%
This error usually occurs when you try to build a package that depends on the PCL library and the PCL library is not installed or not properly configured on your system.
To solve this issue, you need to make sure that you have installed the PCL library and all its dependencies on your system. You can do this by running the following command in your terminal:
```
sudo apt-get install libpcl-dev
```
If you have already installed the PCL library but still facing the same issue, you can try running the following command:
```
sudo ldconfig -v | grep pcl
```
This command will show you the paths where the PCL library is installed. If the paths are not correct, you need to update the LD_LIBRARY_PATH environment variable to include the correct paths.
```
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
```
After updating the LD_LIBRARY_PATH environment variable, try building your package again.
阅读全文