当前位置:网站首页>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
- 重启终端窗口(一定要重启,不然没效果)
参考资料
边栏推荐
- MySQL index and its classification
- 基于JSP实现医院病历管理系统
- L June training (day 27) - figure
- Openfeign service interface call
- Shell concise tutorial
- 打印输出数(递归方法解决)
- 7 killer JS lines of code
- Pre training weekly issue 51: reconstruction pre training, zero sample automatic fine tuning, one click call opt
- mysql 锁机制与四种隔离级别
- AGCO AI frontier promotion (6.27)
猜你喜欢

High efficiency exponentiation

Number of printouts (solved by recursive method)

基于STM32设计的蓝牙健康管理设备

创建Deployment后,无法创建Pod问题处理

Openfeign service interface call

硬件开发笔记(七): 硬件开发基本流程,制作一个USB转RS232的模块(六):创建0603封装并关联原理图元器件

Size end byte order

Cloud native (30) | kubernetes' app store Helm

Two TCP flow control problems

CMOS级电路分析
随机推荐
【Acwing】第57场周赛 题解
Good luck today
Cesium实现卫星在轨绕行
Embedded development: embedded foundation callback function
jvm 参数设置与分析
MySQL index and its classification
诗歌一首看看
GCC compiling dynamic and static libraries
ThreadLocal 源码全详解(ThreadLocalMap)
Vs debugging skills
防火墙基础之华为华三防火墙web页面登录
Prometheus 2.26.0 new features
Full explanation of ThreadLocal source code (threadlocalmap)
Cloud native (30) | kubernetes' app store Helm
【周赛复盘】LeetCode第81场双周赛
crane:字典项与关联数据处理的新思路
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
Does Xinhua San still have to rely on ICT to realize its 100 billion enterprise dream?
爱可可AI前沿推介(6.27)
基于JSP实现医院病历管理系统