Posted by
Bart Mosley, bondgeek.com on
Dec 17, 2008; 8:35pm
URL: http://quantlib.414.s1.nabble.com/Has-anyone-solved-linking-to-quantlib-in-Xcode-tp6662.html
If the following command line compile/link works (note this is run in
the project directory for Xcode and main.cpp is just a "Hello, World"
with #include<ql/quantlib.hpp> added to it) :
c++ main.cpp -o tql -L/usr/local/lib -lQuantLib
Then why does Xcode get 15 (and only 15) build errors? If I remove
the library, so that I know it's not linking, I get 290 symbols not
found.
Btw, compiling and linking with Boost dynamic libraries (e.g.date-time
or regex) works fine, with those libraries in the same /usr/local/lib
directory as QuantLib.
It seems to have something to do with the -filelist option for g++,
because if I take the compile and linking commands from the error
window and run them in a command window...I can isolate that the
problem to that, I think.
Thanks in advance for any help.
_________________________
Bart Mosley
www.bondgeek.com
[hidden email]
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you. Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users