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

Getting project build error after installing Open3D and linking to it #7173

Open
3 tasks done
JeffR1992 opened this issue Feb 14, 2025 · 0 comments
Open
3 tasks done

Comments

@JeffR1992
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 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

/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

- 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant