Quantlib testsuite link error

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

Quantlib testsuite link error

cheng li

Hi All,

 

I have download the latest trunk version of Quantlib from svn. After building the whole solution I encountered the errors from testsuite project. One of the error is as follows:

 

Error         1       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@QuantLib@@QAE@IIW4Ordering@SobolBrownianGenerator@1@KW4DirectionIntegers@SobolRsg@1@@Z) referenced in function "public: static void __cdecl HybridHestonHullWhiteProcessTest::testZeroBondPricing(void)" (?testZeroBondPricing@HybridHestonHullWhiteProcessTest@@SAXXZ)         E:\dev\quantlib\trunk\QuantLib\test-suite\hybridhestonhullwhiteprocess.obj     testsuite (Visual Studio 2010)

 

I can’t figure out why that happens. Does anybody have some idea on this? Thx.

 

Regards,

Cheng


------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Quantlib testsuite link error

Francis Duffy
Hi Cheng,
 
When I last updated, I needed to add the files below to my project in order for the test-suite to compile. It appears that you may be having a similar issue i.e. files that the test-suite depend on are present in the relevant folder but have not been added to the project.
 
Regards,
Francis.
 
ql\math\randomnumbers\sobolbrownianbridgersg.hpp
ql\math\optimization\differentialevolution.hpp
ql\math\richardsonextrapolation.hpp
ql\methods\finitedifferences\utilities\fdmindicesonboundary.hpp
ql\pricingengines\vanilla\analytich1hwengine.hpp
 
ql\experimental\finitedifferences\dynprogvppintrinsicvalueengine.hpp
ql\experimental\finitedifferences\fdmvppstartlimitstepcondition.hpp
ql\experimental\finitedifferences\fdmvppstepconditionfactory.hpp

On Wed, Nov 14, 2012 at 4:52 PM, Cheng Li <[hidden email]> wrote:

Hi All,

 

I have download the latest trunk version of Quantlib from svn. After building the whole solution I encountered the errors from testsuite project. One of the error is as follows:

 

Error         1       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@QuantLib@@QAE@IIW4Ordering@SobolBrownianGenerator@1@KW4DirectionIntegers@SobolRsg@1@@Z) referenced in function "public: static void __cdecl HybridHestonHullWhiteProcessTest::testZeroBondPricing(void)" (?testZeroBondPricing@HybridHestonHullWhiteProcessTest@@SAXXZ)         E:\dev\quantlib\trunk\QuantLib\test-suite\hybridhestonhullwhiteprocess.obj     testsuite (Visual Studio 2010)

 

I can’t figure out why that happens. Does anybody have some idea on this? Thx.

 

Regards,

Cheng


------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users



------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Quantlib testsuite link error

Francis Duffy
Hi Cheng,
 
I needed to add the corresponding .cpp files also but I did not list them below.
Regards,
Francis.
On Wed, Nov 14, 2012 at 5:33 PM, Francis Duffy <[hidden email]> wrote:
Hi Cheng,
 
When I last updated, I needed to add the files below to my project in order for the test-suite to compile. It appears that you may be having a similar issue i.e. files that the test-suite depend on are present in the relevant folder but have not been added to the project.
 
Regards,
Francis.
 
ql\math\randomnumbers\sobolbrownianbridgersg.hpp
ql\math\optimization\differentialevolution.hpp
ql\math\richardsonextrapolation.hpp
ql\methods\finitedifferences\utilities\fdmindicesonboundary.hpp
ql\pricingengines\vanilla\analytich1hwengine.hpp
 
ql\experimental\finitedifferences\dynprogvppintrinsicvalueengine.hpp
ql\experimental\finitedifferences\fdmvppstartlimitstepcondition.hpp
ql\experimental\finitedifferences\fdmvppstepconditionfactory.hpp

On Wed, Nov 14, 2012 at 4:52 PM, Cheng Li <[hidden email]> wrote:

Hi All,

 

I have download the latest trunk version of Quantlib from svn. After building the whole solution I encountered the errors from testsuite project. One of the error is as follows:

 

Error         1       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@QuantLib@@QAE@IIW4Ordering@SobolBrownianGenerator@1@KW4DirectionIntegers@SobolRsg@1@@Z) referenced in function "public: static void __cdecl HybridHestonHullWhiteProcessTest::testZeroBondPricing(void)" (?testZeroBondPricing@HybridHestonHullWhiteProcessTest@@SAXXZ)         E:\dev\quantlib\trunk\QuantLib\test-suite\hybridhestonhullwhiteprocess.obj     testsuite (Visual Studio 2010)

 

I can’t figure out why that happens. Does anybody have some idea on this? Thx.

 

Regards,

Cheng


------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users




------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

答复: Quantlib testsuite link error

cheng li

 

Yesthat really solved my problem. Thank you. I think the quantlib administrators need to fix the trunk accordingly.

 

发件人: Francis Duffy [mailto:[hidden email]]
发送时间: 20121115 1:50
收件人: Cheng Li
抄送: QuantLib-users
主题: Re: [Quantlib-users] Quantlib testsuite link error

 

Hi Cheng,

 

I needed to add the corresponding .cpp files also but I did not list them below.

Regards,

Francis.

On Wed, Nov 14, 2012 at 5:33 PM, Francis Duffy <[hidden email]> wrote:

Hi Cheng,

 

When I last updated, I needed to add the files below to my project in order for the test-suite to compile. It appears that you may be having a similar issue i.e. files that the test-suite depend on are present in the relevant folder but have not been added to the project.

 

Regards,

Francis.

 

ql\math\randomnumbers\sobolbrownianbridgersg.hpp

ql\math\optimization\differentialevolution.hpp

ql\math\richardsonextrapolation.hpp

ql\methods\finitedifferences\utilities\fdmindicesonboundary.hpp

ql\pricingengines\vanilla\analytich1hwengine.hpp

 

ql\experimental\finitedifferences\dynprogvppintrinsicvalueengine.hpp

ql\experimental\finitedifferences\fdmvppstartlimitstepcondition.hpp

ql\experimental\finitedifferences\fdmvppstepconditionfactory.hpp

On Wed, Nov 14, 2012 at 4:52 PM, Cheng Li <[hidden email]> wrote:

Hi All,

 

I have download the latest trunk version of Quantlib from svn. After building the whole solution I encountered the errors from testsuite project. One of the error is as follows:

 

Error         1       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@QuantLib@@QAE@IIW4Ordering@SobolBrownianGenerator@1@KW4DirectionIntegers@SobolRsg@1@@Z) referenced in function "public: static void __cdecl HybridHestonHullWhiteProcessTest::testZeroBondPricing(void)" (?testZeroBondPricing@HybridHestonHullWhiteProcessTest@@SAXXZ)         E:\dev\quantlib\trunk\QuantLib\test-suite\hybridhestonhullwhiteprocess.obj     testsuite (Visual Studio 2010)

 

I can’t figure out why that happens. Does anybody have some idea on this? Thx.

 

Regards,

Cheng

 

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users

 

 


------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: 答复: Quantlib testsuite link error

Luigi Ballabio
Done.

On Thu, Nov 15, 2012 at 2:14 PM, Cheng Li <[hidden email]> wrote:

>
>
> Yes,that really solved my problem. Thank you. I think the quantlib
> administrators need to fix the trunk accordingly.
>
>
>
> 发件人: Francis Duffy [mailto:[hidden email]]
> 发送时间: 2012年11月15日 1:50
> 收件人: Cheng Li
> 抄送: QuantLib-users
> 主题: Re: [Quantlib-users] Quantlib testsuite link error
>
>
>
> Hi Cheng,
>
>
>
> I needed to add the corresponding .cpp files also but I did not list them
> below.
>
> Regards,
>
> Francis.
>
> On Wed, Nov 14, 2012 at 5:33 PM, Francis Duffy <[hidden email]>
> wrote:
>
> Hi Cheng,
>
>
>
> When I last updated, I needed to add the files below to my project in order
> for the test-suite to compile. It appears that you may be having a similar
> issue i.e. files that the test-suite depend on are present in the relevant
> folder but have not been added to the project.
>
>
>
> Regards,
>
> Francis.
>
>
>
> ql\math\randomnumbers\sobolbrownianbridgersg.hpp
>
> ql\math\optimization\differentialevolution.hpp
>
> ql\math\richardsonextrapolation.hpp
>
> ql\methods\finitedifferences\utilities\fdmindicesonboundary.hpp
>
> ql\pricingengines\vanilla\analytich1hwengine.hpp
>
>
>
> ql\experimental\finitedifferences\dynprogvppintrinsicvalueengine.hpp
>
> ql\experimental\finitedifferences\fdmvppstartlimitstepcondition.hpp
>
> ql\experimental\finitedifferences\fdmvppstepconditionfactory.hpp
>
> On Wed, Nov 14, 2012 at 4:52 PM, Cheng Li <[hidden email]>
> wrote:
>
> Hi All,
>
>
>
> I have download the latest trunk version of Quantlib from svn. After
> building the whole solution I encountered the errors from testsuite project.
> One of the error is as follows:
>
>
>
> Error         1       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@QuantLib@@QAE@IIW4Ordering@SobolBrownianGenerator@1@KW4DirectionIntegers@SobolRsg@1@@Z)
> referenced in function "public: static void __cdecl
> HybridHestonHullWhiteProcessTest::testZeroBondPricing(void)"
> (?testZeroBondPricing@HybridHestonHullWhiteProcessTest@@SAXXZ)
> E:\dev\quantlib\trunk\QuantLib\test-suite\hybridhestonhullwhiteprocess.obj
> testsuite (Visual Studio 2010)
>
>
>
> I can’t figure out why that happens. Does anybody have some idea on this?
> Thx.
>
>
>
> Regards,
>
> Cheng
>
>
>
> ------------------------------------------------------------------------------
> Monitor your physical, virtual and cloud infrastructure from a single
> web console. Get in-depth insight into apps, servers, databases, vmware,
> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
> Pricing starts from $795 for 25 servers or applications!
> http://p.sf.net/sfu/zoho_dev2dev_nov
> _______________________________________________
> QuantLib-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quantlib-users
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> Monitor your physical, virtual and cloud infrastructure from a single
> web console. Get in-depth insight into apps, servers, databases, vmware,
> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
> Pricing starts from $795 for 25 servers or applications!
> http://p.sf.net/sfu/zoho_dev2dev_nov
> _______________________________________________
> QuantLib-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quantlib-users
>

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users