First of all you should need to include only mkl.h as it includes all the other include files.
Can you create a small example showing the issue in which one routine is called that has a character in the parameter list? We will look at that and try to solve the issue. All of our LAPACK examples are Fortran.
On the other hand, can you call BLAS functions such as dgemm via the cblas interface? If you can then the issue is just how to handle the characters in your program.
Here is the example :
The appropriate headers are included. The first call to lapack routine dgetrf works just fine. The call to dgetrs doesnt work.
Also note that the same piece of code works fine with MS VC ++ 6.0, i.e. both functions dgetrf and dgetrs work fine.
After I copy it to MS VC++.NET (with managed extensions) it doesnt work anymore and crashes at the second function call.
double*a = new double;
a = 4.0000063240007506;
a = 6.0000000000099609;
a = 10.000015811350039;
a = 2.0000000000033205;
intm = 2, n = 2;
intlda = 2;
int*ipiv = new int;
double*b = new double;
b = 56.0;
b = 13.0;
chartrans = 'N'; int ldb = 2, nrhs = 1;
DGETRS(&trans, &n,&nrhs, a, &lda,ipiv, b, &ldb,&info);return(0);