serine
07-25-2006, 09:38 AM
Has anyone been able to implement the IRR code. I am having some trouble getting it to work.
I receive the error messages:
+++++++++++++++++++++++++++++++++++++++++
cdomodel error LNK2019: unresolved external symbol "double __cdecl cash_flow_pv_discrete(class std::vector<double,class std::allocator<double> > const &,class std::vector<double,class std::allocator<double> > const &,double const &)" (?cash_flow_pv_discrete@@YANABV?$vector@NV?$alloca tor@N@std@@@std@@0ABN@Z) referenced in function "double __cdecl cash_flow_irr_discrete(class std::vector<double,class std::allocator<double> > const &,class std::vector<double,class std::allocator<double> > const &)" (?cash_flow_irr_discrete@@YANABV?$vector@NV?$alloc ator@N@std@@@std@@0@Z)
cdomodel fatal error LNK1120: 1 unresolved externals
+++++++++++++++++++++++++++++++++++++++
Can anyone assist to figure out what needs to be done to correct the errors. Thanks
I receive the error messages:
+++++++++++++++++++++++++++++++++++++++++
cdomodel error LNK2019: unresolved external symbol "double __cdecl cash_flow_pv_discrete(class std::vector<double,class std::allocator<double> > const &,class std::vector<double,class std::allocator<double> > const &,double const &)" (?cash_flow_pv_discrete@@YANABV?$vector@NV?$alloca tor@N@std@@@std@@0ABN@Z) referenced in function "double __cdecl cash_flow_irr_discrete(class std::vector<double,class std::allocator<double> > const &,class std::vector<double,class std::allocator<double> > const &)" (?cash_flow_irr_discrete@@YANABV?$vector@NV?$alloc ator@N@std@@@std@@0@Z)
cdomodel fatal error LNK1120: 1 unresolved externals
+++++++++++++++++++++++++++++++++++++++
Can anyone assist to figure out what needs to be done to correct the errors. Thanks