I have successfully compiled itpp-3-10-12 with the release output itpp.lib. It seems that all examples in the tutorial src works well except "mimoconv". When I build a project of "mimoconv", there are three errors as follows:
1)error LNK2005: "class itpp::Mat<class std::complex<double> > const __cdecl itpp::operator*<class std::complex<double> >(class itpp::Mat<class std::complex<double> > const &,class itpp::Mat<class std::complex<double> > const &)" (??$?DV?$complex@N@std@@@itpp@@YA?BV?$Mat@V?$complex@N@std@@@0@ABV10@0@Z) already defined in mimoconv.obj itpp.lib
2)error LNK2005: "class itpp::Vec<class std::complex<double> > const __cdecl itpp::operator*<class std::complex<double> >(class itpp::Mat<class std::complex<double> > const &,class itpp::Vec<class std::complex<double> > const &)" (??$?DV?$complex@N@std@@@itpp@@YA?BV?$Vec@V?$complex@N@std@@@0@ABV?$Mat@V?$complex@N@std@@@0@ABV10@@Z) already defined in mimoconv.obj itpp.lib
3)fatal error LNK1169:
Why does this happen?
my develop platform is winxp+vs2005+intel compiler 10.0+intel mkl 8.1
Log in to post a comment.
I have successfully compiled itpp-3-10-12 with the release output itpp.lib.
It seems that all examples in the tutorial src works well except "mimoconv".
When I build a project of "mimoconv", there are three errors as follows:
1)error LNK2005: "class itpp::Mat<class std::complex<double> > const __cdecl itpp::operator*<class std::complex<double> >(class itpp::Mat<class std::complex<double> > const &,class itpp::Mat<class std::complex<double> > const &)" (??$?DV?$complex@N@std@@@itpp@@YA?BV?$Mat@V?$complex@N@std@@@0@ABV10@0@Z) already defined in mimoconv.obj itpp.lib
2)error LNK2005: "class itpp::Vec<class std::complex<double> > const __cdecl itpp::operator*<class std::complex<double> >(class itpp::Mat<class std::complex<double> > const &,class itpp::Vec<class std::complex<double> > const &)" (??$?DV?$complex@N@std@@@itpp@@YA?BV?$Vec@V?$complex@N@std@@@0@ABV?$Mat@V?$complex@N@std@@@0@ABV10@@Z) already defined in mimoconv.obj itpp.lib
3)fatal error LNK1169:
Why does this happen?
my develop platform is winxp+vs2005+intel compiler 10.0+intel mkl 8.1