Hi all,
I am trying to build based SVN revision 14548. I would really appreciate your help in resolving this problem. Thanks a lot in advance! My environment is WinXP VC7. The following are the error messages: ------ Build started: Project: testsuite, Configuration: Release Win32 ------ Linking... batesmodel.obj : error LNK2019: unresolved external symbol "public: double __thiscall QuantLib::BatesProcess::lambda(void)const " (?lambda@BatesProcess@QuantLib@@QBENXZ) referenced in function "public: static void __cdecl BatesModelTest::testAnalyticAndMcVsJumpDiffusion(void)" (?testAnalyticAndMcVsJumpDiffusion@BatesModelTest@@SAXXZ) batesmodel.obj : error LNK2019: unresolved external symbol "public: double __thiscall QuantLib::BatesProcess::nu(void)const " (?nu@BatesProcess@QuantLib@@QBENXZ) referenced in function "public: static void __cdecl BatesModelTest::testAnalyticAndMcVsJumpDiffusion(void)" (?testAnalyticAndMcVsJumpDiffusion@BatesModelTest@@SAXXZ) batesmodel.obj : error LNK2019: unresolved external symbol "public: double __thiscall QuantLib::BatesProcess::delta(void)const " (?delta@BatesProcess@QuantLib@@QBENXZ) referenced in function "public: static void __cdecl BatesModelTest::testAnalyticAndMcVsJumpDiffusion(void)" (?testAnalyticAndMcVsJumpDiffusion@BatesModelTest@@SAXXZ) batesmodel.obj : error LNK2019: unresolved external symbol "public: __thiscall QuantLib::BatesProcess::BatesProcess(class QuantLib::Handle<class QuantLib::YieldTermStructure> const &,class QuantLib::Handle<class QuantLib::YieldTermStructure> const &,class QuantLib::Handle<class QuantLib::Quote> const &,double,double,double,double,double,double,double,double,enum QuantLib::HestonProcess::Discretization)" (??0BatesProcess@QuantLib@@QAE@ABV?$Handle@VYieldTermStructure@QuantLib@@@1@0ABV?$Handle@VQuote@QuantLib@@@1@NNNNNNNNW4Discretization@HestonProcess@1@@Z) referenced in function "public: static void __cdecl BatesModelTest::testAnalyticAndMcVsJumpDiffusion(void)" (?testAnalyticAndMcVsJumpDiffusion@BatesModelTest@@SAXXZ) .\bin/QuantLib-test-suite-vc71-mt-s-0_9_5.exe : fatal error LNK1120: 4 unresolved externals ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ QuantLib-dev mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-dev |
Hi
I've added a new class "BatesProcess" a few days ago. I'm developing under linux and unfortunately I don't have access to VC. Therefore the VC project file might be not up-to-date. Please add these files ql/processes/batesprocess.hpp ql/processes/batesprocess.cpp to your solution. Then the svn head should work again sorry and cheers Klaus ----- original message -------- Subject: [Quantlib-dev] Build failed at revision 14548. Sent: Fri, 07 Mar 2008 From: [hidden email] Hi all, I am trying to build based SVN revision 14548. I would really appreciate your help in resolving this problem. Thanks a lot in advance! My environment is WinXP VC7. The following are the error messages: ------ Build started: Project: testsuite, Configuration: Release Win32 ------ Linking... batesmodel.obj : error LNK2019: unresolved external symbol "public: double __thiscall QuantLib::BatesProcess::lambda(void)const " (?lambda@BatesProcess@QuantLib@@QBENXZ) referenced in function "public: static void __cdecl BatesModelTest::testAnalyticAndMcVsJumpDiffusion(void)" (?testAnalyticAndMcVsJumpDiffusion@BatesModelTest@@SAXXZ) batesmodel.obj : error LNK2019: unresolved external symbol "public: double __thiscall QuantLib::BatesProcess::nu(void)const " (?nu@BatesProcess@QuantLib@@QBENXZ) referenced in function "public: static void __cdecl BatesModelTest::testAnalyticAndMcVsJumpDiffusion(void)" (?testAnalyticAndMcVsJumpDiffusion@BatesModelTest@@SAXXZ) batesmodel.obj : error LNK2019: unresolved external symbol "public: double __thiscall QuantLib::BatesProcess::delta(void)const " (?delta@BatesProcess@QuantLib@@QBENXZ) referenced in function "public: static void __cdecl BatesModelTest::testAnalyticAndMcVsJumpDiffusion(void)" (?testAnalyticAndMcVsJumpDiffusion@BatesModelTest@@SAXXZ) batesmodel.obj : error LNK2019: unresolved external symbol "public: __thiscall QuantLib::BatesProcess::BatesProcess(class QuantLib::Handle<class QuantLib::YieldTermStructure> const &,class QuantLib::Handle<class QuantLib::YieldTermStructure> const &,class QuantLib::Handle<class QuantLib::Quote> const &,double,double,double,double,double,double,double,double,enum QuantLib::HestonProcess::Discretization)" (??0BatesProcess@QuantLib@@QAE@ABV?$Handle@VYieldTermStructure@QuantLib@@@1@0ABV?$Handle@VQuote@QuantLib@@@1@NNNNNNNNW4Discretization@HestonProcess@1@@Z) referenced in function "public: static void __cdecl BatesModelTest::testAnalyticAndMcVsJumpDiffusion(void)" (?testAnalyticAndMcVsJumpDiffusion@BatesModelTest@@SAXXZ) .bin/QuantLib-test-suite-vc71-mt-s-0_9_5.exe : fatal error LNK1120: 4 unresolved externals --- original message end ---- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ QuantLib-dev mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-dev |
Free forum by Nabble | Edit this page |