Help with build QuantLibAddin

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Help with build QuantLibAddin

Yi Zhao-2
Hello,
Has anyone suceeded in building the AddinExcelStatic portion of
QunatLibAddin using CVS download?
 The following are the error messages I got. (my environment being
Windows XP, vc71). Your help
 is highly appreciated!

 Yi Zhao


------ Build started: Project: QuantLibAddin, Configuration: Release
MTDLL Win32 ------

QuantLibAddin - up-to-date.


------ Build started: Project: AddinExcelStatic, Configuration: Release
MTDLL Win32 ------

Linking...
   Creating library
.\build\vc71\ReleaseMTDLL/QuantLibAddin-vc71-mt-0_3_12.lib and object
.\build\vc71\ReleaseMTDLL/QuantLibAddin-vc71-mt-0_3_12.exp
utilities.obj : error LNK2001: unresolved external symbol "void __cdecl
ObjHandler::stringToChar(char *,class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > const &)"
(?stringToChar@ObjHandler@@YAXPADABV?$basic_string@DU?$char_traits@D@std
@@V?$allocator@D@2@@std@@@Z)
volatilities.obj : error LNK2001: unresolved external symbol "void
__cdecl ObjHandler::stringToChar(char *,class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &)"
(?stringToChar@ObjHandler@@YAXPADABV?$basic_string@DU?$char_traits@D@std
@@V?$allocator@D@2@@std@@@Z)
xibor.obj : error LNK2001: unresolved external symbol "void __cdecl
ObjHandler::stringToChar(char *,class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > const &)"
(?stringToChar@ObjHandler@@YAXPADABV?$basic_string@DU?$char_traits@D@std
@@V?$allocator@D@2@@std@@@Z)
shortratemodels.obj : error LNK2001: unresolved external symbol "void
__cdecl ObjHandler::stringToChar(char *,class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &)"
(?stringToChar@ObjHandler@@YAXPADABV?$basic_string@DU?$char_traits@D@std
@@V?$allocator@D@2@@std@@@Z)
simpleswap.obj : error LNK2001: unresolved external symbol "void __cdecl
ObjHandler::stringToChar(char *,class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > const &)"
(?stringToChar@ObjHandler@@YAXPADABV?$basic_string@DU?$char_traits@D@std
@@V?$allocator@D@2@@std@@@Z)
swap.obj : error LNK2001: unresolved external symbol "void __cdecl
ObjHandler::stringToChar(char *,class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > const &)"
(?stringToChar@ObjHandler@@YAXPADABV?$basic_string@DU?$char_traits@D@std
@@V?$allocator@D@2@@std@@@Z)
termstructures.obj : error LNK2001: unresolved external symbol "void
__cdecl ObjHandler::stringToChar(char *,class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &)"
(?stringToChar@ObjHandler@@YAXPADABV?$basic_string@DU?$char_traits@D@std
@@V?$allocator@D@2@@std@@@Z)
ohfunctions.obj : error LNK2001: unresolved external symbol "void
__cdecl ObjHandler::stringToChar(char *,class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &)"
(?stringToChar@ObjHandler@@YAXPADABV?$basic_string@DU?$char_traits@D@std
@@V?$allocator@D@2@@std@@@Z)
options.obj : error LNK2001: unresolved external symbol "void __cdecl
ObjHandler::stringToChar(char *,class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > const &)"
(?stringToChar@ObjHandler@@YAXPADABV?$basic_string@DU?$char_traits@D@std
@@V?$allocator@D@2@@std@@@Z)
processes.obj : error LNK2001: unresolved external symbol "void __cdecl
ObjHandler::stringToChar(char *,class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > const &)"
(?stringToChar@ObjHandler@@YAXPADABV?$basic_string@DU?$char_traits@D@std
@@V?$allocator@D@2@@std@@@Z)
schedule.obj : error LNK2001: unresolved external symbol "void __cdecl
ObjHandler::stringToChar(char *,class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > const &)"
(?stringToChar@ObjHandler@@YAXPADABV?$basic_string@DU?$char_traits@D@std
@@V?$allocator@D@2@@std@@@Z)
capfloor.obj : error LNK2019: unresolved external symbol "void __cdecl
ObjHandler::stringToChar(char *,class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > const &)"
(?stringToChar@ObjHandler@@YAXPADABV?$basic_string@DU?$char_traits@D@std
@@V?$allocator@D@2@@std@@@Z) referenced in function
_qlAnalyticCapFloorEngine
couponvectors.obj : error LNK2001: unresolved external symbol "void
__cdecl ObjHandler::stringToChar(char *,class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &)"
(?stringToChar@ObjHandler@@YAXPADABV?$basic_string@DU?$char_traits@D@std
@@V?$allocator@D@2@@std@@@Z)
instruments.obj : error LNK2001: unresolved external symbol "void
__cdecl ObjHandler::stringToChar(char *,class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &)"
(?stringToChar@ObjHandler@@YAXPADABV?$basic_string@DU?$char_traits@D@std
@@V?$allocator@D@2@@std@@@Z)
interpolation.obj : error LNK2001: unresolved external symbol "void
__cdecl ObjHandler::stringToChar(char *,class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &)"
(?stringToChar@ObjHandler@@YAXPADABV?$basic_string@DU?$char_traits@D@std
@@V?$allocator@D@2@@std@@@Z)
termstructures.obj : error LNK2001: unresolved external symbol "class
std::vector<double,class std::allocator<double> > __cdecl
ObjHandler::fpToVectorDouble(struct FP const *)"
(?fpToVectorDouble@ObjHandler@@YA?AV?$vector@NV?$allocator@N@std@@@std@@
PBUFP@@@Z)
volatilities.obj : error LNK2001: unresolved external symbol "class
std::vector<double,class std::allocator<double> > __cdecl
ObjHandler::fpToVectorDouble(struct FP const *)"
(?fpToVectorDouble@ObjHandler@@YA?AV?$vector@NV?$allocator@N@std@@@std@@
PBUFP@@@Z)
capfloor.obj : error LNK2019: unresolved external symbol "class
std::vector<double,class std::allocator<double> > __cdecl
ObjHandler::fpToVectorDouble(struct FP const *)"
(?fpToVectorDouble@ObjHandler@@YA?AV?$vector@NV?$allocator@N@std@@@std@@
PBUFP@@@Z) referenced in function _qlCapFloor
couponvectors.obj : error LNK2001: unresolved external symbol "class
std::vector<double,class std::allocator<double> > __cdecl
ObjHandler::fpToVectorDouble(struct FP const *)"
(?fpToVectorDouble@ObjHandler@@YA?AV?$vector@NV?$allocator@N@std@@@std@@
PBUFP@@@Z)
instruments.obj : error LNK2001: unresolved external symbol "class
std::vector<double,class std::allocator<double> > __cdecl
ObjHandler::fpToVectorDouble(struct FP const *)"
(?fpToVectorDouble@ObjHandler@@YA?AV?$vector@NV?$allocator@N@std@@@std@@
PBUFP@@@Z)
options.obj : error LNK2019: unresolved external symbol "class
std::vector<double,class std::allocator<double> > __cdecl
ObjHandler::fpToVectorDouble(struct FP const *)"
(?fpToVectorDouble@ObjHandler@@YA?AV?$vector@NV?$allocator@N@std@@@std@@
PBUFP@@@Z) referenced in function "class std::basic_istream<char,struct
std::char_traits<char> > & __cdecl std::operator>><char,struct
std::char_traits<char>,class std::allocator<char> >(class
std::basic_istream<char,struct std::char_traits<char> > &,class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > &)"
(??$?5DU?$char_traits@D@std@@V?$allocator@D@1@@std@@YAAAV?$basic_istream
@DU?$char_traits@D@std@@@0@AAV10@AAV?$basic_string@DU?$char_traits@D@std
@@V?$allocator@D@2@@0@@Z)
couponvectors.obj : error LNK2019: unresolved external symbol "class
std::vector<double,class std::allocator<double> > __cdecl
ObjHandler::operToVectorDouble(struct xloper const *)"
(?operToVectorDouble@ObjHandler@@YA?AV?$vector@NV?$allocator@N@std@@@std
@@PBUxloper@@@Z) referenced in function _qlFloatingRateCouponVector
xibor.obj : error LNK2001: unresolved external symbol "class
std::vector<double,class std::allocator<double> > __cdecl
ObjHandler::operToVectorDouble(struct xloper const *)"
(?operToVectorDouble@ObjHandler@@YA?AV?$vector@NV?$allocator@N@std@@@std
@@PBUxloper@@@Z)
couponvectors.obj : error LNK2019: unresolved external symbol "void
__cdecl ObjHandler::matrixDoubleToXloper(struct xloper &,class
std::vector<class std::vector<double,class std::allocator<double>
>,class std::allocator<class std::vector<double,class
std::allocator<double> > > > const &)"
(?matrixDoubleToXloper@ObjHandler@@YAXAAUxloper@@ABV?$vector@V?$vector@N
V?$allocator@N@std@@@std@@V?$allocator@V?$vector@NV?$allocator@N@std@@@s
td@@@2@@std@@@Z) referenced in function _qlGetLeg
interpolation.obj : error LNK2001: unresolved external symbol "void
__cdecl ObjHandler::matrixDoubleToXloper(struct xloper &,class
std::vector<class std::vector<double,class std::allocator<double>
>,class std::allocator<class std::vector<double,class
std::allocator<double> > > > const &)"
(?matrixDoubleToXloper@ObjHandler@@YAXAAUxloper@@ABV?$vector@V?$vector@N
V?$allocator@N@std@@@std@@V?$allocator@V?$vector@NV?$allocator@N@std@@@s
td@@@2@@std@@@Z)
simpleswap.obj : error LNK2001: unresolved external symbol "void __cdecl
ObjHandler::matrixDoubleToXloper(struct xloper &,class std::vector<class
std::vector<double,class std::allocator<double> >,class
std::allocator<class std::vector<double,class std::allocator<double> > >
> const &)"
(?matrixDoubleToXloper@ObjHandler@@YAXAAUxloper@@ABV?$vector@V?$vector@N
V?$allocator@N@std@@@std@@V?$allocator@V?$vector@NV?$allocator@N@std@@@s
td@@@2@@std@@@Z)
instruments.obj : error LNK2019: unresolved external symbol "class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > __cdecl ObjHandler::operToScalarString(struct
xloper const *,class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > const &)"
(?operToScalarString@ObjHandler@@YA?AV?$basic_string@DU?$char_traits@D@s
td@@V?$allocator@D@2@@std@@PBUxloper@@ABV23@@Z) referenced in function
_qlFixedCouponBond
interpolation.obj : error LNK2019: unresolved external symbol "class
std::vector<class std::vector<double,class std::allocator<double>
>,class std::allocator<class std::vector<double,class
std::allocator<double> > > > __cdecl ObjHandler::fpToMatrixDouble(struct
FP const *)"
(?fpToMatrixDouble@ObjHandler@@YA?AV?$vector@V?$vector@NV?$allocator@N@s
td@@@std@@V?$allocator@V?$vector@NV?$allocator@N@std@@@std@@@2@@std@@PBU
FP@@@Z) referenced in function _qlInterpolate
volatilities.obj : error LNK2001: unresolved external symbol "class
std::vector<class std::vector<double,class std::allocator<double>
>,class std::allocator<class std::vector<double,class
std::allocator<double> > > > __cdecl ObjHandler::fpToMatrixDouble(struct
FP const *)"
(?fpToMatrixDouble@ObjHandler@@YA?AV?$vector@V?$vector@NV?$allocator@N@s
td@@@std@@V?$allocator@V?$vector@NV?$allocator@N@std@@@std@@@2@@std@@PBU
FP@@@Z)
ohfunctions.obj : error LNK2019: unresolved external symbol "long
__cdecl ObjHandler::operToScalarLong(struct xloper const *,long const
&)" (?operToScalarLong@ObjHandler@@YAJPBUxloper@@ABJ@Z) referenced in
function _ohSetLogFile
ohfunctions.obj : error LNK2019: unresolved external symbol "void
__cdecl ObjHandler::stringToXloper(struct xloper &,class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &,bool const &)"
(?stringToXloper@ObjHandler@@YAXAAUxloper@@ABV?$basic_string@DU?$char_tr
aits@D@std@@V?$allocator@D@2@@std@@AB_N@Z) referenced in function
_ohFieldNames
ohfunctions.obj : error LNK2019: unresolved external symbol "void
__cdecl ObjHandler::scalarAnyToXloper(struct xloper &,class boost::any
const &,bool const &)"
(?scalarAnyToXloper@ObjHandler@@YAXAAUxloper@@ABVany@boost@@AB_N@Z)
referenced in function _ohFieldValue
ohfunctions.obj : error LNK2001: unresolved external symbol "public:
virtual void __thiscall
ObjHandler::ObjectHandlerXL::collectGarbage(void)"
(?collectGarbage@ObjectHandlerXL@ObjHandler@@UAEXXZ)
ohfunctions.obj : error LNK2001: unresolved external symbol "public:
virtual bool const & __thiscall
ObjHandler::ObjectHandlerXL::getGcEnabled(void)"
(?getGcEnabled@ObjectHandlerXL@ObjHandler@@UAEAB_NXZ)
ohfunctions.obj : error LNK2001: unresolved external symbol "public:
virtual void __thiscall ObjHandler::ObjectHandlerXL::setGcEnabled(bool
const &)" (?setGcEnabled@ObjectHandlerXL@ObjHandler@@UAEXAB_N@Z)
ohfunctions.obj : error LNK2001: unresolved external symbol "public:
virtual void __thiscall
ObjHandler::ObjectHandlerXL::deleteAllObjects(void)"
(?deleteAllObjects@ObjectHandlerXL@ObjHandler@@UAEXXZ)
ohfunctions.obj : error LNK2001: unresolved external symbol "public:
virtual void __thiscall ObjHandler::ObjectHandlerXL::deleteObject(class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &)"
(?deleteObject@ObjectHandlerXL@ObjHandler@@UAEXABV?$basic_string@DU?$cha
r_traits@D@std@@V?$allocator@D@2@@std@@@Z)
ohfunctions.obj : error LNK2001: unresolved external symbol "public:
virtual class std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const __thiscall
ObjHandler::ObjectHandlerXL::storeObject(class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &,class boost::shared_ptr<class
ObjHandler::Object> const &)"
(?storeObject@ObjectHandlerXL@ObjHandler@@UAE?BV?$basic_string@DU?$char_
traits@D@std@@V?$allocator@D@2@@std@@ABV34@ABV?$shared_ptr@VObject@ObjHa
ndler@@@boost@@@Z)
ohfunctions.obj : error LNK2019: unresolved external symbol "void
__cdecl ObjHandler::vectorStringToXloper(struct xloper &,class
std::vector<class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >,class
std::allocator<class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > > > const &)"
(?vectorStringToXloper@ObjHandler@@YAXAAUxloper@@ABV?$vector@V?$basic_st
ring@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic
_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@std@@@Z)
referenced in function _ohHandleList
utilities.obj : error LNK2001: unresolved external symbol "void __cdecl
ObjHandler::vectorStringToXloper(struct xloper &,class std::vector<class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >,class std::allocator<class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > > > const &)"
(?vectorStringToXloper@ObjHandler@@YAXAAUxloper@@ABV?$vector@V?$basic_st
ring@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic
_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@std@@@Z)
options.obj : error LNK2019: unresolved external symbol "class
std::vector<long,class std::allocator<long> > __cdecl
ObjHandler::fpToVectorLong(struct FP const *)"
(?fpToVectorLong@ObjHandler@@YA?AV?$vector@JV?$allocator@J@std@@@std@@PB
UFP@@@Z) referenced in function _qlCliquetOption
termstructures.obj : error LNK2001: unresolved external symbol "class
std::vector<long,class std::allocator<long> > __cdecl
ObjHandler::fpToVectorLong(struct FP const *)"
(?fpToVectorLong@ObjHandler@@YA?AV?$vector@JV?$allocator@J@std@@@std@@PB
UFP@@@Z)
volatilities.obj : error LNK2001: unresolved external symbol "class
std::vector<long,class std::allocator<long> > __cdecl
ObjHandler::fpToVectorLong(struct FP const *)"
(?fpToVectorLong@ObjHandler@@YA?AV?$vector@JV?$allocator@J@std@@@std@@PB
UFP@@@Z)
schedule.obj : error LNK2019: unresolved external symbol "bool __cdecl
ObjHandler::operToScalarBool(struct xloper const *,bool const &)"
(?operToScalarBool@ObjHandler@@YA_NPBUxloper@@AB_N@Z) referenced in
function _qlSchedule
termstructures.obj : error LNK2019: unresolved external symbol "class
std::vector<class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >,class
std::allocator<class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > > > __cdecl
ObjHandler::operToVectorString(struct xloper const *)"
(?operToVectorString@ObjHandler@@YA?AV?$vector@V?$basic_string@DU?$char_
traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic_string@DU?$ch
ar_traits@D@std@@V?$allocator@D@2@@std@@@2@@std@@PBUxloper@@@Z)
referenced in function _qlPiecewiseFlatForward
xibor.obj : error LNK2019: unresolved external symbol "class
std::vector<long,class std::allocator<long> > __cdecl
ObjHandler::operToVectorLong(struct xloper const *)"
(?operToVectorLong@ObjHandler@@YA?AV?$vector@JV?$allocator@J@std@@@std@@
PBUxloper@@@Z) referenced in function _qlXibor
xll\QuantLibAddin-vc71-mt-0_3_12.xll : fatal error LNK1120: 20
unresolved externals

Build log was saved at
"file://e:\QuantStudioCVS\QuantLibAddin\Addins\ExcelStatic\build\vc71\Re
leaseMTDLL\BuildLog.htm"
AddinExcelStatic - 47 error(s), 0 warning(s)


---------------------- Done ----------------------

    Build: 1 succeeded, 1 failed, 0 skipped