Build libimxvpuapi failed with can't find hantro
Hi community:
i met building failure against libimxvpuapi.
My build command is :
./waf configure --sysroot-path=/ --imx-platform=imx8mm
And the output are:
Setting top to : /home/liubolun/libimxvpuapi-master
Setting out to : /home/liubolun/libimxvpuapi-master/build
Checking for 'gcc' (C compiler) : /usr/bin/gcc
Checking for compiler switch -Wextra : yes
Checking for compiler switch -Wall : yes
Checking for compiler switch -pedantic : yes
Checking for compiler switch -fPIC : yes
Checking for compiler switch -DPIC : yes
Checking for compiler switch -O2 : yes
Checking for compiler switch -std=gnu99 : yes
Now checking the combination of CFLAGS -Wextra -Wall -pedantic -fPIC -DPIC -O2 -std=gnu99
Checking if this combination works : yes
Checking for compiler switch -std=c99 : yes
Now checking the combination of CFLAGS -Wextra -Wall -pedantic -fPIC -DPIC -O2 -std=c99
Checking if this combination works : yes
Checking for program 'pkg-config' : /usr/bin/pkg-config
Checking for 'libimxdmabuffer >= 0.9.0' : yes
Using "/" as sysroot path
Checking for library hantro : not found
The configuration failed
From the config.log:
----------------------------------------
Checking for library hantro
==>
int main(int argc, char **argv) {
(void)argc; (void)argv;
return 0;
}
<==
[1/2] Compiling ^[[32mbuild/.conf_check_b5a36a83ff5f00b0672e56e461c10790/test.c^[[0m
['/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']
[2/2] Linking ^[[33mbuild/.conf_check_b5a36a83ff5f00b0672e56e461c10790/testbuild/testprog^[[0m
['/usr/bin/gcc', '-pthread', 'test.c.1.o', '-o/home/liubolun/libimxvpuapi-master/build/.conf_check_b5a36a83ff5f00b0672e56e461c10790/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-lhantro']
err: /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/libhantro.so when searching for -lhantro
/usr/bin/ld: skipping incompatible /usr/lib/../lib/libhantro.so when searching for -lhantro
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/5/../../../libhantro.so when searching for -lhantro
/usr/bin/ld: skipping incompatible //usr/lib/libhantro.so when searching for -lhantro
/usr/bin/ld: cannot find -lhantro
is there any missing or misconfiguration on my Linux host Ubuntu 16.04?
thank you in advanced.
BRs.