Quantlib: библиотека не найдена для -lboost_thread в OSX

Я следую этой инструкции, чтобы установить Quantlib на Macosx. Когда я обедаю, команда "сделать"

make

Я понял

In file included from /opt/local/include/boost/accumulators/statistics/stats.hpp:14:
In file included from /opt/local/include/boost/accumulators/statistics_fwd.hpp:12:
/opt/local/include/boost/mpl/print.hpp:50:19: warning: in-class initialization
      of non-static data member is a C++11 extension [-Wc++11-extensions]
    const int m_x = 1 / (sizeof(T) - sizeof(T));
                  ^
1 warning generated.
mv -f .deps/FRA.Tpo .deps/FRA.Po
/bin/sh ../../libtool  --tag=CXX   --mode=link g++  -g -O2  -L/opt/local/lib -o FRA FRA.o ../../ql/libQuantLib.la -lboost_thread  
libtool: link: g++ -g -O2 -o .libs/FRA FRA.o -Wl,-bind_at_load  -L/opt/local/lib ../../ql/.libs/libQuantLib.dylib -lboost_thread
ld: library not found for -lboost_thread
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [FRA] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1

0 ответов

Другие вопросы по тегам