Build arm application failed through the command line.
log:
ubuntu@ubuntu16:/media/ubuntu/work/work_zhangyin/nxp/sdk__test_0806/SDK_2.8.0_EVK-MIMXRT685/boards/evkmimxrt685/dsp_examples/xaf_demo/cm33/armgcc$ ./build_release.sh
CMake Error at /media/ubuntu/work/work_zhangyin/nxp/sdk__test_0806/SDK_2.8.0_EVK-MIMXRT685/tools/cmake_toolchain_files/armgcc.cmake:18 (MESSAGE):
***Please set ARMGCC_DIR in envionment variables***
Call Stack (most recent call first):
/usr/share/cmake-3.5/Modules/CMakeDetermineSystem.cmake:95 (include)
CMakeLists.txt
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
arm gcc version:
c$ arm-none-eabi-gcc --version
arm-none-eabi-gcc (GNU Arm Embedded Toolchain 9-2020-q2-update) 9.3.1 20200408 (release)
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
cmake version:
c$ cmake --version
cmake version 3.5.1
CMake suite maintained and supported by Kitware (kitware.com/cmake).
How to config cmake?