<?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: Build libimxvpuapi failed with can't find hantro in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Build-libimxvpuapi-failed-with-can-t-find-hantro/m-p/1093644#M160223</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Seemed i find the root cause.&lt;/P&gt;&lt;P&gt;The libhantro.so that is required by libimxvpapi is &lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;ARM aarch64, version. But i built libimxvpuapi on Ubuntu 16.04 which request X86 version of this lib.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;So is there any method to get the X86 version of this lib?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Or is there anyone else building&amp;nbsp;&lt;SPAN style="color: #3d3d3d;"&gt;libimxvpapi on Ubuntu 16.04?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #3d3d3d; "&gt;thank you.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Apr 2020 02:58:50 GMT</pubDate>
    <dc:creator>bolun_liu</dc:creator>
    <dc:date>2020-04-16T02:58:50Z</dc:date>
    <item>
      <title>Build libimxvpuapi failed with can't find hantro</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Build-libimxvpuapi-failed-with-can-t-find-hantro/m-p/1093642#M160221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Build libimxvpuapi failed with can't find hantro&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi&amp;nbsp;community:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; i met building failure against&amp;nbsp;&lt;SPAN&gt;libimxvpuapi.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; My build command is :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; ./waf configure --sysroot-path=/ --imx-platform=imx8mm&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; And the output are:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Setting top to : /home/liubolun/libimxvpuapi-master&lt;BR /&gt;Setting out to : /home/liubolun/libimxvpuapi-master/build&lt;BR /&gt;Checking for 'gcc' (C compiler) : /usr/bin/gcc&lt;BR /&gt;Checking for compiler switch -Wextra : yes&lt;BR /&gt;Checking for compiler switch -Wall : yes&lt;BR /&gt;Checking for compiler switch -pedantic : yes&lt;BR /&gt;Checking for compiler switch -fPIC : yes&lt;BR /&gt;Checking for compiler switch -DPIC : yes&lt;BR /&gt;Checking for compiler switch -O2 : yes&lt;BR /&gt;Checking for compiler switch -std=gnu99 : yes&lt;BR /&gt;Now checking the combination of CFLAGS -Wextra -Wall -pedantic -fPIC -DPIC -O2 -std=gnu99&lt;BR /&gt;Checking if this combination works : yes&lt;BR /&gt;Checking for compiler switch -std=c99 : yes&lt;BR /&gt;Now checking the combination of CFLAGS -Wextra -Wall -pedantic -fPIC -DPIC -O2 -std=c99&lt;BR /&gt;Checking if this combination works : yes&lt;BR /&gt;Checking for program 'pkg-config' : /usr/bin/pkg-config&lt;BR /&gt;Checking for 'libimxdmabuffer &amp;gt;= 0.9.0' : yes&lt;BR /&gt;Using "/" as sysroot path&lt;BR /&gt;Checking for library hantro : not found&lt;BR /&gt;The configuration failed&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;From the config.log:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;----------------------------------------&lt;BR /&gt;Checking for library hantro&lt;BR /&gt;==&amp;gt;&lt;/P&gt;&lt;P&gt;int main(int argc, char **argv) {&lt;BR /&gt; (void)argc; (void)argv;&lt;BR /&gt; return 0;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;lt;==&lt;BR /&gt;[1/2] Compiling ^[[32mbuild/.conf_check_b5a36a83ff5f00b0672e56e461c10790/test.c^[[0m&lt;/P&gt;&lt;P&gt;['/usr/bin/gcc', '-Wextra', '-Wall', '-pedantic', '-fPIC', '-DPIC', '-O2', '-pthread', '../test.c', '-c', '-o/home/liubolun/libimxvpuapi-master/build/.conf_check_b5a36a83ff5f00b0672e56e461c10790/testbuild/test.c.1.o']&lt;BR /&gt;[2/2] Linking ^[[33mbuild/.conf_check_b5a36a83ff5f00b0672e56e461c10790/testbuild/testprog^[[0m&lt;/P&gt;&lt;P&gt;['/usr/bin/gcc', '-pthread', 'test.c.1.o', '-o/home/liubolun/libimxvpuapi-master/build/.conf_check_b5a36a83ff5f00b0672e56e461c10790/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-lhantro']&lt;BR /&gt;err: /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/libhantro.so when searching for -lhantro&lt;BR /&gt;/usr/bin/ld: skipping incompatible /usr/lib/../lib/libhantro.so when searching for -lhantro&lt;BR /&gt;/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/5/../../../libhantro.so when searching for -lhantro&lt;BR /&gt;/usr/bin/ld: skipping incompatible //usr/lib/libhantro.so when searching for -lhantro&lt;BR /&gt;/usr/bin/ld: cannot find -lhantro&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there any missing or misconfiguration on my Linux host Ubuntu 16.04?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;thank you in advanced.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BRs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2020 08:10:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Build-libimxvpuapi-failed-with-can-t-find-hantro/m-p/1093642#M160221</guid>
      <dc:creator>bolun_liu</dc:creator>
      <dc:date>2020-04-14T08:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: Build libimxvpuapi failed with can't find hantro</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Build-libimxvpuapi-failed-with-can-t-find-hantro/m-p/1093643#M160222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Add more information：&lt;/P&gt;&lt;P&gt;1. I tried to build libimxvpuapi on my Linux Host--Linux liubolun-OptiPlex-7040 4.15.0-45-generic #48~16.04.1-Ubuntu SMP Tue Jan 29 18:03:48 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. the libhantro.so is derived from&amp;nbsp;L4.14.98_2.0.0_ga_images_MX8MMEVK/usr/lib which is download from NXP web;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. the result of file&amp;nbsp;&lt;SPAN&gt;libhantro.so is:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;/usr/lib/libhantro.so: ELF 64-bit LSB shared object, ARM aarch64, version 1 (SYSV), dynamically linked, BuildID[sha1]=663e023f6f0d5d4eed7e66e214e160b35c59fe97, stripped&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;4. I copy the libhantro.so and libhantro_h1.so to /usr/lib/ and copy hantro_enc and hantro_dec folder to /usr/include/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Then i run the waf configure command and met the configure failed(ld error)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any suggestions again this issue?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;thank you.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2020 09:11:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Build-libimxvpuapi-failed-with-can-t-find-hantro/m-p/1093643#M160222</guid>
      <dc:creator>bolun_liu</dc:creator>
      <dc:date>2020-04-14T09:11:26Z</dc:date>
    </item>
    <item>
      <title>Re: Build libimxvpuapi failed with can't find hantro</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Build-libimxvpuapi-failed-with-can-t-find-hantro/m-p/1093644#M160223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Seemed i find the root cause.&lt;/P&gt;&lt;P&gt;The libhantro.so that is required by libimxvpapi is &lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;ARM aarch64, version. But i built libimxvpuapi on Ubuntu 16.04 which request X86 version of this lib.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;So is there any method to get the X86 version of this lib?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Or is there anyone else building&amp;nbsp;&lt;SPAN style="color: #3d3d3d;"&gt;libimxvpapi on Ubuntu 16.04?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #3d3d3d; "&gt;thank you.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2020 02:58:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Build-libimxvpuapi-failed-with-can-t-find-hantro/m-p/1093644#M160223</guid>
      <dc:creator>bolun_liu</dc:creator>
      <dc:date>2020-04-16T02:58:50Z</dc:date>
    </item>
    <item>
      <title>Re: Build libimxvpuapi failed with can't find hantro</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Build-libimxvpuapi-failed-with-can-t-find-hantro/m-p/1093645#M160224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please follow the Yocto user's guide to build the bsp.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2020 07:41:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Build-libimxvpuapi-failed-with-can-t-find-hantro/m-p/1093645#M160224</guid>
      <dc:creator>jimmychan</dc:creator>
      <dc:date>2020-04-16T07:41:18Z</dc:date>
    </item>
    <item>
      <title>Re: Build libimxvpuapi failed with can't find hantro</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Build-libimxvpuapi-failed-with-can-t-find-hantro/m-p/1093646#M160225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello jimmychan, thank you for you comments.&lt;/P&gt;&lt;P&gt;The fact is that i build yocto by myself.&lt;/P&gt;&lt;P&gt;The libhantro.so that i built out are all&amp;nbsp;&amp;nbsp;ARM aarch64.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The other question is that is there any source code about libhantro?&lt;/P&gt;&lt;P&gt;thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2020 08:09:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Build-libimxvpuapi-failed-with-can-t-find-hantro/m-p/1093646#M160225</guid>
      <dc:creator>bolun_liu</dc:creator>
      <dc:date>2020-04-16T08:09:00Z</dc:date>
    </item>
    <item>
      <title>Re: Build libimxvpuapi failed with can't find hantro</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Build-libimxvpuapi-failed-with-can-t-find-hantro/m-p/1093647#M160226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, the BSP is used to build for the i.MX processor which is ARM cores inside.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2020 10:13:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Build-libimxvpuapi-failed-with-can-t-find-hantro/m-p/1093647#M160226</guid>
      <dc:creator>jimmychan</dc:creator>
      <dc:date>2020-04-17T10:13:12Z</dc:date>
    </item>
  </channel>
</rss>

