Linking QuantLib on Mac OS X

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

Linking QuantLib on Mac OS X

igor.halperin
Hi,

I have managed to compile QuantLib on Mac OS X Tiger (using Xcode), but did
not manage to link my own code to QuantLib - I am getting complains about
unresolved symbols even though I think I correctly added include paths and
library paths to both QuantLib and Boost in my project.
If anyone has experience with using QuantLib on Mac with Xcode, could you
please post detailed steps to be taken to link QuantLib on Mac using Xcode.

Igor



-----------------------------------------
This communication is for informational purposes only. It is not
intended as an offer or solicitation for the purchase or sale of
any financial instrument or as an official confirmation of any
transaction. All market prices, data and other information are not
warranted as to completeness or accuracy and are subject to change
without notice. Any comments or statements made herein do not
necessarily reflect those of JPMorgan Chase & Co., its subsidiaries
and affiliates.

This transmission may contain information that is privileged,
confidential, legally privileged, and/or exempt from disclosure
under applicable law. If you are not the intended recipient, you
are hereby notified that any disclosure, copying, distribution, or
use of the information contained herein (including any reliance
thereon) is STRICTLY PROHIBITED. Although this transmission and any
attachments are believed to be free of any virus or other defect
that might affect any computer system into which it is received and
opened, it is the responsibility of the recipient to ensure that it
is virus free and no responsibility is accepted by JPMorgan Chase &
Co., its subsidiaries and affiliates, as applicable, for any loss
or damage arising in any way from its use. If you received this
transmission in error, please immediately contact the sender and
destroy the material in its entirety, whether in electronic or hard
copy format. Thank you.

Please refer to http://www.jpmorgan.com/pages/disclosures for
disclosures relating to UK legal entities.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Linking QuantLib on Mac OS X

toli
Igor,

I am not using Xcode - so this may not be as helpful.
I was able to build  QuantLib and QuantLib-SWIG and run tests on
MacOSX (10.4.9) just from command-line using "make" and "make check"
to run all the unit tests.

I mostly played with the QuantLib-SWIG Java and Ruby bindings, and
that seems to work for me for embedding it in our app
(http://trac.marketcetera.org/trac.fcgi/wiki/Marketcetera/Tradebase)

Let me know if you need any more details

On 6/4/07, [hidden email] <[hidden email]> wrote:
> I have managed to compile QuantLib on Mac OS X Tiger (using Xcode), but did
> not manage to link my own code to QuantLib - I am getting complains about
> unresolved symbols even though I think I correctly added include paths and
> library paths to both QuantLib and Boost in my project.
> If anyone has experience with using QuantLib on Mac with Xcode, could you
> please post detailed steps to be taken to link QuantLib on Mac using Xcode.

--
Toli Kuznets
http://www.marketcetera.com: Open-Source Trading Platform
download.run.trade.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Linking QuantLib on Mac OS X

Alexey Akolzin
In reply to this post by igor.halperin
Hello,

I encountered a similar problem when compiling QuantLib with Xcode on an
Intel Mac. As far as I could tell, default makefile would compile
QuantLib for i386 output target. However, no matter what I specify for
my code which links in the library -- ppc, i386, or universal -- the
linker would complain in the same manner about unresolved externals and
architecture mismatch. I have not figured this one out yet.

Alexei.



[hidden email] wrote:

> Hi,
>
> I have managed to compile QuantLib on Mac OS X Tiger (using Xcode), but did
> not manage to link my own code to QuantLib - I am getting complains about
> unresolved symbols even though I think I correctly added include paths and
> library paths to both QuantLib and Boost in my project.
> If anyone has experience with using QuantLib on Mac with Xcode, could you
> please post detailed steps to be taken to link QuantLib on Mac using Xcode.
>
> Igor
>
>
>
> -----------------------------------------
> This communication is for informational purposes only. It is not
> intended as an offer or solicitation for the purchase or sale of
> any financial instrument or as an official confirmation of any
> transaction. All market prices, data and other information are not
> warranted as to completeness or accuracy and are subject to change
> without notice. Any comments or statements made herein do not
> necessarily reflect those of JPMorgan Chase & Co., its subsidiaries
> and affiliates.
>
> This transmission may contain information that is privileged,
> confidential, legally privileged, and/or exempt from disclosure
> under applicable law. If you are not the intended recipient, you
> are hereby notified that any disclosure, copying, distribution, or
> use of the information contained herein (including any reliance
> thereon) is STRICTLY PROHIBITED. Although this transmission and any
> attachments are believed to be free of any virus or other defect
> that might affect any computer system into which it is received and
> opened, it is the responsibility of the recipient to ensure that it
> is virus free and no responsibility is accepted by JPMorgan Chase &
> Co., its subsidiaries and affiliates, as applicable, for any loss
> or damage arising in any way from its use. If you received this
> transmission in error, please immediately contact the sender and
> destroy the material in its entirety, whether in electronic or hard
> copy format. Thank you.
>
> Please refer to http://www.jpmorgan.com/pages/disclosures for
> disclosures relating to UK legal entities.
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> QuantLib-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quantlib-users


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users