I am having trouble building the test-suite.
Unresolved symbol errors in cdo.obj and calendars.obj. Excluding them from the build resolves the problem. Also when building the "debug" version, I got multiply defined symbols errors. These disappear when doing "debug static" I am using VC8. Mark -- Quant Job Interview Questions and Answers is now out: www.markjoshi.com Assoc Prof Mark Joshi Centre for Actuarial Studies University of Melbourne My website is www.markjoshi.com ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ QuantLib-dev mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-dev |
On Mon, 2008-10-13 at 14:58 +1100, Mark joshi wrote:
> I am having trouble building the test-suite. > Unresolved symbol errors in cdo.obj and calendars.obj. Excluding them > from the build resolves the problem. The VC projects were not up to date with the latest new files. I've seen that Nando just committed an updated version, so they should be ok now. Luigi -- Olmstead's Law: After all is said and done, a hell of a lot more is said than done. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ QuantLib-dev mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-dev |
In reply to this post by Mark joshi-2
Hi Mark
> I am having trouble building the test-suite. > Unresolved symbol errors in cdo.obj and calendars.obj. Excluding them from > the build resolves the problem. > > Also when building the "debug" version, I got multiply defined symbols > errors. > These disappear when doing "debug static" I updated the VC8 project to include all the files added in the last week. I successfully compiled and linked Release and Debug configurations of Rev15633. BTW I noticed that while you commit modified/added/removed files, you never commit updated projects: no problem about that, but I wonder if you happen to have obsolete project files on your PC. If you're sure you have up-to-date project files a "rebuild all" should fix any kind of linking problems hope it helps ciao -- Nando ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ QuantLib-dev mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-dev |
Still issues with building the test-suite in debug. Release, Release
(static) and debug (static) work ok. here are the first few... msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::~basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(void)" (??1?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@XZ) already defined in quantlib-vc80-mt-gd-0_9_7.lib(errors.obj) msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: int __thiscall std::ios_base::setf(int,int)" (?setf@ios_base@std@@QAEHHH@Z) already defined in quantlib-vc80-mt-gd-0_9_7.lib(dataformatters.obj) msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: void __thiscall std::basic_ostringstream<char,struct std::char_traits<char>,class std::allocator<char> >::`vbase destructor'(void)" (??_D?$basic_ostringstream@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEXXZ) already defined in quantlib-vc80-mt-gd-0_9_7.lib(errors.obj) msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall std::basic_ostringstream<char,struct std::char_traits<char>,class std::allocator<char> >::basic_ostringstream<char,struct std::char_traits<char>,class std::allocator<char> >(int)" (??0?$basic_ostringstream@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@H@Z) already defined in quantlib-vc80-mt-gd-0_9_7.lib(errors.obj) msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __thiscall std::basic_ostringstream<char,struct std::char_traits<char>,class std::allocator<char> >::str(void)const " (?str@?$basic_ostringstream@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QBE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@2@XZ) already defined in quantlib-vc80-mt-gd-0_9_7.lib(errors.obj) msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(char const *)" (??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@PBD@Z) already defined in quantlib-vc80-mt-gd-0_9_7.lib(errors.obj) msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: static float __cdecl std::numeric_limits<float>::max(void)" (?max@?$numeric_limits@M@std@@SAMXZ) already defined in quantlib-vc80-mt-gd-0_9_7.lib(dataformatters.obj) msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::operator<<(unsigned int)" (??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@I@Z) already defined in quantlib-vc80-mt-gd-0_9_7.lib(tridiagonaloperator.obj) msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall std::_Container_base::~_Container_base(void)" (??1_Container_base@std@@QAE@XZ) already defined in quantlib-vc80-mt-gd-0_9_7.lib(errors.obj) msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: void __thiscall std::_Container_base::_Orphan_all(void)const " (?_Orphan_all@_Container_base@std@@QBEXXZ) already defined in quantlib-vc80-mt-gd-0_9_7.lib(errors.obj) msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall std::_Container_base::_Container_base(void)" (??0_Container_base@std@@QAE@XZ) already defined in quantlib-vc80-mt-gd-0_9_7.lib(errors.obj) msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@ABV01@@Z) already defined in quantlib-vc80-mt-gd-0_9_7.lib(errors.obj) 2008/10/13 Ferdinando Ametrano <[hidden email]>: > Hi Mark > >> I am having trouble building the test-suite. >> Unresolved symbol errors in cdo.obj and calendars.obj. Excluding them from >> the build resolves the problem. >> >> Also when building the "debug" version, I got multiply defined symbols >> errors. >> These disappear when doing "debug static" > > I updated the VC8 project to include all the files added in the last > week. I successfully compiled and linked Release and Debug > configurations of Rev15633. > > BTW I noticed that while you commit modified/added/removed files, you > never commit updated projects: no problem about that, but I wonder if > you happen to have obsolete project files on your PC. If you're sure > you have up-to-date project files a "rebuild all" should fix any kind > of linking problems > > hope it helps > > ciao -- Nando > -- Quant Job Interview Questions and Answers is now out: www.markjoshi.com Assoc Prof Mark Joshi Centre for Actuarial Studies University of Melbourne My website is www.markjoshi.com ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ QuantLib-dev mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-dev |
Free forum by Nabble | Edit this page |