Part Number: SK-AM62A-LP
Tool/software:
Hello TI Experts
I would like to build the edgeai-tiovx-modules on my host for the target am62a. This is necessary since some new image sensors were added.
During compilation I get the following error:
pmu@htkwnb999-ubuntu:~/git/ti-edgeai/edgeai-tiovx-modules/build$ make -j2
[ 6%] Building C object src/CMakeFiles/edgeai-tiovx-modules.dir/tiovx_dl_color_convert_module.c.o
[ 6%] Building C object src/CMakeFiles/edgeai-tiovx-modules.dir/tiovx_color_convert_module.c.o
In file included from /home/pmu/ti/ti-processor-sdk-linux-edgeai-am62axx-evm-09_01_00_07/targetNFS/usr/include/processor_sdk/vision_apps/kernels/img_proc/include/TI/tivx_img_proc.h:67,
from /home/pmu/git/ti-edgeai/edgeai-tiovx-modules/include/tiovx_modules_common.h:69,
from /home/pmu/git/ti-edgeai/edgeai-tiovx-modules/include/tiovx_dl_color_convert_module.h:65,
from /home/pmu/git/ti-edgeai/edgeai-tiovx-modules/src/tiovx_dl_color_convert_module.c:62:
/home/pmu/ti/ti-processor-sdk-linux-edgeai-am62axx-evm-09_01_00_07/targetNFS/usr/include/processor_sdk/vision_apps/kernels/img_proc/include/TI/tivx_img_proc_kernels.h:69:10: fatal error: itidl_ti.h: No such file or directory
69 | #include "itidl_ti.h"
| ^~~~~~~~~~~~
compilation terminated.
In file included from /home/pmu/ti/ti-processor-sdk-linux-edgeai-am62axx-evm-09_01_00_07/targetNFS/usr/include/processor_sdk/vision_apps/kernels/img_proc/include/TI/tivx_img_proc.h:67,
from /home/pmu/git/ti-edgeai/edgeai-tiovx-modules/include/tiovx_modules_common.h:69,
from /home/pmu/git/ti-edgeai/edgeai-tiovx-modules/include/tiovx_color_convert_module.h:65,
from /home/pmu/git/ti-edgeai/edgeai-tiovx-modules/src/tiovx_color_convert_module.c:62:
/home/pmu/ti/ti-processor-sdk-linux-edgeai-am62axx-evm-09_01_00_07/targetNFS/usr/include/processor_sdk/vision_apps/kernels/img_proc/include/TI/tivx_img_proc_kernels.h:69:10: fatal error: itidl_ti.h: No such file or directory
69 | #include "itidl_ti.h"
| ^~~~~~~~~~~~
compilation terminated.
make[2]: *** [src/CMakeFiles/edgeai-tiovx-modules.dir/build.make:76: src/CMakeFiles/edgeai-tiovx-modules.dir/tiovx_color_convert_module.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [src/CMakeFiles/edgeai-tiovx-modules.dir/build.make:90: src/CMakeFiles/edgeai-tiovx-modules.dir/tiovx_dl_color_convert_module.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:116: src/CMakeFiles/edgeai-tiovx-modules.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
Steps done until now:
- Cloned GitHub - TexasInstruments/edgeai-tiovx-modules: Repository to host TI's OpenVx modules used in the EdgeAI SDK. to my local git directory
- Checked out "am62a_master"
- Adapted the cross compile paths to the following:
- export CROSS_COMPILER_PATH=$HOME/ti/ti-processor-sdk-linux-edgeai-am62axx-evm-09_01_00_07/linux-devkit/sysroots/x86_64-arago-linux/usr
- export CROSS_COMPILER_PREFIX=aarch64-oe-linux-
- export TARGET_FS=$HOME/ti/ti-processor-sdk-linux-edgeai-am62axx-evm-09_01_00_07/targetNFS
- Fixed TOOLCHAIN_PREFIX to find the compilers (aka instead of /bin/${CROSS_COMPILER_PREFIX} it must be /bin/aarch64-oe-linux/${CROSS_COMPILER_PREFIX})
Any help appreciated, thanks.
Additionally, what is the best practice to keep track of changes of the tiovx modules and have them compiled on the target? Target has and will never have internet connection.