<?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: Linking Error w/ Static Library in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Linking-Error-w-Static-Library/m-p/943223#M17900</link>
    <description>&lt;P&gt;Hi Josh,&lt;/P&gt;
&lt;P&gt;it seems for me that in your application you use CRT in DLL, but IJL was build to use CRT as static library. Can you statically link CRT to your application?&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt; Vladimir&lt;/P&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Mon, 27 Feb 2006 22:54:14 GMT</pubDate>
    <dc:creator>Vladimir_Dudnik</dc:creator>
    <dc:date>2006-02-27T22:54:14Z</dc:date>
    <item>
      <title>Linking Error w/ Static Library</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Linking-Error-w-Static-Library/m-p/943222#M17899</link>
      <description>When I'm attempting to use the IJL implementation of the IPP and using static linking, I receive the following compiler errors:&lt;BR /&gt;&lt;BR /&gt;1&amp;gt;MSVCRT.lib(MSVCR80.dll) : error LNK2005: _sprintf already defined in libcmtd.lib(sprintf.obj)&lt;BR /&gt;1&amp;gt;MSVCRT.lib(ti_inst.obj) : error LNK2005: "private: __thiscall type_info::type_info(class type_info const &amp;amp;)" (??0type_info@@AAE@ABV0@@Z) already defined in libcmtd.lib(typinfo.obj)&lt;BR /&gt;1&amp;gt;MSVCRT.lib(ti_inst.obj) : error LNK2005: "private: class type_info &amp;amp; __thiscall type_info::operator=(class type_info const &amp;amp;)" (??4type_info@@AAEAAV0@ABV0@@Z) already defined in libcmtd.lib(typinfo.obj)&lt;BR /&gt;1&amp;gt;LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library&lt;BR /&gt;1&amp;gt;DebugImageMerge.exe : fatal error LNK1169: one or more multiply defined symbols found&lt;BR /&gt;&lt;BR /&gt;Ignoring the MSVCRT library removes all of these, and gives me:&lt;BR /&gt;1&amp;gt;ijl20l.lib(frame_encoder.obj) : warning LNK4217: locally defined symbol _sprintf imported in function _Encode_Frame_Init&lt;BR /&gt;&lt;BR /&gt;We shoot for 0 warnings in our programs, so I'd like to know what I'm doing wrong and fix the remaining warning that it gives. Here's my current link order:&lt;BR /&gt;&lt;BR /&gt;ippsemerged.lib&lt;BR /&gt;ippsmerged.lib&lt;BR /&gt;ippiemerged.lib&lt;BR /&gt;ippimerged.lib&lt;BR /&gt;ippjemerged.lib&lt;BR /&gt;ippjmerged.lib&lt;BR /&gt;ijl20l.lib&lt;BR /&gt;ippcorel.lib&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Josh McFarlane</description>
      <pubDate>Sun, 26 Feb 2006 02:57:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Linking-Error-w-Static-Library/m-p/943222#M17899</guid>
      <dc:creator>jwmcfar</dc:creator>
      <dc:date>2006-02-26T02:57:20Z</dc:date>
    </item>
    <item>
      <title>Re: Linking Error w/ Static Library</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Linking-Error-w-Static-Library/m-p/943223#M17900</link>
      <description>&lt;P&gt;Hi Josh,&lt;/P&gt;
&lt;P&gt;it seems for me that in your application you use CRT in DLL, but IJL was build to use CRT as static library. Can you statically link CRT to your application?&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt; Vladimir&lt;/P&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 27 Feb 2006 22:54:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Linking-Error-w-Static-Library/m-p/943223#M17900</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2006-02-27T22:54:14Z</dc:date>
    </item>
    <item>
      <title>Re: Linking Error w/ Static Library</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Linking-Error-w-Static-Library/m-p/943224#M17901</link>
      <description>Unfortunately we are using this in many MFC based applications, so we have no control over how the CRT is used.&lt;BR /&gt;&lt;BR /&gt;MFC is statically linked however. Our development environment is Visual Studio .NET 2003 if that helps.</description>
      <pubDate>Wed, 01 Mar 2006 02:49:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Linking-Error-w-Static-Library/m-p/943224#M17901</guid>
      <dc:creator>jwmcfar</dc:creator>
      <dc:date>2006-03-01T02:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: Linking Error w/ Static Library</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Linking-Error-w-Static-Library/m-p/943225#M17902</link>
      <description>&lt;P&gt;You probably can take a look on JPEGView sample which is also MFC application and can be successfully built. I hope you can find what the differences in compiler options.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt; Vladimir&lt;/P&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 14 Mar 2006 08:44:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Linking-Error-w-Static-Library/m-p/943225#M17902</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2006-03-14T08:44:07Z</dc:date>
    </item>
  </channel>
</rss>

