【环境搭建】深度图融合点云fusibile环境配置

mkdir build && cd build
cmake ..
make

进行编译即可,会自动导出后续fusibile被调用时的路径

一些坑记录在下面:


运行转化点云时报错:Error: no kernel image is available for execution on the device】


【OpenCV报错】

CMake Error at CMakeLists.txt:4 (find_package):
  By not providing "FindOpenCV.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "OpenCV", but
  CMake did not find one.

  Could not find a package configuration file provided by "OpenCV" with any
  of the following names:

    OpenCVConfig.cmake
    opencv-config.cmake

  Add the installation prefix of "OpenCV" to CMAKE_PREFIX_PATH or set
  "OpenCV_DIR" to a directory containing one of the above files.  If "OpenCV"
  provides a separate development package or SDK, be sure it has been
  installed.

-- Configuring incomplete, errors occurred!

【报错:fatal error: GL/gl.h: No such file or directory】

  • 原因:系统中缺少OpenGl库
  • 解决方案
apt-get install mesa-common-dev
apt-get install libgl1-mesa-dev

【报错:#error -- unsupported GNU version! gcc versions later than 6 are not supported

sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-6 10
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-6 10
  • 1
    点赞
  • 11
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 17
    评论
要搭建深度学习环境,你可以遵循以下步骤: 1. 安装Python:首先,确保你的计算机上已经安装了Python。你可以从Python的官方网站(https://www.python.org)下载Python的最新版本。 2. 安装pip:pip是Python的包管理工具,用于安装和管理第三方库。在安装Python时,pip通常会默认附带安装。你可以在终端或命令提示符中运行`pip --version`来检查是否已安装。 3. 创建虚拟环境(可选):为了隔离不同项目的依赖,建议在项目中创建一个虚拟环境。通过运行以下命令创建虚拟环境: ``` python -m venv myenv ``` 这将在当前目录下创建一个名为myenv的虚拟环境。 4. 激活虚拟环境(可选):要开始使用虚拟环境,需要激活它。在Windows上,运行以下命令: ``` myenv\Scripts\activate ``` 在Linux或macOS上,运行以下命令: ``` source myenv/bin/activate ``` 5. 安装深度学习库:在激活虚拟环境后,可以使用pip安装你需要的深度学习库。常见的深度学习库包括TensorFlow、PyTorch和Keras。例如,要安装TensorFlow,可以运行以下命令: ``` pip install tensorflow ``` 要安装PyTorch,可以运行以下命令: ``` pip install torch ``` 6. 安装其他依赖库:深度学习通常需要其他一些依赖库,如NumPy、Pandas和Matplotlib。你可以使用pip安装它们,例如: ``` pip install numpy pandas matplotlib ``` 完成上述步骤后,你就成功搭建了一个基本的深度学习环境。你可以使用Python编写深度学习代码,并利用安装的库进行开发和训练模型。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 17
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

doubleZ0108

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值