필터 지우기
필터 지우기

Fortran mex function: error LNK2019: unresolved external symbol (dgesv)

조회 수: 2 (최근 30일)
Rick
Rick 2016년 5월 10일
댓글: Adithya Addanki 2016년 5월 26일
I can't seem to resolve this. I am using 2015b and trying to use the INTEL precompiled library. I successfully compiled and ran this in VisualStudio. And these are the 3 libraries it showed me it used to link. So I copied them to my working directory in matlab. Here is my mex command:
mex call_lapack.f -lmkl_core_dll.lib -lmkl_intel_c_dll.lib -lmkl_sequential_dll.lib
And I get the unresolved function for dgesv #2019 when it goes to link it.
What can I do ??? TIA for any help....Rick
  댓글 수: 1
Adithya Addanki
Adithya Addanki 2016년 5월 26일
Hi Rick,
As you might have seen this happens in the linking phase. What is the exact output with "-v" flag in the mex command. This may give some more information as to why it is failing to see those linked libraries.
Thank you,
Adithya

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Write C Functions Callable from MATLAB (MEX Files)에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by