- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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:
Error 1 error C3861: 'vdSin': identifier not found
Here's my code:
int n; //Number of element
double* 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
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Theorder of includes had an influence:
The#include "mkl_vml.h" must be after the#include "stdafx.h"
Then, add the proper library as dependencies.

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