Quantcast
Channel: Intel® Software - Intel® oneAPI Math Kernel Library & Intel® Math Kernel Library
Viewing all articles
Browse latest Browse all 3005

Error when linking with MKL 11.0 and VSC++ 2010

$
0
0

I am trying to link my C++ program with MKL11, but the linking fails with the following error:

2>transforms.obj : error LNK2019: unresolved external symbol DftiComputeForward referenced in function "public: void __cdecl itpp::Transform<struct itpp::FFTCplx_Traits>::compute_transform(class itpp::Vec<class std::complex<double> > const &,class itpp::Vec<class std::complex<double> > &)" (?compute_transform@?$Transform@UFFTCplx_Traits@itpp@@@itpp@@QEAAXAEBV?$Vec@V?$complex@N@std@@@2@AEAV32@@Z)
2>transforms.obj : error LNK2019: unresolved external symbol DftiCommitDescriptor referenced in function "public: void __cdecl itpp::Transform<struct itpp::FFTCplx_Traits>::compute_transform(class itpp::Vec<class std::complex<double> > const &,class itpp::Vec<class std::complex<double> > &)" (?compute_transform@?$Transform@UFFTCplx_Traits@itpp@@@itpp@@QEAAXAEBV?$Vec@V?$complex@N@std@@@2@AEAV32@@Z)
2>transforms.obj : error LNK2019: unresolved external symbol DftiSetValue referenced in function "public: void __cdecl itpp::Transform<struct itpp::FFTCplx_Traits>::compute_transform(class itpp::Vec<class std::complex<double> > const &,class itpp::Vec<class std::complex<double> > &)" (?compute_transform@?$Transform@UFFTCplx_Traits@itpp@@@itpp@@QEAAXAEBV?$Vec@V?$complex@N@std@@@2@AEAV32@@Z)
2>transforms.obj : error LNK2019: unresolved external symbol DftiCreateDescriptor referenced in function "public: void __cdecl itpp::Transform<struct itpp::FFTCplx_Traits>::compute_transform(class itpp::Vec<class std::complex<double> > const &,class itpp::Vec<class std::complex<double> > &)" (?compute_transform@?$Transform@UFFTCplx_Traits@itpp@@@itpp@@QEAAXAEBV?$Vec@V?$complex@N@std@@@2@AEAV32@@Z)
2>transforms.obj : error LNK2019: unresolved external symbol DftiFreeDescriptor referenced in function "void __cdecl itpp::release_descriptor(struct mkl::DFTI_DESCRIPTOR *)" (?release_descriptor@itpp@@YAXPEAUDFTI_DESCRIPTOR@mkl@@@Z)
2>transforms.obj : error LNK2019: unresolved external symbol DftiComputeBackward referenced in function "public: void __cdecl itpp::Transform<struct itpp::IFFTCplx_Traits>::compute_transform(class itpp::Vec<class std::complex<double> > const &,class itpp::Vec<class std::complex<double> > &)" (?compute_transform@?$Transform@UIFFTCplx_Traits@itpp@@@itpp@@QEAAXAEBV?$Vec@V?$complex@N@std@@@2@AEAV32@@Z)
2>transforms.obj : error LNK2019: unresolved external symbol MKL_Domain_Set_Num_Threads referenced in function "void __cdecl itpp::init_fft_library<2>(void)" (??$init_fft_library@$01

These symbols are declared in <mkl_dfti.h> and <mkl_service.h> header files, but they are not defined in any mkl library (I am linking with

mkl_cdft_core_dll.lib
mkl_core_dll.lib
mkl_intel_thread_dll.lib

)

thanks

Bogdan


Viewing all articles
Browse latest Browse all 3005

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>