当前位置:网站首页>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
- 重启终端窗口(一定要重启,不然没效果)
参考资料
边栏推荐
- Differences in perspectives of thinking
- 基于 xml 配置文件的入门级 SSM 框架整合
- Daily question brushing record (6)
- Openhgnn releases version 0.3
- 嵌入式开发:嵌入式基础——回调函数
- Does Xinhua San still have to rely on ICT to realize its 100 billion enterprise dream?
- mysql 锁机制与四种隔离级别
- Explore tidb lightning source code to solve the found bugs
- 【第27天】给定一个整数 n ,打印出1到n的全排列 | 全排列模板
- ensp云朵配置
猜你喜欢

On the complexity of software development and the way to improve its efficiency

PLM还能怎么用?

Openfeign service interface call

Istio微服务治理网格流量管理核心资源控制器详解

隐私计算FATE-离线预测
![[acwing] explanation of the 57th weekly competition](/img/ef/be89606b0e7fffac08280db0a73781.gif)
[acwing] explanation of the 57th weekly competition

Full explanation of ThreadLocal source code (threadlocalmap)

Privacy computing fat offline prediction

Details of istio micro service governance grid traffic management core resource controller

A pang's operation record
随机推荐
OpenFeign服务接口调用
Daily question brushing record (6)
CMOS级电路分析
基于 xml 配置文件的入门级 SSM 框架整合
一次性彻底解决 Web 工程中文乱码问题
To understand again is the person in the song
How to set postman to Chinese? (Chinese)
AXI总线
Summary of basic usage of command line editor sed
Record number of visits yesterday
【Acwing】第57场周赛 题解
微服务如何拆分
Half find (half find)
buuctf misc 百里挑一
局域网即时通讯软件应该怎么选择
思考的角度的差异
ZABBIX supports nail alarm
Hardware development notes (VII): basic process of hardware development, making a USB to RS232 module (VI): creating 0603 package and associating principle graphic devices
awk 简明教程
ensp云朵配置