Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.

MKL and MinGW

cleter
Beginner
1,419 Views
I tried to use the DFT examples in Dev-Cpp. Some link errors appears:
Code:
  .drectve `-defaultlib:uuid.lib ' unrecognized 

I have include the following libraries:
"C:/Program Files/Intel/MKL/8.1/ia32/lib/libguide40.lib"
"C:/Program Files/Intel/MKL/8.1/ia32/lib/mkl_s_dll.lib".

Could someone help me with this please??


0 Kudos
4 Replies
TimP
Honored Contributor III
1,419 Views
I think you're going off in uncharted territory. I can't guess the details you have omitted, but I wonder what led you to try mkl_s_dll.lib, which implements CVF specific linkage.
0 Kudos
cleter
Beginner
1,419 Views
I have used this lib because I have read that it's the best for my processor. But we have the same problem with mkl_c_dll.lib
0 Kudos
Todd_R_Intel
Employee
1,419 Views
mkl_c_dll.lib is the cdecl interface whereas mkl_s_dll.lib is the Compaq Visual Fortran default interface. This wouldn't have much to do with processor.
I don't recognize your error message as being related to the Intel MKL libraries.
-Todd
0 Kudos
chenh
Beginner
1,419 Views
mkl_c_dll.lib is a MSVC-format library, but MinGW required a different format library -- they are not compatatible. Please refer to http://www.mingw.org/mingwfaq.shtml#faq-msvcdll.

However, the above link still fail to solve problem. The first solution mentioned in FAQ resulted in the following message:

C:/Progra~1/Intel/MKL/8.1.1/ia32/lib/mkl_c_dll.lib(_serv/iface/load_dll.obj):loa
d_dll_iface.c:(.text[_mkl_cfg_file]+0xe): undefined reference to `_chkstk'.

The second way in FAQ bascially doesn't work. No .a file was generated.

0 Kudos
Reply