Installing QuantLib on Mac OS 10.10

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Installing QuantLib on Mac OS 10.10

Jack Drew
Hi, 

I am having a problem installing QuantLib. I am on Mac OS 10.10. I follow the instructions at http://quantlib.org/install/macosx.shtml , run make and make install. 

Once these finish, I try: 

g++ -I/opt/local/include/ -I/opt/local/include/boost BermudanSwaption.cpp \
    -o bermudanswaption -L/opt/local/lib/ -lQuantLib

And I get clang: error: no such file or directory: 'BermudanSwaption.cpp'


I have used QuantLib often at work, but I have never set up a new installation, and I am very inexperienced in this. I am really not sure what is going on. If anyone can offer help, I would greatly appreciate it. 

Thank you,
JD

------------------------------------------------------------------------------

_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Installing QuantLib on Mac OS 10.10

Luigi Ballabio
Right, The installation instructions don't mention that the file is in the Examples/BermudanSwaption directory. Sorry about that; I've fixed them now.
Anyway: if you first move to that directory, the command should work.

Luigi

On Sun, Oct 26, 2014 at 7:48 PM, Jack Drew <[hidden email]> wrote:
Hi, 

I am having a problem installing QuantLib. I am on Mac OS 10.10. I follow the instructions at http://quantlib.org/install/macosx.shtml , run make and make install. 

Once these finish, I try: 

g++ -I/opt/local/include/ -I/opt/local/include/boost BermudanSwaption.cpp \
    -o bermudanswaption -L/opt/local/lib/ -lQuantLib

And I get clang: error: no such file or directory: 'BermudanSwaption.cpp'


I have used QuantLib often at work, but I have never set up a new installation, and I am very inexperienced in this. I am really not sure what is going on. If anyone can offer help, I would greatly appreciate it. 

Thank you,
JD

------------------------------------------------------------------------------

_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users




--

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users