【发布时间】:2023-03-20 14:24:02
【问题描述】:
我尝试按照以下安装指南在我的 Mac(macOS Catalina,10.15.0)上安装 Ipopt 包: https://coin-or.github.io/Ipopt/INSTALL.html
我安装了 ASL 作为线性求解器,并达到了第 3 点。make没有任何进一步的问题。但是,当我运行 make test 时,我收到以下错误消息:
cd test; /Applications/Xcode.app/Contents/Developer/usr/bin/make test
CXX hs071_main.o
CXX hs071_nlp.o
CXXLD hs071_cpp
CC hs071_c.o
CCLD hs071_c
ln -s ../examples/hs071_f/hs071_f.f hs071_f.f
F77 hs071_f.o
F77LD hs071_f
ld: library not found for -lmkl_core
collect2: error: ld returned 1 exit status
make[1]: *** [hs071_f] Error 1
make: *** [unitTest] Error 2
有谁知道如何解决这个问题?好像找不到mkl库……
【问题讨论】: