Here are the errors:
________________________________________
Undefined symbols:
"QuantLib::ExerciseAdapter::nextTimeStep(QuantLib::CurveState
const&, __gnu_debug_def::vector<unsigned long, std::allocator<unsigned
long> >&,
__gnu_debug_def
::vector
<__gnu_debug_def::vector<QuantLib::MarketModelMultiProduct::CashFlow,
std::allocator<QuantLib::MarketModelMultiProduct::CashFlow> >,
std
::allocator
<__gnu_debug_def::vector<QuantLib::MarketModelMultiProduct::CashFlow,
std::allocator<QuantLib::MarketModelMultiProduct::CashFlow> > > >&)",
referenced from:
vtable for QuantLib::ExerciseAdapterin main.o
...
[then similar errors for the following functions
QuantLib::ExerciseAdapter::nextTimeStep
QuantLib::MultiStepCoinitialSwaps::nextTimeStep
QuantLib::MultiStepCoterminalSwaps::nextTimeStep
QuantLib::MultiStepCoterminalSwaptions::nextTimeStep
QuantLib::MultiStepForwards::nextTimeStep
QuantLib::MultiStepNothing::nextTimeStep
QuantLib::MultiStepOptionlets::nextTimeStep
QuantLib::MultiStepPeriodCapletSwaptions::nextTimeStep
QuantLib::MultiStepRatchet::nextTimeStep
QuantLib::MultiStepSwap::nextTimeStep
QuantLib::MultiStepSwaption::nextTimeStep
QuantLib::OneStepCoinitialSwaps::nextTimeStep
QuantLib::OneStepCoterminalSwaps::nextTimeStep
QuantLib::OneStepForwards::nextTimeStep
QuantLib::OneStepOptionlets::nextTimeStep
] ....
ld: symbol(s) not found
collect2: ld returned 1 exit status
__________________________________________
On Dec 18, 2008, at 3:28 AM, Luigi Ballabio wrote:
On Wed, 2008-12-17 at 15:35 -0500, Bart Mosley, bondgeek.com wrote:
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?
What are the errors?
Luigi
--
Call on God, but row away from the rocks.
-- Indian proverb
------------------------------------------------------------------------------
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