Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Open3D failed on Ubuntu 20.04 with system VTK #6037

Closed
3 tasks done
manhha1402 opened this issue Mar 28, 2023 · 1 comment · Fixed by #6039
Closed
3 tasks done

Build Open3D failed on Ubuntu 20.04 with system VTK #6037

manhha1402 opened this issue Mar 28, 2023 · 1 comment · Fixed by #6039
Labels
build/install Build or installation issue

Comments

@manhha1402
Copy link

Checklist

Steps to reproduce the issue

I first cloned Open3D by:

git clone https://github.com/isl-org/Open3D.git
cd Open3D

Then, I build Open3D (on Ubuntu 20.04, with CUDA 11.4) with:

mkdir build
cd build
cmake -DBUILD_CUDA_MODULE=ON -DGLIBCXX_USE_CXX11_ABI=ON -DPYTHON_EXECUTABLE=/usr/bin/python3 -DUSE_SYSTEM_VTK=ON -DBUILD_VTK_FROM_SOURCE=OFF -DUSE_SYSTEM_JPEG=ON ..
make -j$(nproc)

image

Error message

I build Open3D (on Ubuntu 20.04, with CUDA 11.4
I build Open3d with system VTK and got the build error. Could you please check?
 Thank you

![image](https://user-images.githubusercontent.com/20105284/228224541-bf27236c-fd20-47b8-802e-15e4961d5354.png)

Open3D, Python and System information

- Operating system: Ubuntu 20.04 / macOS 10.15 / Windows 10 64-bit
- Python version: Python 3.8 / output from `import sys; print(sys.version)`
- Open3D version: output from python: `print(open3d.__version__)`
- System architecture: x86 / arm64 / apple-silicon / jetson / rpi
- Is this a remote workstation?: yes or no
- How did you install Open3D?: pip / conda / build from source
- Compiler version (if built from source): gcc 7.5 / clang 7.0

Additional information

I build Open3D (on Ubuntu 20.04, with CUDA 11.4
I build Open3d with system VTK and got the build error. Could you please check?
Thank you

image

@manhha1402 manhha1402 added the build/install Build or installation issue label Mar 28, 2023
@ssheorey
Copy link
Member

Hi @manhha1402 VTK 9.1+ is required for building Open3D - the Ubuntu 20.04 system version is too old. Will update cmake to flag an error in this case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build/install Build or installation issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants