Quantlib XL boost error

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

Quantlib XL boost error

Theo Boafo
Hi Eric,

I have C:\Program Files\boost\boost_1_51\lib\libboost_regex-vc100-mt-s-1_51.lib and not 
libboost_regex-vc100-mt-s-1_52.lib 

why a 1_52.lib file when its boost_1_51?

Regards

Theo
Attached Message
From:Eric Ehlers <[hidden email]>
To:Theo Boafo <[hidden email]>
CC:[hidden email]
Subject:Re: [Quantlib-users] QuantLib-users Digest, Vol 97, Issue 24
Date:Tue, 17 Jun 2014 08:38:45 +0000
Hi Theo, 
 
Have you built boost? 
 
Based on the error message that you are getting... 
 
5>QuantLibObjects-vc100-mt-s-1_2_0.lib(calendarfactory.obj) : error > LNK2019: unresolved external symbol "private: class > boost::basic_regex<char,struct boost::regex_traits<char,class 
 
....I would guess that the file that the linker is failing to find is called something like... 
 
C:\Program Files\boost\boost_1_51\lib\libboost_regex-vc100-mt-s-1_52.lib 
 
Do you have that file? Eric 

------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Quantlib XL boost error

Eric Ehlers-2
Hi Theo,

> I have C:\Program  
> Files\boost\boost_1_51\lib\libboost_regex-vc100-mt-s-1_51.lib and not
> libboost_regex-vc100-mt-s-1_52.lib
>
> why a 1_52.lib file when its boost_1_51?

Ooops my bad yes of course you're right if you're using 1_51 then the  
file should be called 1_51.

Looking back through your messages, you say:

> I do have boost, its in C:\Program Files\boost\boost_1_51.  Also I  
> have the following settings in Project Properties for  
> QuantlibXLstatic.
>
> C:\Program Files\boost\boost_1_51;$(IncludePath)
> C:\Program Files\boost\boost_1_51\lib;$(LibraryPath)

But the error message is:

> 5>QuantLibObjects-vc100-mt-s-1_2_0.lib(calendarfactory.obj) : error  
> LNK2019: unresolved external symbol "private: class  
> boost::basic_regex<char,struct boost::regex_traits<char,class

So you set the lib path for QuantlibXLstatic but the error occurs when  
linking QuantLibObjects, could it be that the lib path is not set  
properly for QuantLibObjects?

Rather than set the boost lib path for a specific project, I would  
suggest that you do it globally as described here:  
http://quantlib.org/install/vc10.shtml

Kind Regards,
Eric

===================================================
Eric Ehlers
nazcatech sprl | Brussels | http://www.nazcatech.be
* Distributed computing for pricing analytics
* Use Microsoft Excel as a client to the Grid


------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Quantlib XL boost error

Theo Boafo
Hi Eric,

I checked the global settings for boost and its there.  I have not installed the python yet, that could be confusing things.

As I doing full build, let me complete the installation by installing python.

Where  should I install the python? Any settings for the python? 

Any installations notes for getting python to work with QuantlibXL

Regards

Theo


-----Original Message-----
From: Eric Ehlers <[hidden email]>
To: Theo Boafo <[hidden email]>
CC: quantlib-users <[hidden email]>
Sent: Tue, 17 Jun 2014 15:38
Subject: Re: [Quantlib-users] Quantlib XL boost error

Hi Theo,

> I have C:\Program  
> Files\boost\boost_1_51\lib\libboost_regex-vc100-mt-s-1_51.lib and not
> libboost_regex-vc100-mt-s-1_52.lib
>
> why a 1_52.lib file when its boost_1_51?

Ooops my bad yes of course you're right if you're using 1_51 then the  
file should be called 1_51.

Looking back through your messages, you say:

> I do have boost, its in C:\Program Files\boost\boost_1_51.  Also I  
> have the following settings in Project Properties for  
> QuantlibXLstatic.
>
> C:\Program Files\boost\boost_1_51;$(IncludePath)
> C:\Program Files\boost\boost_1_51\lib;$(LibraryPath)

But the error message is:

> 5>QuantLibObjects-vc100-mt-s-1_2_0.lib(calendarfactory.obj) : error  
> LNK2019: unresolved external symbol "private: class  
> boost::basic_regex<char,struct boost::regex_traits<char,class

So you set the lib path for QuantlibXLstatic but the error occurs when  
linking QuantLibObjects, could it be that the lib path is not set  
properly for QuantLibObjects?

Rather than set the boost lib path for a specific project, I would  
suggest that you do it globally as described here:   
http://quantlib.org/install/vc10.shtml

Kind Regards,
Eric

===================================================
Eric Ehlers
nazcatech sprl | Brussels | http://www.nazcatech.be
* Distributed computing for pricing analytics
* Use Microsoft Excel as a client to the Grid


------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Quantlib XL boost error

Eric Ehlers-2
Hi Theo,

It would probably be better to get the basic build working before  
moving on to the full build.

That linker error, what is causing that?

Bon courage,
Eric

Quoting Theo Boafo <[hidden email]>:

> Hi Eric,
>
>
> I checked the global settings for boost and its there.  I have not  
> installed the python yet, that could be confusing things.
>
>
> As I doing full build, let me complete the installation by installing python.
>
>
> Where  should I install the python? Any settings for the python?
>
>
> Any installations notes for getting python to work with QuantlibXL
>
>
> Regards
>
>
> Theo
>
>
>
> -----Original Message-----
> From: Eric Ehlers <[hidden email]>
> To: Theo Boafo <[hidden email]>
> CC: quantlib-users <[hidden email]>
> Sent: Tue, 17 Jun 2014 15:38
> Subject: Re: [Quantlib-users] Quantlib XL boost error
>
>
> Hi Theo,
>
>> I have C:\Program
>> Files\boost\boost_1_51\lib\libboost_regex-vc100-mt-s-1_51.lib and not
>> libboost_regex-vc100-mt-s-1_52.lib
>>
>> why a 1_52.lib file when its boost_1_51?
>
> Ooops my bad yes of course you're right if you're using 1_51 then the
> file should be called 1_51.
>
> Looking back through your messages, you say:
>
>> I do have boost, its in C:\Program Files\boost\boost_1_51.  Also I
>> have the following settings in Project Properties for
>> QuantlibXLstatic.
>>
>> C:\Program Files\boost\boost_1_51;$(IncludePath)
>> C:\Program Files\boost\boost_1_51\lib;$(LibraryPath)
>
> But the error message is:
>
>> 5>QuantLibObjects-vc100-mt-s-1_2_0.lib(calendarfactory.obj) : error
>> LNK2019: unresolved external symbol "private: class
>> boost::basic_regex<char,struct boost::regex_traits<char,class
>
> So you set the lib path for QuantlibXLstatic but the error occurs when
> linking QuantLibObjects, could it be that the lib path is not set
> properly for QuantLibObjects?
>
> Rather than set the boost lib path for a specific project, I would
> suggest that you do it globally as described here:
> http://quantlib.org/install/vc10.shtml
>
> Kind Regards,
> Eric
>
> ===================================================
> Eric Ehlers
> nazcatech sprl | Brussels | http://www.nazcatech.be
> * Distributed computing for pricing analytics
> * Use Microsoft Excel as a client to the Grid


===================================================
Eric Ehlers
nazcatech sprl | Brussels | http://www.nazcatech.be
* Distributed computing for pricing analytics
* Use Microsoft Excel as a client to the Grid


------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Quantlib XL boost error

Theo Boafo
Hi Eric,

Looking at the Link errors again it seems my boost 151 lib does not have these object files, hence the link error.  What version of boost should I be using?

Regards

Theo
4>QuantLibObjects-vc100-mt-s-1_2_0.lib(calendarfactory.obj) : error LNK2019: unresolved external symbol "private: class boost::basic_regex<char,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > > & __thiscall boost::basic_regex<char,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > >::do_assign(char const *,char const *,unsigned int)" (?do_assign@?$basic_regex@DU?$regex_traits@DV?$w32_regex_traits@D@boost@@@boost@@@boost@@AAEAAV12@PBD0I@Z) referenced in function "public: class boost::basic_regex<char,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > > & __thiscall boost::basic_regex<char,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > >::assign(char const *,char const *,unsigned int)" (?assign@?$basic_regex@DU?$regex_traits@DV?$w32_regex_traits@D@boost@@@boost@@@boost@@QAEAAV12@PBD0I@Z)
4>ObjectHandler-xllib-vc100-mt-s-1_2_0.lib(serializationfactory.obj) : error LNK2001: unresolved external symbol "private: class boost::basic_regex<char,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > > & __thiscall boost::basic_regex<char,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > >::do_assign(char const *,char const *,unsigned int)" (?do_assign@?$basic_regex@DU?$regex_traits@DV?$w32_regex_traits@D@boost@@@boost@@@boost@@AAEAAV12@PBD0I@Z)
4>ObjectHandler-xllib-vc100-mt-s-1_2_0.lib(repository.obj) : error LNK2001: unresolved external symbol "private: class boost::basic_regex<char,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > > & __thiscall boost::basic_regex<char,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > >::do_assign(char const *,char const *,unsigned int)" (?do_assign@?$basic_regex@DU?$regex_traits@DV?$w32_regex_traits@D@boost@@@boost@@@boost@@AAEAAV12@PBD0I@Z)
4>ObjectHandler-xllib-vc100-mt-s-1_2_0.lib(rangereference.obj) : error LNK2001: unresolved external symbol "private: class boost::basic_regex<char,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > > & __thiscall boost::basic_regex<char,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > >::do_assign(char const *,char const *,unsigned int)" (?do_assign@?$basic_regex@DU?$regex_traits@DV?$w32_regex_traits@D@boost@@@boost@@@boost@@AAEAAV12@PBD0I@Z)
4>QuantLibObjects-vc100-mt-s-1_2_0.lib(calendarfactory.obj) : error LNK2019: unresolved external symbol "char __fastcall boost::re_detail::w32_toupper(char,unsigned int)" (?w32_toupper@re_detail@boost@@YIDDI@Z) referenced in function "public: char __thiscall boost::w32_regex_traits<char>::toupper(char)const " (?toupper@?$w32_regex_traits@D@boost@@QBEDD@Z)
4>QuantLibObjects-vc100-mt-s-1_2_0.lib(calendarfactory.obj) : error LNK2019: unresolved external symbol "private: void __thiscall boost::re_detail::perl_matcher<class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<struct boost::sub_match<class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> > > >,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > >::construct_init(class boost::basic_regex<char,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > > const &,enum boost::regex_constants::_match_flags)" (?construct_init@?$perl_matcher@V?$_String_const_iterator@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@U?$sub_match@V?$_String_const_iterator@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@boost@@@2@U?$regex_traits@DV?$w32_regex_traits@D@boost@@@boost@@@re_detail@boost@@AAEXABV?$basic_regex@DU?$regex_traits@DV?$w32_regex_traits@D@boost@@@boost@@@3@W4_match_flags@regex_constants@3@@Z) referenced in function "public: __thiscall boost::re_detail::perl_matcher<class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<struct boost::sub_match<class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> > > >,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > >::perl_matcher<class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<struct boost::sub_match<class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> > > >,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > >(class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> >,class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> >,class boost::match_results<class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<struct boost::sub_match<class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> > > > > &,class boost::basic_regex<char,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > > const &,enum boost::regex_constants::_match_flags,class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> >)" (??0?$perl_matcher@V?$_String_const_iterator@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@U?$sub_match@V?$_String_const_iterator@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@boost@@@2@U?$regex_traits@DV?$w32_regex_traits@D@boost@@@boost@@@re_detail@boost@@QAE@V?$_String_const_iterator@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@0AAV?$match_results@V?$_String_const_iterator@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@U?$sub_match@V?$_String_const_iterator@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@boost@@@2@@2@ABV?$basic_regex@DU?$regex_traits@DV?$w32_regex_traits@D@boost@@@boost@@@2@W4_match_flags@regex_constants@2@0@Z)
4>ObjectHandler-xllib-vc100-mt-s-1_2_0.lib(serializationfactory.obj) : error LNK2001: unresolved external symbol "private: void __thiscall boost::re_detail::perl_matcher<class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<struct boost::sub_match<class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> > > >,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > >::construct_init(class boost::basic_regex<char,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > > const &,enum boost::regex_constants::_match_flags)" (?construct_init@?$perl_matcher@V?$_String_const_iterator@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@U?$sub_match@V?$_String_const_iterator@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@boost@@@2@U?$regex_traits@DV?$w32_regex_traits@D@boost@@@boost@@@re_detail@boost@@AAEXABV?$basic_regex@DU?$regex_traits@DV?$w32_regex_traits@D@boost@@@boost@@@3@W4_match_flags@regex_constants@3@@Z)
4>ObjectHandler-xllib-vc100-mt-s-1_2_0.lib(repository.obj) : error LNK2001: unresolved external symbol "private: void __thiscall boost::re_detail::perl_matcher<class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<struct boost::sub_match<class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> > > >,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > >::construct_init(class boost::basic_regex<char,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > > const &,enum boost::regex_constants::_match_flags)" (?construct_init@?$perl_matcher@V?$_String_const_iterator@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@U?$sub_match@V?$_String_const_iterator@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@boost@@@2@U?$regex_traits@DV?$w32_regex_traits@D@boost@@@boost@@@re_detail@boost@@AAEXABV?$basic_regex@DU?$regex_traits@DV?$w32_regex_traits@D@boost@@@boost@@@3@W4_match_flags@regex_constants@3@@Z)
4>ObjectHandler-xllib-vc100-mt-s-1_2_0.lib(rangereference.obj) : error LNK2001: unresolved external symbol "private: void __thiscall boost::re_detail::perl_matcher<class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<struct boost::sub_match<class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> > > >,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > >::construct_init(class boost::basic_regex<char,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > > const &,enum boost::regex_constants::_match_flags)" (?construct_init@?$perl_matcher@V?$_String_const_iterator@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@U?$sub_match@V?$_String_const_iterator@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@boost@@@2@U?$regex_traits@DV?$w32_regex_traits@D@boost@@@boost@@@re_detail@boost@@AAEXABV?$basic_regex@DU?$regex_traits@DV?$w32_regex_traits@D@boost@@@boost@@@3@W4_match_flags@regex_constants@3@@Z)
4>QuantLibObjects-vc100-mt-s-1_2_0.lib(calendarfactory.obj) : error LNK2019: unresolved external symbol "public: bool __thiscall boost::re_detail::perl_matcher<class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<struct boost::sub_match<class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> > > >,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > >::find(void)" (?find@?$perl_matcher@V?$_String_const_iterator@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@U?$sub_match@V?$_String_const_iterator@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@boost@@@2@U?$regex_traits@DV?$w32_regex_traits@D@boost@@@boost@@@re_detail@boost@@QAE_NXZ) referenced in function "bool __cdecl boost::regex_search<class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<struct boost::sub_match<class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> > > >,char,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > >(class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> >,class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> >,class boost::match_results<class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<struct boost::sub_match<class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> > > > > &,class boost::basic_regex<char,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > > const &,enum boost::regex_constants::_match_flags,class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> >)" (??$regex_search@V?$_String_const_iterator@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@U?$sub_match@V?$_String_const_iterator@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@boost@@@2@DU?$regex_traits@DV?$w32_regex_traits@D@boost@@@boost@@@boost@@YA_NV?$_String_const_iterator@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@0AAV?$match_results@V?$_String_const_iterator@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@U?$sub_match@V?$_String_const_iterator@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@boost@@@2@@0@ABV?$basic_regex@DU?$regex_traits@DV?$w32_regex_traits@D@boost@@@boost@@@0@W4_match_flags@regex_constants@0@0@Z)
4>QuantLibObjects-vc100-mt-s-1_2_0.lib(calendarfactory.obj) : error LNK2019: unresolved external symbol "public: bool __thiscall boost::re_detail::perl_matcher<class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<struct boost::sub_match<class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> > > >,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > >::match(void)" (?match@?$perl_matcher@V?$_String_const_iterator@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@U?$sub_match@V?$_String_const_iterator@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@boost@@@2@U?$regex_traits@DV?$w32_regex_traits@D@boost@@@boost@@@re_detail@boost@@QAE_NXZ) referenced in function "bool __cdecl boost::regex_match<class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<struct boost::sub_match<class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> > > >,char,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > >(class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> >,class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> >,class boost::match_results<class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<struct boost::sub_match<class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> > > > > &,class boost::basic_regex<char,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > > const &,enum boost::regex_constants::_match_flags)" (??$regex_match@V?$_String_const_iterator@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@U?$sub_match@V?$_String_const_iterator@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@boost@@@2@DU?$regex_traits@DV?$w32_regex_traits@D@boost@@@boost@@@boost@@YA_NV?$_String_const_iterator@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@0AAV?$match_results@V?$_String_const_iterator@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@U?$sub_match@V?$_String_const_iterator@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@boost@@@2@@0@ABV?$basic_regex@DU?$regex_traits@DV?$w32_regex_traits@D@boost@@@boost@@@0@W4_match_flags@regex_constants@0@@Z)
4>ObjectHandler-xllib-vc100-mt-s-1_2_0.lib(serializationfactory.obj) : error LNK2001: unresolved external symbol "public: bool __thiscall boost::re_detail::perl_matcher<class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<struct boost::sub_match<class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> > > >,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > >::match(void)" (?match@?$perl_matcher@V?$_String_const_iterator@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@U?$sub_match@V?$_String_const_iterator@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@boost@@@2@U?$regex_traits@DV?$w32_regex_traits@D@boost@@@boost@@@re_detail@boost@@QAE_NXZ)
4>ObjectHandler-xllib-vc100-mt-s-1_2_0.lib(repository.obj) : error LNK2001: unresolved external symbol "public: bool __thiscall boost::re_detail::perl_matcher<class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<struct boost::sub_match<class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> > > >,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > >::match(void)" (?match@?$perl_matcher@V?$_String_const_iterator@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@U?$sub_match@V?$_String_const_iterator@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@boost@@@2@U?$regex_traits@DV?$w32_regex_traits@D@boost@@@boost@@@re_detail@boost@@QAE_NXZ)
4>ObjectHandler-xllib-vc100-mt-s-1_2_0.lib(rangereference.obj) : error LNK2001: unresolved external symbol "public: bool __thiscall boost::re_detail::perl_matcher<class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<struct boost::sub_match<class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> > > >,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > >::match(void)" (?match@?$perl_matcher@V?$_String_const_iterator@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@U?$sub_match@V?$_String_const_iterator@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@boost@@@2@U?$regex_traits@DV?$w32_regex_traits@D@boost@@@boost@@@re_detail@boost@@QAE_NXZ)
4>ObjectHandler-xllib-vc100-mt-s-1_2_0.lib(serializationfactory.obj) : error LNK2019: unresolved external symbol "class boost::filesystem::file_status __cdecl boost::filesystem::detail::status(class boost::filesystem::path const &,class boost::system::error_code *)" (?status@detail@filesystem@boost@@YA?AVfile_status@23@ABVpath@23@PAVerror_code@system@3@@Z) referenced in function "bool __cdecl boost::filesystem::exists(class boost::filesystem::path const &)" (?exists@filesystem@boost@@YA_NABVpath@12@@Z)
4>ObjectHandler-xllib-vc100-mt-s-1_2_0.lib(logger.obj) : error LNK2001: unresolved external symbol "class boost::filesystem::file_status __cdecl boost::filesystem::detail::status(class boost::filesystem::path const &,class boost::system::error_code *)" (?status@detail@filesystem@boost@@YA?AVfile_status@23@ABVpath@23@PAVerror_code@system@3@@Z)
4>ObjectHandler-xllib-vc100-mt-s-1_2_0.lib(serializationfactory.obj) : error LNK2019: unresolved external symbol "bool __cdecl boost::filesystem::detail::remove(class boost::filesystem::path const &,class boost::system::error_code *)" (?remove@detail@filesystem@boost@@YA_NABVpath@23@PAVerror_code@system@3@@Z) referenced in function "bool __cdecl boost::filesystem::remove(class boost::filesystem::path const &)" (?remove@filesystem@boost@@YA_NABVpath@12@@Z)
4>ObjectHandler-xllib-vc100-mt-s-1_2_0.lib(serializationfactory.obj) : error LNK2019: unresolved external symbol "private: class boost::filesystem::file_status __thiscall boost::filesystem::directory_entry::m_get_status(class boost::system::error_code *)const " (?m_get_status@directory_entry@filesystem@boost@@ABE?AVfile_status@23@PAVerror_code@system@3@@Z) referenced in function "public: class boost::filesystem::file_status __thiscall boost::filesystem::directory_entry::status(void)const " (?status@directory_entry@filesystem@boost@@QBE?AVfile_status@23@XZ)
4>ObjectHandler-xllib-vc100-mt-s-1_2_0.lib(serializationfactory.obj) : error LNK2019: unresolved external symbol "private: class boost::filesystem::file_status __thiscall boost::filesystem::directory_entry::m_get_symlink_status(class boost::system::error_code *)const " (?m_get_symlink_status@directory_entry@filesystem@boost@@ABE?AVfile_status@23@PAVerror_code@system@3@@Z) referenced in function "public: class boost::filesystem::file_status __thiscall boost::filesystem::directory_entry::symlink_status(void)const " (?symlink_status@directory_entry@filesystem@boost@@QBE?AVfile_status@23@XZ)
4>ObjectHandler-xllib-vc100-mt-s-1_2_0.lib(serializationfactory.obj) : error LNK2019: unresolved external symbol "void __cdecl boost::filesystem::detail::directory_iterator_increment(class boost::filesystem::directory_iterator &,class boost::system::error_code *)" (?directory_iterator_increment@detail@filesystem@boost@@YAXAAVdirectory_iterator@23@PAVerror_code@system@3@@Z) referenced in function "private: void __thiscall boost::filesystem::directory_iterator::increment(void)" (?increment@directory_iterator@filesystem@boost@@AAEXXZ)
4>ObjectHandler-xllib-vc100-mt-s-1_2_0.lib(serializationfactory.obj) : error LNK2019: unresolved external symbol "void __cdecl boost::filesystem::path_traits::convert(char const *,char const *,class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > &,class std::codecvt<wchar_t,char,int> const &)" (?convert@path_traits@filesystem@boost@@YAXPBD0AAV?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@ABV?$codecvt@_WDH@5@@Z) referenced in function "void __cdecl boost::filesystem::path_traits::dispatch<class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > >(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > &,class std::codecvt<wchar_t,char,int> const &)" (??$dispatch@V?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@@path_traits@filesystem@boost@@YAXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AAV?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@4@ABV?$codecvt@_WDH@4@@Z)
4>ObjectHandler-xllib-vc100-mt-s-1_2_0.lib(logger.obj) : error LNK2001: unresolved external symbol "void __cdecl boost::filesystem::path_traits::convert(char const *,char const *,class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > &,class std::codecvt<wchar_t,char,int> const &)" (?convert@path_traits@filesystem@boost@@YAXPBD0AAV?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@ABV?$codecvt@_WDH@5@@Z)
4>ObjectHandler-xllib-vc100-mt-s-1_2_0.lib(serializationfactory.obj) : error LNK2019: unresolved external symbol "public: static class std::codecvt<wchar_t,char,int> const & __cdecl boost::filesystem::path::codecvt(void)" (?codecvt@path@filesystem@boost@@SAABV?$codecvt@_WDH@std@@XZ) referenced in function "public: __thiscall boost::filesystem::path::path<class std::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 &,void *)" (??$?0V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@path@filesystem@boost@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PAX@Z)
4>ObjectHandler-xllib-vc100-mt-s-1_2_0.lib(logger.obj) : error LNK2001: unresolved external symbol "public: static class std::codecvt<wchar_t,char,int> const & __cdecl boost::filesystem::path::codecvt(void)" (?codecvt@path@filesystem@boost@@SAABV?$codecvt@_WDH@std@@XZ)
4>ObjectHandler-xllib-vc100-mt-s-1_2_0.lib(serializationfactory.obj) : error LNK2019: unresolved external symbol "public: class boost::filesystem::path __thiscall boost::filesystem::path::filename(void)const " (?filename@path@filesystem@boost@@QBE?AV123@XZ) referenced in function "public: class boost::filesystem::path __thiscall boost::filesystem::path::leaf(void)const " (?leaf@path@filesystem@boost@@QBE?AV123@XZ)
4>ObjectHandler-xllib-vc100-mt-s-1_2_0.lib(serializationfactory.obj) : error LNK2019: unresolved external symbol "public: class boost::filesystem::path __thiscall boost::filesystem::path::parent_path(void)const " (?parent_path@path@filesystem@boost@@QBE?AV123@XZ) referenced in function "public: class boost::filesystem::path __thiscall boost::filesystem::path::branch_path(void)const " (?branch_path@path@filesystem@boost@@QBE?AV123@XZ)
4>ObjectHandler-xllib-vc100-mt-s-1_2_0.lib(logger.obj) : error LNK2001: unresolved external symbol "public: class boost::filesystem::path __thiscall boost::filesystem::path::parent_path(void)const " (?parent_path@path@filesystem@boost@@QBE?AV123@XZ)
4>ObjectHandler-xllib-vc100-mt-s-1_2_0.lib(serializationfactory.obj) : error LNK2019: unresolved external symbol "class boost::system::error_code __cdecl boost::filesystem::detail::dir_itr_close(void * &)" (?dir_itr_close@detail@filesystem@boost@@YA?AVerror_code@system@3@AAPAX@Z) referenced in function "public: __thiscall boost::filesystem::detail::dir_itr_imp::~dir_itr_imp(void)" (??1dir_itr_imp@detail@filesystem@boost@@QAE@XZ)
4>ObjectHandler-xllib-vc100-mt-s-1_2_0.lib(serializationfactory.obj) : error LNK2019: unresolved external symbol "void __cdecl boost::filesystem::path_traits::convert(wchar_t const *,wchar_t const *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &,class std::codecvt<wchar_t,char,int> const &)" (?convert@path_traits@filesystem@boost@@YAXPB_W0AAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@ABV?$codecvt@_WDH@5@@Z) referenced in function "public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const __thiscall boost::filesystem::path::string(class std::codecvt<wchar_t,char,int> const &)const " (?string@path@filesystem@boost@@QBE?BV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@ABV?$codecvt@_WDH@5@@Z)
4>ObjectHandler-xllib-vc100-mt-s-1_2_0.lib(serializationfactory.obj) : error LNK2019: unresolved external symbol "void __cdecl boost::filesystem::detail::directory_iterator_construct(class boost::filesystem::directory_iterator &,class boost::filesystem::path const &,class boost::system::error_code *)" (?directory_iterator_construct@detail@filesystem@boost@@YAXAAVdirectory_iterator@23@ABVpath@23@PAVerror_code@system@3@@Z) referenced in function "public: __thiscall boost::filesystem::directory_iterator::directory_iterator(class boost::filesystem::path const &)" (??0directory_iterator@filesystem@boost@@QAE@ABVpath@12@@Z)
4>..\xll\QuantLibXL-vc100-mt-s-1_2_0.xll : fatal error LNK1120: 17 unresolved externals
========== Build: 3 succeeded, 1 failed, 6 up-to-date, 0 skipped ==========


-----Original Message-----
From: Eric Ehlers <[hidden email]>
To: Theo Boafo <[hidden email]>
CC: quantlib-users <[hidden email]>
Sent: Wed, 18 Jun 2014 9:13
Subject: Re: [Quantlib-users] Quantlib XL boost error

Hi Theo,

It would probably be better to get the basic build working before  
moving on to the full build.

That linker error, what is causing that?

Bon courage,
Eric

Quoting Theo Boafo <[hidden email]>:

> Hi Eric,
>
>
> I checked the global settings for boost and its there.  I have not  
> installed the python yet, that could be confusing things.
>
>
> As I doing full build, let me complete the installation by installing python.
>
>
> Where  should I install the python? Any settings for the python?
>
>
> Any installations notes for getting python to work with QuantlibXL
>
>
> Regards
>
>
> Theo
>
>
>
> -----Original Message-----
> From: Eric Ehlers <[hidden email]>
> To: Theo Boafo <[hidden email]>
> CC: quantlib-users <[hidden email]>
> Sent: Tue, 17 Jun 2014 15:38
> Subject: Re: [Quantlib-users] Quantlib XL boost error
>
>
> Hi Theo,
>
>> I have C:\Program
>> Files\boost\boost_1_51\lib\libboost_regex-vc100-mt-s-1_51.lib and not
>> libboost_regex-vc100-mt-s-1_52.lib
>>
>> why a 1_52.lib file when its boost_1_51?
>
> Ooops my bad yes of course you're right if you're using 1_51 then the
> file should be called 1_51.
>
> Looking back through your messages, you say:
>
>> I do have boost, its in C:\Program Files\boost\boost_1_51.  Also I
>> have the following settings in Project Properties for
>> QuantlibXLstatic.
>>
>> C:\Program Files\boost\boost_1_51;$(IncludePath)
>> C:\Program Files\boost\boost_1_51\lib;$(LibraryPath)
>
> But the error message is:
>
>> 5>QuantLibObjects-vc100-mt-s-1_2_0.lib(calendarfactory.obj) : error
>> LNK2019: unresolved external symbol "private: class
>> boost::basic_regex<char,struct boost::regex_traits<char,class
>
> So you set the lib path for QuantlibXLstatic but the error occurs when
> linking QuantLibObjects, could it be that the lib path is not set
> properly for QuantLibObjects?
>
> Rather than set the boost lib path for a specific project, I would
> suggest that you do it globally as described here:
> http://quantlib.org/install/vc10.shtml
>
> Kind Regards,
> Eric
>
> ===================================================
> Eric Ehlers
> nazcatech sprl | Brussels | http://www.nazcatech.be
> * Distributed computing for pricing analytics
> * Use Microsoft Excel as a client to the Grid


===================================================
Eric Ehlers
nazcatech sprl | Brussels | http://www.nazcatech.be
* Distributed computing for pricing analytics
* Use Microsoft Excel as a client to the Grid


------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users