radialsfm
radialsfm copied to clipboard
Build on M1 MacBook Pro
@vlarsson @petrhruby97 I am now able to compile and link on my laptop using AppleClang 14.
The minimal changes I needed seem to be
- A few updates to the
FLANNsource, apparently related to a deprecatedrandom_shuffle - Updating CMakeLists to handle
march=native. - Needed to add
#include <vector>to a few files in theradial_quadrifocalsubmodule, plus a link to my fork here.
I presume not all of this should be merged. But it will help me remember how to compile, so I'll mark it as a draft for now.
Thanks for looking into it! I will see if I can set it up to compile on my M1.
Did you figure out what the issue was linking with boost?
No idea, unfortunately. Those errors remain if instead try compiling with gcc/g++ 13.