cf16 | 8 Feb 01:51
Picon

test suite link error


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
(Continue reading)

Luigi Ballabio | 8 Feb 13:14
Picon

Re: test suite link error

If you're using a checkout from Subversion, there's the chance that
the VC10 project is not updated.  Check if
<ql/math/randomnumbers/sobolbrownianbridgersg.cpp> is in the project,
and if not, add it.

Luigi

On Wed, Feb 8, 2012 at 1:51 AM, cf16 <cf16rocket <at> gmail.com> wrote:
>
> 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)
(Continue reading)

cf16 | 8 Feb 22:27
Picon

Re: test suite link error


yes, these files are present in ql/math/randomnumbers/ 
--

-- 
View this message in context: http://old.nabble.com/test-suite-link-error-tp33282311p33289385.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
Luigi Ballabio | 8 Feb 22:41
Picon

Re: test suite link error

On Wed, Feb 8, 2012 at 10:27 PM, cf16 <cf16rocket <at> gmail.com> wrote:
> yes, these files are present in ql/math/randomnumbers/

I mean in the VC project.  Do you see them from Visual Studio when you
open the solution? They should be under the "QuantLib" project under
math/randomnumbers.

Luigi

------------------------------------------------------------------------------
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
cf16 | 9 Feb 00:03
Picon

Re: test suite link error


yes, it was it. I have added "existing item" to QuantLib project in
QuantLib_vc10 and it is OK now.
thank you very, very much.

Piotr
--

-- 
View this message in context: http://old.nabble.com/test-suite-link-error-tp33282311p33289908.html
Sent from the quantlib-dev mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/

Gmane