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

LNK2005 error mkl visual studio

Lin_
Beginner
625 Views

When I build with release mode in my project I get those message

error LNK2005: mkl_serv_set_xerbla_interface already defined in mkl_sequtential_dll.lib(mkl_sequential.2.dll)

error LNK2005: mkl_serv_set_default_xerbla already defined in mkl_sequtential_dll.lib(mkl_sequential.2.dll)

fatal error LNK1169:one or more multiply defined symbols found

because when I build with debug mode , it can build successfully

how can i fix this problem?

I only use Direct Sparse Solver in my project 

and I build example dss_sym.c both in debug and release mode are successful

 

0 Kudos
3 Replies
PraneethA_Intel
Moderator
571 Views

Hi,

 

Thanks for posting in Intel communities. 

Could you please give us the following details so that we could look into your issue?

  1. Environment Details
  2. Sample Reproducer 
  3. Steps to reproduce


Thanks and Regards,

Praneeth Achanta


0 Kudos
PraneethA_Intel
Moderator
529 Views

Hi,


We have not heard back from you, could you please provide an update on your issue?


Thanks and Regards,

Praneeth Achanta


0 Kudos
PraneethA_Intel
Moderator
508 Views

Hi,


We have not heard back from you, could you please provide the information requested above?


Thanks and Regards,

Praneeth Achanta


0 Kudos
Reply