<?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 Betreff: Re:IPP on WSL2 in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-on-WSL2/m-p/1344862#M27872</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks for your reply. Yes - that did the trick.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks a lot.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maybe it is a useful information if you add this library in the list of decencies in your documentation?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.intel.com/content/www/us/en/develop/documentation/ipp-dev-reference/top/volume-1-signal-and-data-processing/data-compression-functions/dictionary-based-compression-functions/lzss-compression-functions/decodelzssinit.html" target="_blank"&gt;DecodeLZSSInit (intel.com)&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
    <pubDate>Fri, 17 Dec 2021 07:17:24 GMT</pubDate>
    <dc:creator>Daniel_D</dc:creator>
    <dc:date>2021-12-17T07:17:24Z</dc:date>
    <item>
      <title>IPP on WSL2</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-on-WSL2/m-p/1344616#M27870</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I try to use the oneAPI Base Toolkit (IPP) toolkit in my application. On windows it works well and I'm now working on the Linux version. On windows I use the latest oneAPI 2022 - on Linus I think just the version 2021.4 is available. So I try to use this one. Since cmake "find_package(IPP REQUIRED)" is not working I add all folders (include/lib) and the required libraries manually.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have one share library and one application that uses this shared library. In the share library I use the function&amp;nbsp;ippsEncodeLZSS/ippsDecodeLZSS for compression and decompression. Since I do not use IPP somewhere else I want to link my shared library statically to the IPP/oneAPI functions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;here is the sections from cmake to link IPP to my shared library:&lt;/P&gt;
&lt;P&gt;target_link_libraries( myLib ipps.a )&lt;BR /&gt;target_link_libraries( myLib ippcore.a )&lt;BR /&gt;target_link_libraries( myLib ippvm.a )&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In my app I use this shared library. During linking I see IPP related unresolved references coming from my shared library - so statically linking didn't work the way I tried it.&lt;/P&gt;
&lt;P&gt;What I get is this:&lt;BR /&gt;/home/user/.vs/Libraries/out/build/linux-Debug/myLib/myLib.so: undefined reference to `ippsDecodeLZSSInit_8u'&lt;BR /&gt;/home/user/.vs/Libraries/out/build/linux-Debug/myLib/myLib.so: undefined reference to `ippsEncodeLZSSInit_8u'&lt;BR /&gt;/home/user/.vs/Libraries/out/build/linux-Debug/myLib/myLib.so: undefined reference to `ippsEncodeLZSS_8u'&lt;BR /&gt;/home/user/.vs/Libraries/out/build/linux-Debug/myLib/myLib.so: undefined reference to `ippsEncodeLZSSFlush_8u'&lt;BR /&gt;/home/user/.vs/Libraries/out/build/linux-Debug/myLib/myLib.so: undefined reference to `ippsLZSSGetSize_8u'&lt;BR /&gt;/home/user/.vs/Libraries/out/build/linux-Debug/myLib/myLib.so: undefined reference to `ippsDecodeLZSS_8u'&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Interesting is that I do not see undefined reference to&amp;nbsp;ippsMalloc and&amp;nbsp;ippsFree which I also use in the functions for compression and decompression.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;UPDATE:&lt;/P&gt;
&lt;P&gt;ippsMalloc and&amp;nbsp;ippsFree is resolved just in the DEBUG configuration. If I compile a RELEASE version&amp;nbsp; ippsMalloc and&amp;nbsp;ippsFree are unresolved references.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does anyone have any idea what I'm doing wrong? How can I use IPP&amp;nbsp; so that it links statically to my shared library - if that is possible at all?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Dec 2021 06:03:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-on-WSL2/m-p/1344616#M27870</guid>
      <dc:creator>Daniel_D</dc:creator>
      <dc:date>2021-12-17T06:03:08Z</dc:date>
    </item>
    <item>
      <title>Re: IPP on WSL2</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-on-WSL2/m-p/1344852#M27871</link>
      <description>&lt;P&gt;Hi Daniel,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for reaching out to us.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt;&amp;nbsp;&lt;EM&gt;How can I use IPP so that it links statically to my shared library - if that is possible at all?&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please try adding the below line to your CMake file and try recompiling the application?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;target_link_libraries( myLib ippdc.a )&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please do let us know if you still face any issues by providing us with a minimal reproducer and necessary CMake files (&amp;amp; steps to reproduce if any) so that we can work on it from our end.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Vidya.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2022 06:53:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-on-WSL2/m-p/1344852#M27871</guid>
      <dc:creator>VidyalathaB_Intel</dc:creator>
      <dc:date>2022-03-02T06:53:49Z</dc:date>
    </item>
    <item>
      <title>Betreff: Re:IPP on WSL2</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-on-WSL2/m-p/1344862#M27872</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks for your reply. Yes - that did the trick.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks a lot.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maybe it is a useful information if you add this library in the list of decencies in your documentation?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.intel.com/content/www/us/en/develop/documentation/ipp-dev-reference/top/volume-1-signal-and-data-processing/data-compression-functions/dictionary-based-compression-functions/lzss-compression-functions/decodelzssinit.html" target="_blank"&gt;DecodeLZSSInit (intel.com)&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Fri, 17 Dec 2021 07:17:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-on-WSL2/m-p/1344862#M27872</guid>
      <dc:creator>Daniel_D</dc:creator>
      <dc:date>2021-12-17T07:17:24Z</dc:date>
    </item>
    <item>
      <title>Re:IPP on WSL2</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-on-WSL2/m-p/1345876#M27876</link>
      <description>&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks for accepting our solution.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&lt;I&gt;Maybe it is a useful information if you add this library in the list of decencies in your documentation?&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;You can refer to the below IPP developer guide for more details&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.intel.com/content/www/us/en/develop/documentation/dev-guide-ipp-for-oneapi/top/ipp-theory-of-operation/ipp-domain-details/library-dependencies-by-domain.html" target="_blank"&gt;https://www.intel.com/content/www/us/en/develop/documentation/dev-guide-ipp-for-oneapi/top/ipp-theory-of-operation/ipp-domain-details/library-dependencies-by-domain.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;As your issue is resolved we are closing this thread from our end.&lt;/P&gt;&lt;P&gt;If you need any additional assistance from Intel, please post a new question as this thread will no longer be monitored.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vidya. &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 22 Dec 2021 05:05:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-on-WSL2/m-p/1345876#M27876</guid>
      <dc:creator>VidyalathaB_Intel</dc:creator>
      <dc:date>2021-12-22T05:05:48Z</dc:date>
    </item>
  </channel>
</rss>

