I'm trying to build openMVG on my MacBook running Catalina. When I run "make" I get an error that it can't find 'omp.h'.
jaireaux@Johns-MBP ~/Downloads/software/openMVG/build % make
[ 9%] Built target lib_CoinUtils
[ 12%] Built target lib_Osi
[ 21%] Built target lib_clp
[ 21%] Built target lib_OsiClpSolver
[ 22%] Built target openMVG_stlplus
[ 24%] Built target openMVG_lemon
[ 24%] Built target main_svgSample
[ 33%] Built target openMVG_cxsparse
[ 55%] Built target openMVG_ceres
[ 56%] Built target openMVG_easyexif
[ 57%] Built target openMVG_fast
[ 57%] Built target openMVG_exif
[ 57%] Building CXX object openMVG/features/CMakeFiles/openMVG_features.dir/akaze/AKAZE.cpp.o
In file included from /Users/jaireaux/Downloads/software/openMVG/src/openMVG/features/akaze/AKAZE.cpp:9:
In file included from /Users/jaireaux/Downloads/software/openMVG/src/openMVG/features/akaze/AKAZE.hpp:39:
In file included from /Users/jaireaux/Downloads/software/openMVG/src/openMVG/image/image_container.hpp:12:
In file included from /Users/jaireaux/Downloads/software/openMVG/src/third_party/eigen/Eigen/Dense:1:
/Users/jaireaux/Downloads/software/openMVG/src/third_party/eigen/Eigen/Core:247:10: fatal error: 'omp.h' file not found
#include <omp.h>
^~~~~~~
1 error generated.
make[2]: *** [openMVG/features/CMakeFiles/openMVG_features.dir/akaze/AKAZE.cpp.o] Error 1
make[1]: *** [openMVG/features/CMakeFiles/openMVG_features.dir/all] Error 2
make: *** [all] Error 2
How do I tell make where to find 'omp.h' (which is in /usr/local/include.)
-I/usr/local/include
to the compiler options. – Fritts