Build arm application failed through the command line.

cancel
Showing results for 
Search instead for 
Did you mean: 

Build arm application failed through the command line.

142 Views
Contributor I

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?

0 Kudos
3 Replies

39 Views
NXP TechSupport
NXP TechSupport

Hello Yin,

Hope you are doing well.

I recommend that you follow the steps in section 5 of the Getting Started with MCUXpresso SDK for EVK-MIMXRT685. This document is located in the docs folder of the SDK that you downloaded for this evaluation board. 

Here is a step by step description of running with ARM GCC, including installing cmake. Please follow these steps with detail and let me know if you get stuck at any point.

Best Regards,

Sabina

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

----------------------------------------------------------------------------------------------------------------------- 

39 Views
Contributor I

Hello,

Build successfully now.

Thank you!

0 Kudos

39 Views
Contributor I

OS: Ubuntu 16.04 LTS

0 Kudos