<?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 Visual Studio Static Linking in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Visual-Studio-Static-Linking/m-p/830917#M5539</link>
    <description>Beautiful, thanks.</description>
    <pubDate>Tue, 17 Jan 2012 15:35:07 GMT</pubDate>
    <dc:creator>franknatoli</dc:creator>
    <dc:date>2012-01-17T15:35:07Z</dc:date>
    <item>
      <title>Visual Studio Static Linking</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Visual-Studio-Static-Linking/m-p/830911#M5533</link>
      <description>Would like to avoid having to bundle any DLLs, whether Intel or Microsoft, with any product that uses IPP and/or UMC. To avoid needing to supply Visual Studio redistributables, it is of course necessary to tweak every UMC related Makefile to use "/MT" not "/MD" and that I've done. And while audio-video-codecs Makefiles already produce full not stub LIBs as delivered from Intel, image-codecs do not, and it was necessary to further tweak all image-codecs Makefiles to create full not stub LIBs in order to avoid a dozen new DLLs.&lt;BR /&gt;&lt;BR /&gt;Now the question is: is it possible to avoid having to package the IPP DLLs? In the process of doing what I describe above, Visual Studio started requesting various ipp*_l.lib files rather than the non-dash-el files. The dash-el files are typically ten times the size of the non-dash-el files and I presume they are statically linked and NOT requiring corresponding DLLs. But I can't convince Visual Studio to use only dash-el files and thus avoid the DLLs.&lt;BR /&gt;&lt;BR /&gt;Is there a way to do this? Remove all references or necessities to IPP DLLs? Thanks.</description>
      <pubDate>Fri, 13 Jan 2012 14:27:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Visual-Studio-Static-Linking/m-p/830911#M5533</guid>
      <dc:creator>franknatoli</dc:creator>
      <dc:date>2012-01-13T14:27:48Z</dc:date>
    </item>
    <item>
      <title>Visual Studio Static Linking</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Visual-Studio-Static-Linking/m-p/830912#M5534</link>
      <description>&lt;DIV id="tiny_quote"&gt;&lt;DIV style="margin-left: 2px; margin-right: 2px;"&gt;Quoting &lt;A jquery1326573210390="55" rel="/en-us/services/profile/quick_profile.php?is_paid=&amp;amp;user_id=295605" href="https://community.intel.com/en-us/profile/295605/" class="basic"&gt;franknatoli&lt;/A&gt;&lt;/DIV&gt;&lt;DIV style="background-color: #e5e5e5; margin-left: 2px; margin-right: 2px; border: 1px inset; padding: 5px;"&gt;&lt;I&gt;Would like to avoid having to bundle any DLLs, whether Intel or Microsoft, with any product that uses IPP and/or UMC.&lt;BR /&gt;...&lt;BR /&gt;Is there a way to do this? Remove all references or necessities to IPP DLLs? Thanks.&lt;/I&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN style="text-decoration: underline;"&gt;You need to use astatic linking for &lt;STRONG&gt;ALL&lt;/STRONG&gt; 3rd party DLLs&lt;/SPAN&gt;. That is, fora DLLwithCRT-functions, possibly MFC&lt;BR /&gt;DLLs ( if it is used ), IPP DLLs, etc.&lt;BR /&gt;&lt;BR /&gt;Also, try to use MS &lt;STRONG&gt;Depends&lt;/STRONG&gt; utility to evaluate what your current list of 3rd party DLLs is.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Sergey&lt;/P&gt;</description>
      <pubDate>Sat, 14 Jan 2012 20:39:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Visual-Studio-Static-Linking/m-p/830912#M5534</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2012-01-14T20:39:23Z</dc:date>
    </item>
    <item>
      <title>Visual Studio Static Linking</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Visual-Studio-Static-Linking/m-p/830913#M5535</link>
      <description>&lt;DIV id="tiny_quote"&gt;&lt;DIV style="margin-left: 2px; margin-right: 2px;"&gt;Quoting &lt;A jquery1326581066453="55" rel="/en-us/services/profile/quick_profile.php?is_paid=&amp;amp;user_id=295605" href="https://community.intel.com/en-us/profile/295605/" class="basic"&gt;franknatoli&lt;/A&gt;&lt;/DIV&gt;&lt;DIV style="background-color: #e5e5e5; margin-left: 2px; margin-right: 2px; border: 1px inset; padding: 5px;"&gt;&lt;I&gt;Is there a way to do this? Remove all references or necessities to IPP DLLs? Thanks.&lt;/I&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;Take into account two more cases:&lt;BR /&gt;&lt;BR /&gt; - Delay Loaded DLLs&lt;BR /&gt; - DLLs loaded with '&lt;STRONG&gt;LoadLibrary&lt;/STRONG&gt;' or '&lt;STRONG&gt;LoadLibraryEx&lt;/STRONG&gt;' Win32 API functions ( it isthe "worst" case )&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Sergey&lt;/P&gt;</description>
      <pubDate>Sat, 14 Jan 2012 22:47:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Visual-Studio-Static-Linking/m-p/830913#M5535</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2012-01-14T22:47:23Z</dc:date>
    </item>
    <item>
      <title>Visual Studio Static Linking</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Visual-Studio-Static-Linking/m-p/830914#M5536</link>
      <description>Sergey: I am reasonably certain that I have thoroughly removed all references to Microsoft related DLLs. My problem is hidden references to Intel IPP [not UMC] DLLs. For example, I have one VS2010 project that needs to link with ippac.lib [the stub library that effectively links to the complementary DLL]. If I remove ippac.lib from the link instructions, and substitute ippac_l.lib [the full library], the VS2010 linker demands ippac.lib. This cannot be anything related to Microsoft. It must be something in the audio-video-codecs that demands ippac.lib not ippac_l.lib. But how?</description>
      <pubDate>Mon, 16 Jan 2012 15:08:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Visual-Studio-Static-Linking/m-p/830914#M5536</guid>
      <dc:creator>franknatoli</dc:creator>
      <dc:date>2012-01-16T15:08:09Z</dc:date>
    </item>
    <item>
      <title>Visual Studio Static Linking</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Visual-Studio-Static-Linking/m-p/830915#M5537</link>
      <description>&lt;DIV id="tiny_quote"&gt;&lt;DIV style="margin-left: 2px; margin-right: 2px;"&gt;Quoting &lt;A jquery1326757427750="55" rel="/en-us/services/profile/quick_profile.php?is_paid=&amp;amp;user_id=295605" href="https://community.intel.com/en-us/profile/295605/" class="basic"&gt;franknatoli&lt;/A&gt;&lt;/DIV&gt;&lt;DIV style="background-color: #e5e5e5; margin-left: 2px; margin-right: 2px; border: 1px inset; padding: 5px;"&gt;&lt;I&gt;...&lt;BR /&gt;If I remove ippac.lib from the link instructions, and substitute ippac_l.lib [the full library], the VS2010 linker demands ippac.lib. This cannot be anything related to Microsoft. &lt;STRONG&gt;&lt;SPAN style="text-decoration: underline;"&gt;It must be something&lt;/SPAN&gt;&lt;/STRONG&gt; in the audio-video-codecs &lt;STRONG&gt;&lt;SPAN style="text-decoration: underline;"&gt;that demands ippac.lib&lt;/SPAN&gt;&lt;/STRONG&gt; not ippac_l.lib. But how?&lt;BR /&gt;...&lt;BR /&gt;&lt;/I&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;Try to search for:&lt;BR /&gt;&lt;BR /&gt; &lt;STRONG&gt;#pragma comment ( lib, "&lt;SOMEPATH&gt;\ippac.lib" )&lt;/SOMEPATH&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;inthesourcefiles ( *.h, *.cpp, etc ).&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jan 2012 23:53:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Visual-Studio-Static-Linking/m-p/830915#M5537</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2012-01-16T23:53:32Z</dc:date>
    </item>
    <item>
      <title>Visual Studio Static Linking</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Visual-Studio-Static-Linking/m-p/830916#M5538</link>
      <description>Try to compile your project with "_IPP_SEQUENTIAL_STATIC" or "_IPP_PARALLEL_STATIC" macros defined. These definitions must put proper directives into object files. There will be no need to update linker input files.&lt;DIV&gt;&lt;PRE&gt;[cpp]#if !defined( _IPP_NO_DEFAULT_LIB )
  #if defined( _IPP_PARALLEL_DYNAMIC )
    #pragma comment( lib, "ippac" )
    #pragma comment( lib, "ippcore" )
  #elif defined( _IPP_PARALLEL_STATIC )
    #pragma comment( lib, "ippac_t" )
    #pragma comment( lib, "ippdc_t" )
    #pragma comment( lib, "ipps_t" )
    #pragma comment( lib, "ippcore_t" )
  #elif defined( _IPP_SEQUENTIAL_STATIC )
    #pragma comment( lib, "ippac_l" )
    #pragma comment( lib, "ippdc_l" )
    #pragma comment( lib, "ipps_l" )
    #pragma comment( lib, "ippcore_l" )
  #endif
#endif[/cpp]&lt;/PRE&gt; &lt;/DIV&gt;</description>
      <pubDate>Tue, 17 Jan 2012 10:58:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Visual-Studio-Static-Linking/m-p/830916#M5538</guid>
      <dc:creator>Sergey_K_Intel</dc:creator>
      <dc:date>2012-01-17T10:58:55Z</dc:date>
    </item>
    <item>
      <title>Visual Studio Static Linking</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Visual-Studio-Static-Linking/m-p/830917#M5539</link>
      <description>Beautiful, thanks.</description>
      <pubDate>Tue, 17 Jan 2012 15:35:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Visual-Studio-Static-Linking/m-p/830917#M5539</guid>
      <dc:creator>franknatoli</dc:creator>
      <dc:date>2012-01-17T15:35:07Z</dc:date>
    </item>
  </channel>
</rss>

