- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm writing a simple program using Visual Sudio 2005 C++ and the MKL but I'm simply unable to compile it. My program is using the sine function but the compiler gives me the error:
Error1error C3861: 'vdSin': identifier not found
Here's my code:
int
n; //Number of elementdouble* angle;
double* result;
printf("***** Test Intel Sine Function ***** ");
*angle = 23;
vdSin(n,angle,result);
printf("Sine result of sin(%d) : %d ",*angle,*result);
I think I'm not including the proper lib file. How do I know which function goes with which library file?
Thank you.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ok, I found the error.
My order of includes had an influence:
Before it was#include "mkl_vml.h"
#include "stdafx.h"
And now it is the opposite, #include "stdafx.h" first.
Then I add the proper library as dependencies.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page