8 Feb 01:51
test suite link error
cf16 <cf16rocket <at> gmail.com>
2012-02-08 00:51:53 GMT
2012-02-08 00:51:53 GMT
hi all,
so at the beginning I was not able to build test suiteat all, but after
rebuild boost by running bootstrap libboost_unit_test_framework lib has been
created, but... now I get this linker error:
InitializeBuildStatus:
Touching ".\build\vc100\Win32\Debug\testsuite.unsuccessfulbuild".
ClCompile:
All outputs are up-to-date.
Link:
Creating library bin\QuantLib-test-suite-vc100-mt-gd.lib and object
bin\QuantLib-test-suite-vc100-mt-gd.exp
hybridhestonhullwhiteprocess.obj : error LNK2019: unresolved external symbol
"public: __thiscall
QuantLib::SobolBrownianBridgeRsg::SobolBrownianBridgeRsg(unsigned
int,unsigned int,enum QuantLib::SobolBrownianGenerator::Ordering,unsigned
long,enum QuantLib::SobolRsg::DirectionIntegers)"
(??0SobolBrownianBridgeRsg <at> QuantLib@@QAE <at> IIW4Ordering <at> SobolBrownianGenerator <at> 1@KW4DirectionIntegers <at> SobolRsg <at> 1@@Z)
referenced in function "public: static void __cdecl
HybridHestonHullWhiteProcessTest::testZeroBondPricing(void)"
(?testZeroBondPricing <at> HybridHestonHullWhiteProcessTest@@SAXXZ)
hybridhestonhullwhiteprocess.obj : error LNK2019: unresolved external symbol
"public: unsigned int __thiscall
QuantLib::SobolBrownianBridgeRsg::dimension(void)const "
(?dimension <at> SobolBrownianBridgeRsg <at> QuantLib@@QBEIXZ) referenced in function
"public: __thiscall QuantLib::MultiPathGenerator<class
QuantLib::SobolBrownianBridgeRsg>::MultiPathGenerator<class
QuantLib::SobolBrownianBridgeRsg>(class boost::shared_ptr<class
QuantLib::StochasticProcess> const &,class QuantLib::TimeGrid const &,class
QuantLib::SobolBrownianBridgeRsg,bool)"
(??0?$MultiPathGenerator <at> VSobolBrownianBridgeRsg <at> QuantLib@@@QuantLib@@QAE <at> ABV?$shared_ptr <at> VStochasticProcess <at> QuantLib@@@boost@@ABVTimeGrid <at> 1@VSobolBrownianBridgeRsg <at> 1@_N <at> Z)
hybridhestonhullwhiteprocess.obj : error LNK2019: unresolved external symbol
"public: struct QuantLib::Sample<class std::vector<double,class
std::allocator<double> > > const & __thiscall
QuantLib::SobolBrownianBridgeRsg::nextSequence(void)const "
(?nextSequence <at> SobolBrownianBridgeRsg <at> QuantLib@@QBEABU?$Sample <at> V?$vector <at> NV?$allocator <at> N@std@@@std@@@2 <at> XZ)
referenced in function "private: struct QuantLib::Sample<class
QuantLib::MultiPath> const & __thiscall QuantLib::MultiPathGenerator<class
QuantLib::SobolBrownianBridgeRsg>::next(bool)const "
(?next@?$MultiPathGenerator <at> VSobolBrownianBridgeRsg <at> QuantLib@@@QuantLib@@ABEABU?$Sample <at> VMultiPath <at> QuantLib@@@2 <at> _N <at> Z)
hybridhestonhullwhiteprocess.obj : error LNK2019: unresolved external symbol
"public: struct QuantLib::Sample<class std::vector<double,class
std::allocator<double> > > const & __thiscall
QuantLib::SobolBrownianBridgeRsg::lastSequence(void)const "
(?lastSequence <at> SobolBrownianBridgeRsg <at> QuantLib@@QBEABU?$Sample <at> V?$vector <at> NV?$allocator <at> N@std@@@std@@@2 <at> XZ)
referenced in function "private: struct QuantLib::Sample<class
QuantLib::MultiPath> const & __thiscall QuantLib::MultiPathGenerator<class
QuantLib::SobolBrownianBridgeRsg>::next(bool)const "
(?next@?$MultiPathGenerator <at> VSobolBrownianBridgeRsg <at> QuantLib@@@QuantLib@@ABEABU?$Sample <at> VMultiPath <at> QuantLib@@@2 <at> _N <at> Z)
bin\QuantLib-test-suite-vc100-mt-gd.exe : fatal error LNK1120: 4 unresolved
externals
Build FAILED.
Time Elapsed 00:07:23.45
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
/////////////////
moreover, I'm building QuantLib_vc10.sln and every project is beeing created
with success, just this test suite becouse of Sobol. I have checked that
SobolBrownianBridgeRsg takes different parameters indeed in constructor, but
I think it'snot it as it was certainly investigated.
I use QuantLib on a regular basis - there have never been any problems that
some externals is unresolved, why this hybridhestonhullwhiteprocess.obj ?
please help.
--
--
View this message in context: http://old.nabble.com/test-suite-link-error-tp33282311p33282311.html
Sent from the quantlib-dev mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
RSS Feed