<?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 Re: How correctly link to VML from VC++.NET console app in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-correctly-link-to-VML-from-VC-NET-console-app/m-p/875365#M8865</link>
    <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;P&gt;&lt;BR /&gt;Audrius,&lt;/P&gt;
&lt;P&gt;1) You need to link additional user32.lib library to your project&lt;/P&gt;
&lt;P&gt;2) Add path to mkl_vml_*.dll DLLs to your PATH environment variable or copy all these DLLs to folder with your application&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Andrey&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 03 Oct 2008 05:23:39 GMT</pubDate>
    <dc:creator>Andrey_G_Intel2</dc:creator>
    <dc:date>2008-10-03T05:23:39Z</dc:date>
    <item>
      <title>How correctly link to VML from VC++.NET console app</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-correctly-link-to-VML-from-VC-NET-console-app/m-p/875364#M8864</link>
      <description>&lt;P&gt;I've read userguide.pdf, but still I can't resolve such situation:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;BR /&gt;1. At first I create C++ Win32 console app. &lt;BR /&gt;2. I add #include "mkl_vml_functions.h" to my main cpp file, and a simple code:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;double d1 = 0; d2;&lt;BR /&gt;vdCos(1, &amp;amp;d1, &amp;amp;d2);&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;also I include these libs Linker-&amp;gt;Input-&amp;gt;Additional dependencies: mkl_intel_c.lib, mkl_core.lib, libiomp5md.lib, mkl_intel_thread.lib. &lt;BR /&gt;3. I also copy required files to project directory: libguide40.dll, libiomp5md.dll, mkl_intel_thread.dll. Somehow itdidn't find in ..\mkl\..\ia32\bin.&lt;BR /&gt;4. Everything works fine!&lt;BR /&gt;5. Doing the same steps in C++.NET console app, I get an error:LNK2019: unresolved external symbol __imp__MessageBoxA@16 referenced in function __vmlCreateThreadLocalData mkl_core.lib.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;One more thing:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;BR /&gt;I've tried to link dynamically: I've changed mkl_intel_c.lib, mkl_core.lib, libiomp5md.lib, mkl_intel_thread.lib TO: mkl_intel_c_dll.lib, mkl_core_dll.lib, libiomp5md.lib, mkl_intel_thread_dll.lib; but it didn't work for me: console just unexpectedly closes when calling vdCos(...); &amp;lt;&lt;WIN32 console="" app=""&gt;&amp;gt;&lt;/WIN32&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;What's wrong?&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Thanks,&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Audrius Zaukevicius&lt;/P&gt;</description>
      <pubDate>Thu, 02 Oct 2008 13:54:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-correctly-link-to-VML-from-VC-NET-console-app/m-p/875364#M8864</guid>
      <dc:creator>audrius</dc:creator>
      <dc:date>2008-10-02T13:54:57Z</dc:date>
    </item>
    <item>
      <title>Re: How correctly link to VML from VC++.NET console app</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-correctly-link-to-VML-from-VC-NET-console-app/m-p/875365#M8865</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;P&gt;&lt;BR /&gt;Audrius,&lt;/P&gt;
&lt;P&gt;1) You need to link additional user32.lib library to your project&lt;/P&gt;
&lt;P&gt;2) Add path to mkl_vml_*.dll DLLs to your PATH environment variable or copy all these DLLs to folder with your application&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Andrey&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Oct 2008 05:23:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-correctly-link-to-VML-from-VC-NET-console-app/m-p/875365#M8865</guid>
      <dc:creator>Andrey_G_Intel2</dc:creator>
      <dc:date>2008-10-03T05:23:39Z</dc:date>
    </item>
    <item>
      <title>Re: How correctly link to VML from VC++.NET console app</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-correctly-link-to-VML-from-VC-NET-console-app/m-p/875366#M8866</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;P&gt;&lt;BR /&gt;Thank you Andrey,&lt;/P&gt;
&lt;P&gt;itdid work out.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Audrius Zaukevicius&lt;/P&gt;</description>
      <pubDate>Fri, 03 Oct 2008 10:13:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-correctly-link-to-VML-from-VC-NET-console-app/m-p/875366#M8866</guid>
      <dc:creator>audrius</dc:creator>
      <dc:date>2008-10-03T10:13:02Z</dc:date>
    </item>
  </channel>
</rss>

