QuantLib installation on Mac OS X
Posted by
Jackie Jin on
URL: http://quantlib.414.s1.nabble.com/QuantLib-installation-on-Mac-OS-X-tp15685.html
Hi there,
I tried to get Quantlib installed on my Mac OS X. I followed the installation on the official websitehttp://quantlib.org/install/macosx.shtml. Everything works fine and I can use g++ -I/opt/local/include/ -I/opt/local/include/boost BermudanSwaption.cpp -o bermudanswaption -L/opt/local/lib/ -lQuantLib to compile and run.
The Appendix: Boost configuration really makes me suffer. No matter if I put export DYLD_LIBRARY_PATH=/opt/local/lib in the .bash_profile, I cannot link QuantLib against .o files, which means I have to type " g++ bermudanswaption -L/opt/local/lib/ -lQuantLib " manually to make it work.
PS: I also have another export DYLD_LIBRARY_PATH=/opt/local/mysql/lib in my bash_profile. Not sure if this command caused the problem.
--
Best,
Jackie Jin
------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls.
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users