I have problems using MKL 10.2.4.032 with LabWindows/CVI 8.1.1, so I started with a simple program (that works in VC).
I do fft with the following calls:
length=1000;
ret = DftiCreateDescriptor( &DftiHt, DFTI_DOUBLE, DFTI_REAL, 1, length );
if (!DftiErrorClass (ret, DFTI_NO_ERROR))
{
MessagePopup( "Error", DftiErrorMessage( ret ));
return;
}
ret = DftiCommitDescriptor( DftiHt );
if (!DftiErrorClass(ret, DFTI_NO_ERROR)
{
MessagePopup("Error", DftiErrorMessage( ret ) );
goto FREE_DESCRIPTOR
}
When the program gets to the commit, I get a general protection error. I have linked mkl_core.lib, mkl_intel_c.lib, mkl_sequential.lib and mkl_solver_sequential.lib. I have included mkl_dfti.h and mkl_types.h. The compiler is compatible to VisualC/C++; the default calling convention is set to __cdecl.
Have I forgotten something??