Matlab prints: dyld: Library not loaded: /usr/local/opt/mpfr2/lib/libmpfr.1.dylib Selective_search/SelectiveSearchCodeIJCV/Dependencies/anigaussm/anigauss.c. Selective_search/SelectiveSearchCodeIJCV/Dependencies/anigaussm/anigauss_mex.c. van de Weijer\n') įprintf(' Fast anisotropic gauss filtering\n') įprintf(' IEEE Transactions on Image Processing, 2003\n') I think Matlab does indeed use this compiler, because when I run this code: if ~exist('anigauss')įprintf('Compiling the anisotropic gauss filtering of:\n') įprintf(' J. Specifically, I changed CC=xcrun -sdk macosx10.9 clang to CC='gcc-4.9'. I changed the gcc version in mexopts.sh (side note: I copied it from /Applications/MATLAB_R2013a_Student.app/bin/mexopts.sh to ~/.matlab/R2013a). "external/liblinear-1.93_multicore/blas/*.c". Įxternal/liblinear-1.93_multicore/tron.cpp. Įxternal/liblinear-1.93_multicore/linear.cpp. Įxternal/liblinear-1.93_multicore/matlab/train.cpp. Here's the matlab code used to compile liblinear, which contains a file that contains #include : % Compile liblinearįprintf('Compiling liblinear version 1.93\n') ĬOMPFLAGS="$COMPFLAGS -fopenmp" -largeArrayDims. Mex: compile of ' "external/liblinear-1.93_multicore/matlab/train.cpp"' failed. Specifically: Compiling liblinear version 1.93Įxternal/liblinear-1.93_multicore/matlab/train.cpp:7:10: fatal error: 'omp.h' file not found I'm using gcc 4.9.1 from brew, yet I see this error when I try to compile liblinear: omp.h file not found. The OpenMP website says: "GCC 4.9 supports OpenMP 4.0 for C/C ".
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |