Skip to content

Instantly share code, notes, and snippets.

@warmonkey
Last active May 6, 2023 08:38
Show Gist options
  • Save warmonkey/e9ab970741aea2e16a263dcc361eb0a0 to your computer and use it in GitHub Desktop.
Save warmonkey/e9ab970741aea2e16a263dcc361eb0a0 to your computer and use it in GitHub Desktop.
Build Open3D from source on Windows 10 and Python 3.11
  1. Install dependencies
  1. Download Open3D and Open3D-ML
git clone --recursive https://github.com/isl-org/Open3D
git clone --recursive https://github.com/isl-org/Open3D-ML
  1. Configure and build
cd Open3D
mkdir build
cd build
cmake -DBUILD_COMMON_ISPC_ISAS=ON \
      -DBUILD_JUPYTER_EXTENSION=ON \
      -DBUILD_LIBREALSENSE=ON \
      -DBUILD_AZURE_KINECT=ON \
      -G "Visual Studio 17 2022" -A x64 \
      -DCMAKE_INSTALL_PREFIX="D:/path/to/release/dir"  ..
cmake --build . --config Release --target ALL_BUILD

Note: Open3D-ML and Torch ops failed to compile with MSVC currently. (MSVC cannot deduce Eigen::Array templates)
Options below were removed:

      -DBUILD_PYTORCH_OPS=ON \
      -DBUNDLE_OPEN3D_ML=ON \
      -DOPEN3D_ML_ROOT=D:/path/to/Open3D-ML \
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment