mapillary / OpenSfM

Open source Structure-from-Motion pipeline
https://www.opensfm.org/
BSD 2-Clause "Simplified" License
3.37k stars 855 forks source link

Failed to build on Apple Silicon #1056

Open DimaZhu opened 3 months ago

DimaZhu commented 3 months ago

[ 53%] Building CXX object CMakeFiles/test_main.dir/testing_main.cc.o In file included from /Users/offbeat/Projects/OpenSfM/opensfm/src/geometry/src/relative_pose.cc:1: In file included from /Users/offbeat/Projects/OpenSfM/opensfm/src/geometry/relative_pose.h:4: In file included from /Users/offbeat/ceres/usr/local/include/ceres/tiny_solver.h:57: In file included from /opt/homebrew/include/eigen3/Eigen/Dense:1: In file included from /opt/homebrew/include/eigen3/Eigen/Core:50: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/complex:932:12: error: no matching function for call to 'hypot' return std::hypot(c.real(), c.imag()); ^~~~~~

nosleduc commented 1 month ago

Did you succeed to build opensfm on your system finally ?