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

Open3D 0.19.0 "make install" causes relink #7152

Open
3 tasks done
cielavenir opened this issue Jan 29, 2025 · 1 comment · May be fixed by #7155
Open
3 tasks done

Open3D 0.19.0 "make install" causes relink #7152

cielavenir opened this issue Jan 29, 2025 · 1 comment · May be fixed by #7155
Labels
bug Not a build issue, this is likely a bug.

Comments

@cielavenir
Copy link
Contributor

Checklist

Describe the issue

Open3D 0.19.0 "make install" causes relink, which slows down the build. (Also, adding a automatic step to CMakeLists to execute "make python-package" never finishes)

0.18.0 does not have this issue:

docker run -it --rm --entrypoint=bash debian:bookworm

apt update && apt install -y git g++ make cmake python3-dev libx11-dev libxrandr-dev libxinerama-dev libxcursor-dev libfilament-dev libassimp-dev libfmt-dev libglew-dev libglfw3-dev libjpeg-dev liblzf-dev
git clone https://github.com/isl-org/Open3D
cd Open3D
git checkout v0.18.0
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DBUILD_PYTHON_MODULE=ON -DBUILD_SHARED_LIBS=ON -DBUILD_GUI=OFF -DBUILD_EXAMPLES=OFF -DCMAKE_CXX_STANDARD=17 -DGLIBCXX_USE_CXX11_ABI=ON -DUSE_SYSTEM_ASSIMP=ON -DUSE_SYSTEM_FMT=ON -DUSE_SYSTEM_GLEW=ON -DUSE_SYSTEM_GLFW=ON -DUSE_SYSTEM_JPEG=ON -DUSE_SYSTEM_LIBLZF=ON
make -j8

make install
root@5c9471d0ed18:/Open3D/build# make install
[  1%] Built target ext_eigen
[  2%] Built target ext_nanoflann
[  3%] Built target ext_jsoncpp
[  4%] Built target ext_boringssl
[  5%] Built target ext_curl
[  6%] Built target ext_zlib
[  7%] Built target ext_libpng
[  9%] Built target 3rdparty_rply
[  9%] Built target 3rdparty_tinyfiledialogs
[ 10%] Built target ext_tinygltf
[ 11%] Built target ext_tinyobjloader
[ 12%] Built target ext_qhull
[ 14%] Built target 3rdparty_qhull_r
[ 17%] Built target 3rdparty_qhullcpp
[ 18%] Built target ext_poisson
[ 19%] Built target ext_zeromq
[ 20%] Built target ext_cppzmq
[ 21%] Built target ext_msgpack-c
[ 22%] Built target ext_vtk
[ 23%] Built target ext_directxheaders
[ 25%] Built target ext_directxmath
[ 27%] Built target ext_uvatlas
[ 28%] Built target ext_tbb
[ 29%] Built target ext_parallelstl
[ 30%] Built target ext_mkl_include
[ 31%] Built target ext_mkl
[ 34%] Built target ext_ippicv
[ 35%] Built target ext_embree
[ 35%] Built target ShaderLinker
[ 35%] Built target ShaderEncoder
[ 38%] Built target shader
[ 44%] Built target visualization
[ 44%] Built target camera
[ 54%] Built target core
[ 61%] Built target data
[ 65%] Built target geometry
[ 71%] Built target io
[ 72%] Built target ml_contrib
[ 75%] Built target pipelines
[ 77%] Built target tgeometry
[ 78%] Built target tgeometry_kernel
[ 80%] Built target tio
[ 81%] Built target tpipelines
[ 84%] Built target tpipelines_kernel
[ 86%] Built target utility
[ 86%] Built target Open3D
[ 86%] Built target ConvertPointCloud
[ 86%] Built target GLInfo
[ 86%] Built target ManuallyCropGeometry
[ 86%] Built target MergeMesh
[ 86%] Built target ViewGeometry
[ 87%] Built target ManuallyAlignPointCloud
[ 87%] Built target OfflineReconstruction
[100%] Built target pybind
Install the project...
-- Install configuration: "Release"

Steps to reproduce the bug

(due to glfw difference, bookworm cannot build 0.19.0)


docker run -it --rm --entrypoint=bash debian:trixie

apt update && apt install -y git g++ make cmake python3-dev libx11-dev libxrandr-dev libxinerama-dev libxcursor-dev libfilament-dev libassimp-dev libfmt-dev libglew-dev libglfw3-dev libjpeg-dev liblzf-dev
git clone https://github.com/isl-org/Open3D
cd Open3D
git checkout v0.19.0
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DBUILD_PYTHON_MODULE=ON -DBUILD_SHARED_LIBS=ON -DBUILD_GUI=OFF -DBUILD_EXAMPLES=OFF -DCMAKE_CXX_STANDARD=17 -DGLIBCXX_USE_CXX11_ABI=ON -DUSE_SYSTEM_ASSIMP=ON -DUSE_SYSTEM_FMT=ON -DUSE_SYSTEM_GLEW=ON -DUSE_SYSTEM_GLFW=ON -DUSE_SYSTEM_JPEG=ON -DUSE_SYSTEM_LIBLZF=ON
make -j8

Error message

root@fbc9f97cb6ab:/Open3D/build# make install
[  1%] Built target ext_eigen
[  2%] Built target ext_nanoflann
[  4%] Built target ext_jsoncpp
[  5%] Built target ext_boringssl
[  6%] Built target ext_curl
[  7%] Built target ext_zlib
[  9%] Built target ext_libpng
[ 10%] Built target 3rdparty_rply
[ 10%] Built target 3rdparty_tinyfiledialogs
[ 11%] Built target ext_tinygltf
[ 12%] Built target ext_tinyobjloader
[ 14%] Built target 3rdparty_qhull_r
[ 17%] Built target 3rdparty_qhullcpp
[ 18%] Built target ext_poisson
[ 19%] Built target ext_zeromq
[ 20%] Built target ext_cppzmq
[ 21%] Built target ext_msgpack-c
[ 22%] Built target ext_vtk
[ 23%] Built target ext_directxheaders
[ 25%] Built target ext_directxmath
[ 26%] Built target ext_uvatlas
[ 27%] Built target ext_mkl
[ 27%] Performing update step for 'ext_ipp'
[ 27%] No patch step for 'ext_ipp'
[ 27%] No configure step for 'ext_ipp'
[ 27%] No build step for 'ext_ipp'
[ 27%] No install step for 'ext_ipp'
[ 28%] Completed 'ext_ipp'
[ 28%] Built target ext_ipp
[ 29%] Built target ext_embree
[ 34%] Built target tbb
[ 34%] Built target ShaderLinker
[ 34%] Built target ShaderEncoder
[ 37%] Built target shader
[ 39%] Built target visualization_impl
[ 39%] Built target camera
[ 46%] Built target core
[ 50%] Built target core_impl
[ 56%] Built target data
[ 62%] Built target geometry
[ 68%] Built target io
[ 68%] Built target ml_contrib
[ 71%] Built target pipelines
[ 73%] Built target tgeometry
[ 76%] Built target tgeometry_kernel
[ 77%] Built target tio
[ 78%] Built target tpipelines
[ 80%] Built target tpipelines_kernel
[ 82%] Built target utility
[ 86%] Built target visualization
[ 86%] Linking CXX shared library ../../lib/Release/libOpen3D.so
[ 86%] Built target Open3D
[ 86%] Linking CXX executable ../../bin/ConvertPointCloud
[ 86%] Built target ConvertPointCloud
[ 86%] Linking CXX executable ../../bin/GLInfo
[ 86%] Built target GLInfo
[ 86%] Linking CXX executable ../../bin/ManuallyCropGeometry
[ 86%] Built target ManuallyCropGeometry
[ 86%] Linking CXX executable ../../bin/MergeMesh
[ 86%] Built target MergeMesh
[ 86%] Linking CXX executable ../../bin/ViewGeometry
[ 86%] Built target ViewGeometry
[ 87%] Linking CXX executable ../../../bin/ManuallyAlignPointCloud
[ 87%] Built target ManuallyAlignPointCloud
[ 87%] Linking CXX executable ../../OfflineReconstruction/OfflineReconstruction
[ 87%] Built target OfflineReconstruction
[ 87%] Linking CXX shared module ../../lib/Release/Python/cpu/pybind.cpython-313-x86_64-linux-gnu.so
[100%] Built target pybind
Install the project...
-- Install configuration: "Release"

Expected behavior

These message should not be printed in "make install"

Linking CXX shared library ../../lib/Release/libOpen3D.so
Linking CXX shared module ../../lib/Release/Python/cpu/pybind.cpython-313-x86_64-linux-gnu.so

Open3D, Python and System information

- Operating system: Debian 13
- Python version: Python 3.13
- Open3D version: 0.19.0
- System architecture: amd64
- How did you install Open3D?: build from source
- Compiler version (if built from source): gcc 14

Additional information

No response

@cielavenir cielavenir added the bug Not a build issue, this is likely a bug. label Jan 29, 2025
@cielavenir
Copy link
Contributor Author

Figured out the cause, patch #7155

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Not a build issue, this is likely a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant