博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
open3Dv0.10编译安装(本机ubuntu16.04+gcc6.5.0)(在jupyter显示-使用网页)
阅读量:2050 次
发布时间:2019-04-28

本文共 2656 字,大约阅读时间需要 8 分钟。

后来发现ubuntu16.04已经有编译好的:

python -mpip install open3d==0.10.0.0  -i https://pypi.tuna.tsinghua.edu.cn/simple
不要用:
python -mpip install open3d-python==0.10.0.0  -i https://pypi.tuna.tsinghua.edu.cn/simple

之所以需要自己编译,是因为最新版本不适合我的机器环境:

Pre-built pip and conda packages support Ubuntu 18.04+, macOS 10.14+ and Windows 10 (64-bit) with Python 3.5, 3.6, 3.7 and 3.8. If you have other Python versions or operating systems, please compile Open3D from source

参考:(没梯子看这个有点慢)

需要的环境:

CMake 3.8.0 or higher is required

直接下载包进行cmake会出现:

CMake Error at 3rdparty/CMakeLists.txt:39 (message):  3rdparty submodules are missing  if you are using git, to update submodules run:    git submodule update --init --recursive

正确应该是git下载:

git clone --recursive https://github.com/intel-isl/Open3D

他有一些依赖项:

util/scripts/install-deps-ubuntu.sh
#!/usr/bin/env bashset -evsudo apt-get updateif [ "$1" == "assume-yes" ]; then    sudo apt-get --yes install xorg-dev libglu1-mesa-dev libgl1-mesa-glx || true    sudo apt-get --yes install libglew-dev || true    sudo apt-get --yes install libglfw3-dev || true    sudo apt-get --yes install libeigen3-dev || true    sudo apt-get --yes install libpng-dev || true    sudo apt-get --yes install libpng16-dev || true    sudo apt-get --yes install libsdl2-dev || true    sudo apt-get --yes install python-dev python-tk || true    sudo apt-get --yes install python3-dev python3-tk || true    sudo apt-get --yes install libtbb-dev || true    sudo apt-get --yes install libglu1-mesa-dev || true    sudo apt-get --yes install libc++-7-dev || true    sudo apt-get --yes install libc++abi-7-dev || true    sudo apt-get --yes install ninja-build || true    sudo apt-get --yes install libxi-dev || trueelse    sudo apt-get install xorg-dev libglu1-mesa-dev libgl1-mesa-glx || true    sudo apt-get install libglew-dev || true    sudo apt-get install libglfw3-dev || true    sudo apt-get install libeigen3-dev || true    sudo apt-get install libpng-dev || true    sudo apt-get install libpng16-dev || true    sudo apt-get install libsdl2-dev || true    sudo apt-get install python-dev python-tk || true    sudo apt-get install python3-dev python3-tk || true    sudo apt-get install libtbb-dev || true    sudo apt-get install libglu1-mesa-dev || true    sudo apt-get install libc++-7-dev || true    sudo apt-get install libc++abi-7-dev || true    sudo apt-get install ninja-build || true    sudo apt-get install libxi-dev || truefi

我这边git clone太慢了。。。。

我通过国内的码云备份:

参考:

备份后,通过:

git clone --recursive https://gitee.com/yangninghua/Open3D

进行下载

然后cd Open3D/3rdparty

输入命令:

git submodule update --init --recursive

 

~/.conda/envs/py3_6--pytorch1_1_0/bin/jupyter notebook

转载地址:http://bkwlf.baihongyu.com/

你可能感兴趣的文章
【托业】【跨栏】TEST04
查看>>
【托业】【跨栏】TEST05
查看>>
【托业】【全真题库】TEST1-语法题+阅读题
查看>>
【托业】【全真题库】TEST3-语法题+阅读题
查看>>
【托业】【跨栏】TEST06
查看>>
【托业】320题-语法题(03-04)(03-37、04-11)
查看>>
【日语】五十音图-一个好用的日语五十音图记忆方法
查看>>
linux下使用crontab实现定时PHP计划任务失败的原因分析
查看>>
linux环境下安装redis扩展
查看>>
一个简单大方的赞后+1,踩后-1js动画效果
查看>>
新手学习编程的最佳方式
查看>>
从json_encode过来的的字符串被返回到html页面时的解析
查看>>
linux虚拟机局域网网卡配置
查看>>
用js判断是否为手机浏览,如果是手机浏览就跳转到手机站
查看>>
每天一个linux命令(26):用SecureCRT来上传和下载文件(转载自竹子)
查看>>
定时启动计划任务(转载自网络)
查看>>
Javascript的RegExp对象(转载自网络)
查看>>
rwx对于文件和目录的意义
查看>>
借助csv用PHP生成excel文件
查看>>
使用SimpleXML解析xml文件数据
查看>>