git+cmake将Open3D配置到visual studio

这里假设你已经安装好了上述内容,我们直接开始安装:
第一步:以管理员身份打开powershell,执行

git 复制代码
git clone https://github.com/isl-org/Open3D.git

然后依次执行

powershell 复制代码
cd Open3D
mkdir build
cd build

开启你的梯子,并设置你的梯子端口号

po 复制代码
$env:HTTP_PROXY="
$env:HTTPS_PROXY="http://127.0.0.1:4780"

然后执行下面(设置为你的VS版本,我这里是2019+Debug x64)

cmake 复制代码
cmake -G "Visual Studio 16 2019" -A x64 -DCMAKE_BUILD_TYPE=Debug ..

完成之后,依次执行

cmake 复制代码
cmake --build . --config Debug
cmake --install . --config Debug

假如install中缺失文件,比如我缺失了glew

那我就去单独获得glew32.lib,然后把它放在E:/src/Open3D/build/lib/Debug路径下,并重命名为Open3D_3rdparty_glew.lib

相关推荐
半青年8 小时前
华为鸿蒙电脑能否作为开发机?开发非鸿蒙应用?
ide·华为·编辑器·电脑·idea·harmonyos·visual studio
belldeep8 小时前
如何阅读、学习 Git 核心源代码 ?
git·学习·源代码
我不是秃头sheep9 小时前
Git安装教程及常用命令
git
海染棠花12 小时前
vscode+platformIO开发STM32(八)
ide·vscode·stm32
struggle202513 小时前
continue通过我们的开源 IDE 扩展和模型、规则、提示、文档和其他构建块中心,创建、共享和使用自定义 AI 代码助手
javascript·ide·python·typescript·开源
潮流coder17 小时前
IntelliJ IDEA给Controller、Service、Mapper不同文件设置不同的文件头注释模板、Velocity模板引擎
java·ide·intellij-idea
sduwcgg17 小时前
git经验
git
刘延林.17 小时前
树莓5安装 PyCharm 进行python脚本开发
ide·python·pycharm
麻雀无能为力17 小时前
git的使用
git
battlestar20 小时前
Visual studio 打包方法
ide·visual studio