<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic MKL error C3861: 'vdSin': identifier not found in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-error-C3861-vdSin-identifier-not-found/m-p/874361#M8777</link>
    <description>&lt;P&gt;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:&lt;/P&gt;
&lt;P&gt;Error 1 error C3861: 'vdSin': identifier not found &lt;/P&gt;
&lt;P&gt;Here's my code:&lt;/P&gt;
&lt;P&gt;int n; //Number of element&lt;BR /&gt;double* angle;&lt;BR /&gt;double* result;&lt;/P&gt;
&lt;P&gt;printf("***** Test Intel Sine Function *****

");&lt;/P&gt;
&lt;P&gt;*angle = 23;&lt;BR /&gt;vdSin(n,angle,result);&lt;BR /&gt;printf("Sine result of sin(%d) : %d

",*angle,*result);&lt;/P&gt;
&lt;P&gt;I think I'm not including the proper lib file. How do I know which function goes with which library file?&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
    <pubDate>Thu, 12 Jun 2008 15:40:14 GMT</pubDate>
    <dc:creator>postaquestion</dc:creator>
    <dc:date>2008-06-12T15:40:14Z</dc:date>
    <item>
      <title>MKL error C3861: 'vdSin': identifier not found</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-error-C3861-vdSin-identifier-not-found/m-p/874361#M8777</link>
      <description>&lt;P&gt;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:&lt;/P&gt;
&lt;P&gt;Error 1 error C3861: 'vdSin': identifier not found &lt;/P&gt;
&lt;P&gt;Here's my code:&lt;/P&gt;
&lt;P&gt;int n; //Number of element&lt;BR /&gt;double* angle;&lt;BR /&gt;double* result;&lt;/P&gt;
&lt;P&gt;printf("***** Test Intel Sine Function *****

");&lt;/P&gt;
&lt;P&gt;*angle = 23;&lt;BR /&gt;vdSin(n,angle,result);&lt;BR /&gt;printf("Sine result of sin(%d) : %d

",*angle,*result);&lt;/P&gt;
&lt;P&gt;I think I'm not including the proper lib file. How do I know which function goes with which library file?&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jun 2008 15:40:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-error-C3861-vdSin-identifier-not-found/m-p/874361#M8777</guid>
      <dc:creator>postaquestion</dc:creator>
      <dc:date>2008-06-12T15:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: MKL error C3861: 'vdSin': identifier not found</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-error-C3861-vdSin-identifier-not-found/m-p/874362#M8778</link>
      <description>&lt;P&gt;Theorder of includes had an influence:&lt;/P&gt;
&lt;P&gt;The&lt;FONT color="#0000ff" size="2"&gt;#include&lt;/FONT&gt;&lt;FONT size="2"&gt; &lt;/FONT&gt;&lt;FONT color="#a31515" size="2"&gt;"mkl_vml.h" &lt;FONT color="#000000"&gt;must be after the&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#a31515" size="2"&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" size="2"&gt;#include&lt;/FONT&gt;&lt;FONT size="2"&gt; &lt;/FONT&gt;&lt;FONT color="#a31515" size="2"&gt;"stdafx.h"&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;&lt;FONT color="#000000"&gt;&lt;FONT color="#a31515" size="2"&gt;&lt;FONT color="#000000"&gt;Then, add the proper library as dependencies.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;FONT color="#a31515"&gt;&lt;/FONT&gt;</description>
      <pubDate>Thu, 12 Jun 2008 18:38:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-error-C3861-vdSin-identifier-not-found/m-p/874362#M8778</guid>
      <dc:creator>dc-david</dc:creator>
      <dc:date>2008-06-12T18:38:16Z</dc:date>
    </item>
  </channel>
</rss>

