Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
6981 Discussions

MKL 10.2.4.032 fourier transform functions with LabWindows/CVI 8.1

newbirch
Beginner
311 Views

I have problems using MKL with LabWindows/CVI, so I started with a simple program.
Ido 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 programgets 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??

0 Kudos
2 Replies
mecej4
Honored Contributor III
311 Views
My suggestion would be to try to run the example directly, using VC. If that works, but using LabWindows causes failure, you would have to seek support from NI. If the VC example also fails, fix the example code and retry.
0 Kudos
newbirch
Beginner
311 Views
My example works on VC. I've tried it, before asking for help.
But thanks anyway, now I'm looking for help from NI
0 Kudos
Reply