I am calling some MKL LAPACK functions from a
VS 2005 C++ project, linking with mkl_c_dll.lib
and libguide40.lib (V 10.0.1.015). This works.
Some customers may never use the LAPACK functionality,
so I would like to build the program to run whether
or not the MKL DLL's are found, aborting only if they
can't be found when needed.
I changed the link to /DELAYLOAD the MKL DLLs, after
determining the names by trial and error:
mkl_intel_thread.dll and libguide40.dll.
(Any other MKL DLL's are already being dynamically
loaded on demand,which fits right in with my plans.)
This produced a linker error:
LINK : fatal error LNK1194: cannot delay-load
'mkl_intel_thread.dll' due to import of data symbol
link without /DELAYLOAD:mkl_intel_thread.dll
Is there a way around this?