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

Confused About MKL Linking Warnings/Errors w/Visual Studio 2015

$
0
0

Hi, I'm updating my static library from a very old version of MKL (circa ~2010) to MKL version 2019 Update 3.  I'm using Visual Studio 2015.  The only changes I made to my existing codebase was to include the new headers, change a call in my code from MKL_FreeBuffers() to mkl_free_buffers() and link to mkl_intel_c.lib, mkl_sequential.lib and mkl_core.lib as told to do by the Intel Math Kernel Library Link Line Advisor.  However, when building, I get a couple hundred warnings like this:

mkl_core.lib(_avx2_set_codelet_cb.obj) : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library

But, if I no longer link in mkl_core.lib, I'll get 468 unresolved external symbols errors like this:

error LNK2001: unresolved external symbol _mkl_serv_inspector_loaded

Can anyone explain this?  Clearly it seems mkl_core.lib is needed, so I'm not sure why I'm getting those warnings...


Viewing all articles
Browse latest Browse all 3005

Trending Articles



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