当前位置:网站首页>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
- 重启终端窗口(一定要重启,不然没效果)
参考资料
边栏推荐
- Crane: a new way of dealing with dictionary items and associated data
- crane:字典项与关联数据处理的新思路
- 快讯:华为启动鸿蒙开发者大赛;腾讯会议发布“万室如意”计划
- 基于SSM实现招聘网站
- 使用bitnamiredis-sentinel部署Redis 哨兵模式
- Yyds dry goods inventory solution sword finger offer: cut rope (advanced version)
- 微服务如何拆分
- How to use 200 lines of code to implement Scala's Object Converter
- Cesium实现卫星在轨绕行
- Good luck today
猜你喜欢

ThreadLocal 源码全详解(ThreadLocalMap)

今天运气不错

Vs debugging skills

hue新建账号报错解决方案
![[tcapulusdb knowledge base] Introduction to tcapulusdb tcapsvrmgr tool (III)](/img/ce/b58e436e739a96b3ba6d2d33cf8675.png)
[tcapulusdb knowledge base] Introduction to tcapulusdb tcapsvrmgr tool (III)

Size end byte order

Hue new account error reporting solution

嵌入式开发:嵌入式基础——回调函数

After the deployment is created, the pod problem handling cannot be created

buuctf misc 百里挑一
随机推荐
[tcapulusdb knowledge base] Introduction to tcapulusdb tcapsvrmgr tool (III)
夏日里的清凉
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
Yyds dry goods inventory solution sword finger offer: cut rope (advanced version)
微服务如何拆分
Interviewer: do you understand redis' shared object pool?
buuctf misc 百里挑一
基于 xml 配置文件的入门级 SSM 框架整合
ensp云朵配置
High efficiency exponentiation
Summary of redis master-slave replication principle
MySQL 索引及其分类
诗歌一首看看
防火墙基础之华为华三防火墙web页面登录
硬件开发笔记(七): 硬件开发基本流程,制作一个USB转RS232的模块(六):创建0603封装并关联原理图元器件
Ali an interview question: use two threads to output letters and numbers alternately
Summary of basic usage of command line editor sed
How to choose LAN instant messaging software
Record number of visits yesterday
Read a poem