mapillary / OpenSfM

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

Error when building using wsl ubuntu #1040

Open justin1230 opened 7 months ago

justin1230 commented 7 months ago

[ 38%] Linking CXX static library libakaze.a [ 38%] Built target akaze [ 39%] Linking CXX static library libgtest.a [ 39%] Built target gtest make: *** [Makefile:101: all] Error 2 Traceback (most recent call last): File "/mnt/v/ProjectInstall/ubuntu/OpenSfM/setup.py", line 60, in build_c_extension() File "/mnt/v/ProjectInstall/ubuntu/OpenSfM/setup.py", line 54, in build_c_extension subprocess.check_call( File "/home/justin1230/miniconda3/lib/python3.12/subprocess.py", line 413, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['make', '-j32']' returned non-zero exit status 2.

got this error and stopped there.....

I did tried update all , delete the folder and try cloning again.

heliguy-sam commented 3 months ago

As recommended in some previous issues, downgrading to ceres-solver-2.0.0 managed to resolve this issue for me.