How to use LAPACK.dll

Open discussion regarding features, bugs, issues, vendors, etc.

How to use LAPACK.dll

Postby scx » Mon Aug 08, 2005 4:45 pm

Hi there.

I'm trying to use LAPACK.dll under Windows.

I have copied LAPACK.dll and BLAS.dll to windows/system32

My source code looks like this:

Code: Select all
typedef void (*dgeevFUN)(char*, char*, int*, double*,
                        int*, double*, double*, double*,
                        int*, double*, int*,
                        double*, int*, int*);


  hMod = LoadLibrary("LAPACK.dll");
   if(hMod == NULL)
            cout<<"Error loading win32 dll LAPACK.dll"<<endl;
            return 1;
  dgeevfun = (dgeevFUN)GetProcAddress(hMod, "dgees");
  if (dgeevfun == NULL)
    cout << "error: " << GetLastError() <<endl;
    return 1;

when I run my probram I get
error: 127

Which means that dgees is not found in dll library.

All help will be appreciated.
Posts: 1
Joined: Mon Aug 08, 2005 4:35 pm

Return to User Discussion

Who is online

Users browsing this forum: No registered users and 0 guests