isl-org / Open3D

Open3D: A Modern Library for 3D Data Processing
http://www.open3d.org
Other
11.28k stars 2.28k forks source link

Cannot compile on macOS Sonoma 14.3 #6641

Open qiweishen opened 8 months ago

qiweishen commented 8 months ago

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 (macOS Sonoma 14.3, with Apple M3max chip) with:

mkdir build
cd build
cmake -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX=${HOME}/open3d ..
make install -j 12

Error message

-- Installing: /Users/sqw/Open3D/build/vtk/include/vtk-9.1/vtkRibbonFilter.h
-- Installing: /Users/sqw/Open3D/build/vtk/include/vtk-9.1/vtkRotationalExtrusionFilter.h
-- Installing: /Users/sqw/Open3D/build/vtk/include/vtk-9.1/vtkRuledSurfaceFilter.h
-- Installing: /Users/sqw/Open3D/build/vtk/include/vtk-9.1/vtkSectorSource.h
-- Installing: /Users/sqw/Open3D/build/vtk/include/vtk-9.1/vtkSelectEnclosedPoints.h
-- Installing: /Users/sqw/Open3D/build/vtk/include/vtk-9.1/vtkSelectPolyData.h
-- Installing: /Users/sqw/Open3D/build/vtk/include/vtk-9.1/vtkSpherePuzzle.h
-- Installing: /Users/sqw/Open3D/build/vtk/include/vtk-9.1/vtkSpherePuzzleArrows.h
-- Installing: /Users/sqw/Open3D/build/vtk/include/vtk-9.1/vtkSubdivideTetra.h
-- Installing: /Users/sqw/Open3D/build/vtk/include/vtk-9.1/vtkTrimmedExtrusionFilter.h
-- Installing: /Users/sqw/Open3D/build/vtk/include/vtk-9.1/vtkVolumeOfRevolutionFilter.h
-- Installing: /Users/sqw/Open3D/build/vtk/include/vtk-9.1/vtkFiltersModelingModule.h
-- Installing: /Users/sqw/Open3D/build/vtk/lib/libvtkFiltersModeling-9.1.a
-- Installing: /Users/sqw/Open3D/build/vtk/lib/cmake/vtk-9.1/VTK-targets.cmake
-- Installing: /Users/sqw/Open3D/build/vtk/lib/cmake/vtk-9.1/VTK-targets-release.cmake
-- Installing: /Users/sqw/Open3D/build/vtk/lib/cmake/vtk-9.1/VTK-vtk-module-properties.cmake
-- Installing: /Users/sqw/Open3D/build/vtk/lib/cmake/vtk-9.1/Finddouble-conversion.cmake
-- Installing: /Users/sqw/Open3D/build/vtk/lib/cmake/vtk-9.1/FindEigen3.cmake
-- Installing: /Users/sqw/Open3D/build/vtk/lib/cmake/vtk-9.1/FindEXPAT.cmake
-- Installing: /Users/sqw/Open3D/build/vtk/lib/cmake/vtk-9.1/FindExprTk.cmake
-- Installing: /Users/sqw/Open3D/build/vtk/lib/cmake/vtk-9.1/FindFFMPEG.cmake
-- Installing: /Users/sqw/Open3D/build/vtk/lib/cmake/vtk-9.1/FindFontConfig.cmake
-- Installing: /Users/sqw/Open3D/build/vtk/lib/cmake/vtk-9.1/FindFreetype.cmake
-- Installing: /Users/sqw/Open3D/build/vtk/lib/cmake/vtk-9.1/FindGL2PS.cmake
-- Installing: /Users/sqw/Open3D/build/vtk/lib/cmake/vtk-9.1/FindGLEW.cmake
-- Installing: /Users/sqw/Open3D/build/vtk/lib/cmake/vtk-9.1/FindJOGL.cmake
-- Installing: /Users/sqw/Open3D/build/vtk/lib/cmake/vtk-9.1/FindJsonCpp.cmake
-- Installing: /Users/sqw/Open3D/build/vtk/lib/cmake/vtk-9.1/FindLibHaru.cmake
-- Installing: /Users/sqw/Open3D/build/vtk/lib/cmake/vtk-9.1/FindLibPROJ.cmake
-- Installing: /Users/sqw/Open3D/build/vtk/lib/cmake/vtk-9.1/FindLibXml2.cmake
-- Installing: /Users/sqw/Open3D/build/vtk/lib/cmake/vtk-9.1/FindLZ4.cmake
-- Installing: /Users/sqw/Open3D/build/vtk/lib/cmake/vtk-9.1/FindLZMA.cmake
-- Installing: /Users/sqw/Open3D/build/vtk/lib/cmake/vtk-9.1/Findmpi4py.cmake
-- Installing: /Users/sqw/Open3D/build/vtk/lib/cmake/vtk-9.1/FindMySQL.cmake
-- Installing: /Users/sqw/Open3D/build/vtk/lib/cmake/vtk-9.1/FindNetCDF.cmake
-- Installing: /Users/sqw/Open3D/build/vtk/lib/cmake/vtk-9.1/FindODBC.cmake
-- Installing: /Users/sqw/Open3D/build/vtk/lib/cmake/vtk-9.1/FindOGG.cmake
-- Installing: /Users/sqw/Open3D/build/vtk/lib/cmake/vtk-9.1/FindOpenSlide.cmake
-- Installing: /Users/sqw/Open3D/build/vtk/lib/cmake/vtk-9.1/FindOpenVR.cmake
-- Installing: /Users/sqw/Open3D/build/vtk/lib/cmake/vtk-9.1/FindOSMesa.cmake
-- Installing: /Users/sqw/Open3D/build/vtk/lib/cmake/vtk-9.1/FindPEGTL.cmake
-- Installing: /Users/sqw/Open3D/build/vtk/lib/cmake/vtk-9.1/FindSDL2.cmake
-- Installing: /Users/sqw/Open3D/build/vtk/lib/cmake/vtk-9.1/FindTBB.cmake
-- Installing: /Users/sqw/Open3D/build/vtk/lib/cmake/vtk-9.1/FindTHEORA.cmake
-- Installing: /Users/sqw/Open3D/build/vtk/lib/cmake/vtk-9.1/Findutf8cpp.cmake
-- Installing: /Users/sqw/Open3D/build/vtk/lib/cmake/vtk-9.1/FindCGNS.cmake
-- Installing: /Users/sqw/Open3D/build/vtk/lib/cmake/vtk-9.1/vtkCMakeBackports.cmake
-- Installing: /Users/sqw/Open3D/build/vtk/lib/cmake/vtk-9.1/vtkDetectLibraryType.cmake
-- Installing: /Users/sqw/Open3D/build/vtk/lib/cmake/vtk-9.1/vtkEncodeString.cmake
-- Installing: /Users/sqw/Open3D/build/vtk/lib/cmake/vtk-9.1/vtkHashSource.cmake
-- Installing: /Users/sqw/Open3D/build/vtk/lib/cmake/vtk-9.1/vtkModule.cmake
-- Installing: /Users/sqw/Open3D/build/vtk/lib/cmake/vtk-9.1/vtkModuleGraphviz.cmake
-- Installing: /Users/sqw/Open3D/build/vtk/lib/cmake/vtk-9.1/vtkModuleJson.cmake
-- Installing: /Users/sqw/Open3D/build/vtk/lib/cmake/vtk-9.1/vtkModuleTesting.cmake
-- Installing: /Users/sqw/Open3D/build/vtk/lib/cmake/vtk-9.1/vtkModuleWrapJava.cmake
-- Installing: /Users/sqw/Open3D/build/vtk/lib/cmake/vtk-9.1/vtkModuleWrapPython.cmake
-- Installing: /Users/sqw/Open3D/build/vtk/lib/cmake/vtk-9.1/vtkObjectFactory.cmake
-- Installing: /Users/sqw/Open3D/build/vtk/lib/cmake/vtk-9.1/vtkObjectFactory.cxx.in
-- Installing: /Users/sqw/Open3D/build/vtk/lib/cmake/vtk-9.1/vtkObjectFactory.h.in
-- Installing: /Users/sqw/Open3D/build/vtk/lib/cmake/vtk-9.1/vtkTestingDriver.cmake
-- Installing: /Users/sqw/Open3D/build/vtk/lib/cmake/vtk-9.1/vtkTestingRenderingDriver.cmake
-- Installing: /Users/sqw/Open3D/build/vtk/lib/cmake/vtk-9.1/vtkTopologicalSort.cmake
-- Installing: /Users/sqw/Open3D/build/vtk/lib/cmake/vtk-9.1/vtk-use-file-compat.cmake
-- Installing: /Users/sqw/Open3D/build/vtk/lib/cmake/vtk-9.1/vtk-use-file-deprecated.cmake
-- Installing: /Users/sqw/Open3D/build/vtk/lib/cmake/vtk-9.1/vtk-use-file-error.cmake
-- Installing: /Users/sqw/Open3D/build/vtk/lib/cmake/vtk-9.1/patches/3.13/FindZLIB.cmake
-- Installing: /Users/sqw/Open3D/build/vtk/lib/cmake/vtk-9.1/patches/3.16/FindPostgreSQL.cmake
-- Installing: /Users/sqw/Open3D/build/vtk/lib/cmake/vtk-9.1/patches/3.18/FindPython/Support.cmake
-- Installing: /Users/sqw/Open3D/build/vtk/lib/cmake/vtk-9.1/patches/3.18/FindPython2.cmake
-- Installing: /Users/sqw/Open3D/build/vtk/lib/cmake/vtk-9.1/patches/3.18/FindPython3.cmake
-- Installing: /Users/sqw/Open3D/build/vtk/lib/cmake/vtk-9.1/patches/3.19/FindJPEG.cmake
-- Installing: /Users/sqw/Open3D/build/vtk/lib/cmake/vtk-9.1/patches/3.19/FindLibArchive.cmake
-- Installing: /Users/sqw/Open3D/build/vtk/lib/cmake/vtk-9.1/patches/3.19/FindSQLite3.cmake
-- Installing: /Users/sqw/Open3D/build/vtk/lib/cmake/vtk-9.1/patches/3.19/FindX11.cmake
-- Installing: /Users/sqw/Open3D/build/vtk/lib/cmake/vtk-9.1/patches/3.20/FindGDAL.cmake
-- Installing: /Users/sqw/Open3D/build/vtk/lib/cmake/vtk-9.1/patches/3.22/FindMPI/fortranparam_mpi.f90.in
-- Installing: /Users/sqw/Open3D/build/vtk/lib/cmake/vtk-9.1/patches/3.22/FindMPI/libver_mpi.c
-- Installing: /Users/sqw/Open3D/build/vtk/lib/cmake/vtk-9.1/patches/3.22/FindMPI/libver_mpi.f90.in
-- Installing: /Users/sqw/Open3D/build/vtk/lib/cmake/vtk-9.1/patches/3.22/FindMPI/mpiver.f90.in
-- Installing: /Users/sqw/Open3D/build/vtk/lib/cmake/vtk-9.1/patches/3.22/FindMPI/test_mpi.c
-- Installing: /Users/sqw/Open3D/build/vtk/lib/cmake/vtk-9.1/patches/3.22/FindMPI/test_mpi.f90.in
-- Installing: /Users/sqw/Open3D/build/vtk/lib/cmake/vtk-9.1/patches/3.22/FindMPI.cmake
-- Installing: /Users/sqw/Open3D/build/vtk/lib/cmake/vtk-9.1/patches/99/FindHDF5.cmake
-- Installing: /Users/sqw/Open3D/build/vtk/lib/cmake/vtk-9.1/patches/99/FindOpenGL.cmake
-- Installing: /Users/sqw/Open3D/build/vtk/lib/cmake/vtk-9.1/vtk-config.cmake
-- Installing: /Users/sqw/Open3D/build/vtk/lib/cmake/vtk-9.1/vtk-config-version.cmake
-- Installing: /Users/sqw/Open3D/build/vtk/lib/cmake/vtk-9.1/vtk-prefix.cmake
-- Installing: /Users/sqw/Open3D/build/vtk/lib/cmake/vtk-9.1/VTK-vtk-module-find-packages.cmake
-- Installing: /Users/sqw/Open3D/build/vtk/share/licenses/VTK/Copyright.txt
[ 34%] Completed 'ext_vtk'
[ 34%] Built target ext_vtk
make: *** [all] Error 2

Open3D, Python and System information

- Operating system: macOS 14.3
- Open3D version: 0.18.0 (build from source)
- System architecture: apple-silicon
- Is this a remote workstation?: no
- How did you install Open3D?: build from source
- Compiler version (if built from source): clang 15.0.0

Additional information

Description:

I encountered an issue when attempting to build the Open3D 0.18.0 C++ Library from source. During the make install -j 12 step, errors were thrown, stopping the process (please see Error message). This issue prevents the completion of the installation process, and I'm currently unable to proceed with the build.


Related Issues:

This issue seems to resemble a previously reported situation in issue #6483, which has been closed without a resolution to the problem described.

cfwen commented 6 months ago

I could not reproduce this issue on macOS 14.4 intel version with latest main branch. Everything build and install well.

cfwen commented 6 months ago

from your error msg, it seems build has completed, error occurred during installing. Maybe not a problem of open3d?