This thread has been exceptionally helpful to me the past 3 days in getting Math.Net and MKL working in Unity, so thank you for that.
I’m fairly new to C# and dlls, but I’ve run into an issue I seem unable to solve regarding this and I’m not sure if it’s my inexperience playing a part. I’ve built the .dll files as specified above and placed them into my plugins folder - everything works perfectly until I transfer my project to another computer.
When trying to run on another computer, the program hits the InitialiseVerify function call for the MKL provider before throwing the exception below:
MathNet.Numerics.Providers.Common.Mkl.MklProvider.Load (Int32 minRevision) (at H:/mathnet-numerics-master/src/Numerics/Providers/Common/Mkl/MklProvider.cs:73)
Rethrow as NotSupportedException: MKL Native Provider not found.
MathNet.Numerics.Providers.Common.Mkl.MklProvider.Load (Int32 minRevision) (at H:/mathnet-numerics-master/src/Numerics/Providers/Common/Mkl/MklProvider.cs:88)
The computer the .dll was compiled on has a H: drive where I was working from, whereas this computer does not - it seems to be referencing that somewhere within the .dll.
I’m unsure if this is me doing something fundamentally wrong when building the .dll.