I'm porting a c++ application to x64. MSVS 2017 / C++ on Win7/64bit machine.
I've set project settings to generate code multithreaded / static linking.
However the spplication won't even start. It looks like the app is loading (and unloading) the 32bit libiomp5md.dll before it exits with code (0xc000007b).
How can I assure that the static 64bit-libs are linked and no other (possibly 32bit) DLLs get loaded?
thanks for any hints!
>>How can I assure that the static 64bit-libs are linked and no other (possibly 32bit) DLLs get loaded?
How did you link your case? Check first the MKL libraries you linked with. It should be looks like as follows: mkl_intel_lp64.lib mkl_intel_thread.lib mkl_core.lib libiomp5md.lib
This is windows, therefore you may just put libiomp5md.dll ( 64 bit) to the directory where your exe file is located.