Re: Installation issues on Mac OS X 10.11.2
Posted by xvallee on Jan 05, 2016; 4:02pm
URL: http://quantlib.414.s1.nabble.com/Installation-issues-on-Mac-OS-X-10-11-2-tp17214p17227.html
Hi,
I'm not sure I understand the question.
First in /Users/My_account, I ran:
1) sudo port install boost
2) tar to extract the file
then in /Users/My_account/Quantlib1.7, I ran:
1) ./configure --enable-static --with-boost-include=/opt/local/include/ --with-boost-lib=/opt/local/lib/ --prefix=/opt/local/ CXXFLAGS="-stdlib=libstdc++ -mmacosx-version-min=10.6" LDFLAGS="-stdlib=libstdc++ -mmacosx-version-min=10.6"
2) sudo make && make install
then in Examples/BermudanSwaption, I ran:
g++ -I/opt/local/include/ -I/opt/local/include/boost BermudanSwaption.cpp -o bermudanswaption -L/opt/local/lib/ -lQuantLib
and got the error message.