<?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 Hi Oleg, in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/including-ipp-libraries/m-p/1180903#M27184</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;Try to change the order of the libraries in "&lt;SPAN style="color: rgb(96, 96, 96); font-family: Consolas, &amp;quot;Lucida Console&amp;quot;, Menlo, Monaco, &amp;quot;DejaVu Sans Mono&amp;quot;, monospace, sans-serif; font-size: 13.008px;"&gt;target_link_libraries&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em;"&gt;" statement. First IPPS, then IPPVM and CORE at the end.&lt;BR /&gt;
	It's important for Linux linker.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 06 Sep 2018 04:39:21 GMT</pubDate>
    <dc:creator>Sergey_K_Intel</dc:creator>
    <dc:date>2018-09-06T04:39:21Z</dc:date>
    <item>
      <title>including ipp libraries</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/including-ipp-libraries/m-p/1180899#M27180</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;

&lt;P&gt;I'm trying to use Intel IPP for signal processing. I began the work with the Add functions (ippsAdd_64f_A53 and ippsAdd_64f). I included ippvm.h, ippcore.h and ipps.h and wrote the CMakeLists.txt file as follows:&lt;/P&gt;

&lt;PRE class="brush:; class-name:dark;"&gt;cmake_minimum_required(VERSION 3.7)
project(Test)
find_library(IPP_CORE libippcore.a PATHS /opt/intel/ipp/lib/intel64)
find_library(IPP_VM libippvm.a PATHS /opt/intel/ipp/lib/intel64)
find_library(IPP_S libipps.a PATHS /opt/intel/ipp/lib/intel64)
add_executable(Test main.cpp)
target_include_directories(Test PRIVATE /opt/intel/ipp/include)
target_link_libraries(Test ${IPP_CORE} ${IPP_VM} ${IPP_S})&lt;/PRE&gt;

&lt;P&gt;The first of the function (_A53) works well, but while using the second one I get the following error:&lt;/P&gt;

&lt;PRE class="brush:; class-name:dark;"&gt;/opt/intel/ipp/lib/intel64/libipps.a(jmp_ippsAdd_64f.o): In function 'in_ippsAdd_64f':
jmp_ippsAdd_64f.c:(.text+0x1): undefined reference to 'ippSafeInit'
/opt/intel/ipp/lib/intel64/libipps.a(jmp_ippsAdd_64f.o): In function 'ippsAdd_64f':
jmp_ippsAdd_64f.c:(.text+0x2a): undefined reference to 'ippJumpIndexForMergedLibs'
&lt;/PRE&gt;

&lt;P&gt;Tell me please, what is wrong? As I understand, I need to link some more libraries, but which of them?&lt;/P&gt;

&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Sep 2018 10:02:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/including-ipp-libraries/m-p/1180899#M27180</guid>
      <dc:creator>Oleg_M_2</dc:creator>
      <dc:date>2018-09-05T10:02:44Z</dc:date>
    </item>
    <item>
      <title>+ ipps.a</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/including-ipp-libraries/m-p/1180900#M27181</link>
      <description>&lt;P&gt;+ ipps.a&lt;/P&gt;</description>
      <pubDate>Wed, 05 Sep 2018 15:02:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/including-ipp-libraries/m-p/1180900#M27181</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2018-09-05T15:02:15Z</dc:date>
    </item>
    <item>
      <title>Sorry, but as I understand</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/including-ipp-libraries/m-p/1180901#M27182</link>
      <description>&lt;P&gt;Sorry, but as I understand you recomend including libipps.a. But I've already included it with:&lt;/P&gt;

&lt;PRE class="brush:; class-name:dark;"&gt;find_library(IPP_S libipps.a PATHS /opt/intel/ipp/lib/intel64)
...
target_link_libraries(Test ${IPP_CORE} ${IPP_VM} ${IPP_S})
&lt;/PRE&gt;

&lt;P&gt;Could you, please explain my mistake?&lt;/P&gt;</description>
      <pubDate>Wed, 05 Sep 2018 17:17:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/including-ipp-libraries/m-p/1180901#M27182</guid>
      <dc:creator>Oleg_M_2</dc:creator>
      <dc:date>2018-09-05T17:17:04Z</dc:date>
    </item>
    <item>
      <title>sorry, I missed that you</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/including-ipp-libraries/m-p/1180902#M27183</link>
      <description>&lt;P&gt;sorry, I missed that you added ipps.a lib, then at the first galnce everything looks correct.&amp;nbsp; Could you try to link this case explicitly w/o Cmake?&lt;/P&gt;</description>
      <pubDate>Thu, 06 Sep 2018 03:18:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/including-ipp-libraries/m-p/1180902#M27183</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2018-09-06T03:18:37Z</dc:date>
    </item>
    <item>
      <title>Hi Oleg,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/including-ipp-libraries/m-p/1180903#M27184</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;Try to change the order of the libraries in "&lt;SPAN style="color: rgb(96, 96, 96); font-family: Consolas, &amp;quot;Lucida Console&amp;quot;, Menlo, Monaco, &amp;quot;DejaVu Sans Mono&amp;quot;, monospace, sans-serif; font-size: 13.008px;"&gt;target_link_libraries&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em;"&gt;" statement. First IPPS, then IPPVM and CORE at the end.&lt;BR /&gt;
	It's important for Linux linker.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Sep 2018 04:39:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/including-ipp-libraries/m-p/1180903#M27184</guid>
      <dc:creator>Sergey_K_Intel</dc:creator>
      <dc:date>2018-09-06T04:39:21Z</dc:date>
    </item>
    <item>
      <title>Quote:Sergey Khlystov (Intel)</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/including-ipp-libraries/m-p/1180904#M27185</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Sergey Khlystov (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;Try to change the order of the libraries in "target_link_libraries" statement. First IPPS, then IPPVM and CORE at the end.&lt;BR /&gt;
	It's important for Linux linker.&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Thank you for the reply. I've tried - unfortunately it doesn't help.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Sep 2018 06:00:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/including-ipp-libraries/m-p/1180904#M27185</guid>
      <dc:creator>Oleg_M_2</dc:creator>
      <dc:date>2018-09-06T06:00:25Z</dc:date>
    </item>
    <item>
      <title>Quote:Gennady F. (Intel)</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/including-ipp-libraries/m-p/1180905#M27186</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Gennady F. (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;sorry, I missed that you added ipps.a lib, then at the first galnce everything looks correct.&amp;nbsp; Could you try to link this case explicitly w/o Cmake?&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Yes, it works with both dynamic and static linking through using g++ command.&lt;/P&gt;

&lt;P&gt;Now what could it be with cmake? I would be grateful for your help. Because g++ command is ok for test application, but not for the whole project))&lt;/P&gt;</description>
      <pubDate>Thu, 06 Sep 2018 06:43:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/including-ipp-libraries/m-p/1180905#M27186</guid>
      <dc:creator>Oleg_M_2</dc:creator>
      <dc:date>2018-09-06T06:43:38Z</dc:date>
    </item>
    <item>
      <title>The answer appeared to be</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/including-ipp-libraries/m-p/1180906#M27187</link>
      <description>&lt;P&gt;The answer appeared to be quite simple: cmake somehow links a static version of ipps and dynamic versions of other libs. As I understand, IPP needs to be whole static or whole dynamic. To do so I added&lt;/P&gt;

&lt;P&gt;set(IPP_STATIC "ON")&lt;/P&gt;

&lt;P&gt;to CMakeLists.txt&lt;/P&gt;</description>
      <pubDate>Thu, 06 Sep 2018 11:45:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/including-ipp-libraries/m-p/1180906#M27187</guid>
      <dc:creator>Oleg_M_2</dc:creator>
      <dc:date>2018-09-06T11:45:04Z</dc:date>
    </item>
    <item>
      <title>Re: including ipp libraries</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/including-ipp-libraries/m-p/1291749#M27707</link>
      <description>&lt;P&gt;I see those names in several of the of the other ipp libs ... try adding more until the references are resolved.&amp;nbsp; e.g., try adding&lt;/P&gt;
&lt;PRE class="brush:; class-name:dark;"&gt;find_library(IPP_I libippi.a PATHS /opt/intel/ipp/lib/intel64)&lt;BR /&gt;...&lt;/PRE&gt;
&lt;PRE class="brush:; class-name:dark;"&gt;target_link_libraries(Test ${IPP_CORE} ${IPP_VM} ${IPP_S} ${IPP_I})&lt;/PRE&gt;
&lt;P&gt;Also, I don't know if order matters (it matters to the linker), but it seems that the most&lt;/P&gt;
&lt;P&gt;general library should be at the end :&lt;/P&gt;
&lt;PRE&gt;target_link_libraries(Test&amp;nbsp; ${IPP_S} ${IPP_I}${IPP_VM}&amp;nbsp; ${IPP_CORE})&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jun 2021 15:10:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/including-ipp-libraries/m-p/1291749#M27707</guid>
      <dc:creator>WoC</dc:creator>
      <dc:date>2021-06-21T15:10:03Z</dc:date>
    </item>
  </channel>
</rss>

