I am using MKL in a C# program. I previously was using the 32-bit dlls but have changed to 64-bit and now my application will not run. I need assistance in setting up Visual Studio to correctly link and build so that the application can be run on a PC with no MKL installation. This software is built via a central server for distribution. I need to use the VS compiler as this is a highly Microsoft-heavy program, which is how it was done up until now.
I've read through a lot of the articles and forums looking for the correct method of setting this up. I have version 10.3.8 I've identified the dlls that I need and have them in the same directory as my executable as well as added to the project. I created a wrapper project for the MKL functions that I needed and created a custom dll for them. That dll is included as a reference in the project. It compiles successfully but when run, it crashes when a call is made to an MKL function. The crash indicates that it cannot find the file mkl_rt.dll. The project includes mkl_rt.dll, and it's located in the same directory as the executable. I've also tried putting the dll's into the PATH variable on the PC.
I only need BLAS, VSL and FFTs.
Please assist with clear instructions on how to properly set VS up to get this back into a production build. Thank you.