Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!

Help with unresolved external symbols

Akindele__Tunde
Beginner
87 Views

OS: Microsoft Windows [Version 10.0.17763.973]

IDE: Visual Studio 2019

We just upgraded to Intel(R) Compiler 19.0 Update 5 (package 281) from Intel(R) Compiler 16.0 Update 3 (package 207). While building one of our applications involving complex data type, I get the following following linker errors - 

error LNK2019: unresolved external symbol _dfti_create_descriptor_1d referenced in function _modedetection_mp_getmodesatt_
error LNK2019: unresolved external symbol _dfti_set_value_dblval referenced in function _modedetection_mp_getmodesatt_
error LNK2019: unresolved external symbol _dfti_commit_descriptor_external referenced in function _modedetection_mp_getmodesatt_
error LNK2019: unresolved external symbol _dfti_compute_backward_z referenced in function _modedetection_mp_getmodesatt_
error LNK2019: unresolved external symbol _dfti_error_message_external referenced in function _modedetection_mp_getmodesatt_
error LNK2019: unresolved external symbol _dfti_free_descriptor_external referenced in function _modedetection_mp_getmodesatt_
error LNK2019: unresolved external symbol _dgesv_ referenced in function _modedetection_mp_get_par_
error LNK2019: unresolved external symbol _dlasrt_ referenced in function _identcurves_mp_rcurvident_f_
error LNK2019: unresolved external symbol _zggev_ referenced in function _solversh_pml_mp_solvesh_pml_
error LNK2019: unresolved external symbol _zgemm_ referenced in function _solversh_pml_mp_solvesh_pml_
error LNK2019: unresolved external symbol _zdotc_ referenced in function _solversh_pml_mp_solvesh_pml_

 

Does anyone know what linker options need to be set to get these errors resolved/

Thanks a lot

0 Kudos
1 Reply
Akindele__Tunde
Beginner
87 Views

Found the solution: added mkl_rt.lib to the additional dependencies.

Reply