Tool/software:
Hi,
we use AM62 SDK V09_01_00_07. And we use cross compile toolchain to build the example from docemtent, but get the error info "linux-devkit/sysroots/x86_64-arago-linux/usr/bin/cmake: No such file or directory".
our configuration is following.
main.cpp
#include <iostream> int main() { std::cout << "Hello AM62" << std::endl; return 0; }
CMakeLists.txt
cmake_minimum_required(VERSION 3.0) project(hello) FILE(GLOB SRC_LIST ${PROJECT_SOURCE_DIR}/src/*.cpp ) add_executable(${PROJECT_NAME} ${SRC_LIST})
build.sh
source environment-setup-aarch64-oe-linux cmake -DCMAKE_GENERATOR_PLATFORM=ARM64 -DCMAKE_C_COMPILER=$CC -DCMAKE_CXX_COMPILER=$GXX .. make
error info
ti-processor-sdk-linux-edgeai-am62axx-evm-09_01_00_07/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/cmake: No such file or directory make: *** No targets specified and no makefile found. Stop.