bytedance / particle-sfm

ParticleSfM: Exploiting Dense Point Trajectories for Localizing Moving Cameras in the Wild. ECCV 2022.
http://b1ueber2y.me/projects/ParticleSfM/
GNU General Public License v3.0
268 stars 23 forks source link

add support with gcc 9.4.0 #8

Closed yz-cnsdqz closed 1 year ago

yz-cnsdqz commented 1 year ago

When running bash scripts/build_all.sh, compiling gmapper would fail because OpenMP cannot be found. This is caused when the users have a different gcc version. A simple solution is to incorporate the gcc path into sfm/gmapper/cmake/FindOpenMP.cmake.

B1ueber2y commented 1 year ago

Thanks soo much for the contribution! Could you please comment your python path and revert it to "# need to be set here". Thanks a lot!!

-Shaohui

B1ueber2y commented 1 year ago

I have reviewed it and am good with the update! @guohengkai