当前位置:网站首页>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
- 重启终端窗口(一定要重启,不然没效果)
参考资料
边栏推荐
- 打印输出数(递归方法解决)
- After 2 years of outsourcing, I finally landed! Record my ByteDance 3 rounds of interviews, hope to help you!
- [dynamic programming] - Knapsack Problem
- scrapy
- How to use 200 lines of code to implement Scala's Object Converter
- Does Xinhua San still have to rely on ICT to realize its 100 billion enterprise dream?
- 同花顺能开户炒股吗?安全吗?
- 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
- Yuweng information, a well-known information security manufacturer, joined the dragon lizard community to build an open source ecosystem
- Size end byte order
猜你喜欢
随机推荐
【问题解决】Tensorflow中run究竟运行了哪些节点?
High efficiency exponentiation
scrapy
快速搭建一个自己的访问国外网站,搭建ss并开启bbr快速上网
Pre training weekly issue 51: reconstruction pre training, zero sample automatic fine tuning, one click call opt
Cesium实现卫星在轨绕行
[medical segmentation] unet3+
Prometheus 2.26.0 new features
AXI总线
Does Xinhua San still have to rely on ICT to realize its 100 billion enterprise dream?
对半查找(折半查找)
Ali an interview question: use two threads to output letters and numbers alternately
Yuweng information, a well-known information security manufacturer, joined the dragon lizard community to build an open source ecosystem
Journal quotidien des questions (6)
Two TCP flow control problems
AGCO AI frontier promotion (6.27)
Different habits
内网学习笔记(8)
昨天访问量破记录
Shell 简明教程









