I'm trying to install SPAMS (SPArse Modeling Software) but I got this

1 warning generated.
ld: library not found for -lgomp
clang: error: linker command failed with exit code 1 (use -v to see invocation)

mex: link of ' "./build//mexTrainDL.mexmaci64"' failed.

I'm compiling with matlab R2013a in MAC OS, I have installed Xcode and Intel MKL. But keep getting this error, any helps please.

有帮助吗?

解决方案

Issue resolved for me after changing the use_multithread to false in compile.m file

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top