Hi all,
I have build the tda4-evm sdk using yocto. I have untarred sdk and sourced the environment-setup script in the sdk linux-devkit directory for cross-compiling.I have referred the documentation in the below link.
I have added the find_package(Python3 Interpreter Numpy Development) for finding the python3 packages in the sdk.But,I am facing the issue in finding the python interpreter.
The cmake is pointing the host system python interpreter instead of sdk python interpreter like below and the remaining numpy_include_dirs, python_include_dirs and python_libs are not found.
_Python3_EXECUTABLE:INTERNAL=/usr/bin/python3.6
Could NOT find Python3 (missing: Python3_LIBRARIES Python3_INCLUDE_DIRS Python3_NumPy_INCLUDE_DIRS Development NumPy)
I have attched the cmakelist file for reference.
cmake_minimum_required(VERSION 3.16) find_package(Python3 COMPONENTS Interpreter Development NumPy)
Can anyone please help me to solve this issue.
Regards,
Aneesh