Getting project build error after installing Open3D and linking to it
- Dominant language
- C++
- Stars
- 14k
- Forks
- 2.6k
- Avg merge
- 5d 18h
- Merged PRs (30d)
- 6
Description
### Checklist
- [x] I have searched for [similar issues](https://github.com/isl-org/Open3D/issues).
- [x] For Python issues, I have tested with the [latest development wheel](https://www.open3d.org/docs/latest/getting_started.html#development-version-pip).
- [x] I have checked the [release documentation](https://www.open3d.org/docs/release/) and the [latest documentation](https://www.open3d.org/docs/latest/) (for `main` branch).
### Steps to reproduce the issue
#### I first cloned Open3D by:
```
git clone https://github.com/isl-org/Open3D.git
cd Open3D
```
#### Then, I built Open3D (on Ubuntu 22.04) with:
```
cd util
./install_deps_ubuntu.sh
mkdir build
cd build
cmake ..
make -j$(nproc)
```
#### Then I installed it to my system with:
```
sudo make install
```
However, when I try and build my project once I've linked with Open3D, I get the following build error:
```
/usr/bin/ld: /usr/local/lib/libOpen3D_3rdparty_vtk_vtkFiltersModeling-9.1.a(vtkLoopSubdivisionFilter.cxx.o): undefined reference to symbol '_ZN33vtkApproximatingSubdivisionFilter8FindEdgeEP11vtkPolyDataxxxP11vtkIntArrayP9vtkIdList'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libvtkFiltersGeneral-9.1.so.9.1.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
gmake[2]: *** [CMakeFiles/mapper3d_node.dir/build.make:416: mapper3d_node] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:188: CMakeFiles/mapper3d_node.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2
```
### Error message
```shell
/usr/bin/ld: /usr/local/lib/libOpen3D_3rdparty_vtk_vtkFiltersModeling-9.1.a(vtkLoopSubdivisionFilter.cxx.o): undefined reference to symbol '_ZN33vtkApproximatingSubdivisionFilter8FindEdgeEP11vtkPolyDataxxxP11vtkIntArrayP9vtkIdList'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libvtkFiltersGeneral-9.1.so.9.1.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
gmake[2]: *** [CMakeFiles/mapper3d_node.dir/build.make:416: mapper3d_node] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:188: CMakeFiles/mapper3d_node.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2
```
### Open3D, Python and System information
```markdown
- Operating system: Ubuntu 22.04
- Open3D version: output from python: 0.19.0
- System architecture: x86
- Is this a remote workstation?: No
- How did you install Open3D?: Build from source
- Compiler version (if built from source): GCC 11.4.0
```
### Additional information
_No response_
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.