当前位置:网站首页>PCL库——报错解决:安装时遇到的cmake与anaconda的冲突问题
PCL库——报错解决:安装时遇到的cmake与anaconda的冲突问题
2022-06-27 13:13:00 【William.csj】
一、报错
CMake Warning at cmake/pcl_targets.cmake:194 (add_library):
Cannot generate a safe runtime search path for target pcl_io because files
in some directories may conflict with libraries in implicit directories:
runtime library [libz.so.1] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
/home/filex/anaconda3/lib
runtime library [libfreetype.so.6] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
/home/filex/anaconda3/lib
runtime library [libexpat.so.1] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
/home/filex/anaconda3/lib
runtime library [libxml2.so.2] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
/home/filex/anaconda3/lib
runtime library [libQt5Sql.so.5] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
/home/filex/anaconda3/lib
runtime library [libQt5Network.so.5] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
/home/filex/anaconda3/lib
Some of these libraries may not be found correctly.
Call Stack (most recent call first):cmake
io/CMakeLists.txt:331 (PCL_ADD_LIBRARY)
二、原因
找库文件时的路径跑到anaconda那去了。
三、解决办法
打开bashrc,注释掉PATH中包含anaconda的路径,重启终端窗口。
具体步骤:
- gedit ~/.bashrc
- 注释掉PATH中包含anaconda的路径
- source ~/.bashrc
- 重启终端窗口(一定要重启,不然没效果)
参考资料
边栏推荐
- GCC compiling dynamic and static libraries
- JSON.stringify用法
- ThreadLocal 源码全详解(ThreadLocalMap)
- IJCAI 2022 | greatly improve the effect of zero sample learning method with one line of code. Nanjing Institute of Technology & Oxford proposed the plug and play classifier module
- [day 27] given an integer n, print out the full permutation from 1 to n | Full Permutation template
- 云原生(三十) | Kubernetes篇之应用商店-Helm
- ZABBIX supports nail alarm
- scrapy
- 再懂已是曲中人
- 爱可可AI前沿推介(6.27)
猜你喜欢
随机推荐
Journal quotidien des questions (6)
IJCAI 2022 | 用一行代码大幅提升零样本学习方法效果,南京理工&牛津提出即插即用分类器模块
使用bitnamiredis-sentinel部署Redis 哨兵模式
微服务如何拆分
这是什么空调?
How to modify a node_ Files in modules
内网学习笔记(8)
一次性彻底解决 Web 工程中文乱码问题
Nifi from introduction to practice (nanny level tutorial) - identity authentication
清楚的自我定位
Socket blocking and non blocking modes
Implementation of recruitment website based on SSM
Make learning pointer easier (2)
OpenFeign服务接口调用
How to split microservices
创建Deployment后,无法创建Pod问题处理
【第27天】给定一个整数 n ,打印出1到n的全排列 | 全排列模板
VS调试技巧
PLM还能怎么用?
关于接口测试自动化的总结与思考





![[medical segmentation] unet3+](/img/93/1e9728a3dbebbf3bd9ce015552ce7a.jpg)



