Building examples for iMX8 SDK using GCC ARM embedded Toolchain

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Building examples for iMX8 SDK using GCC ARM embedded Toolchain

2,784 Views
Ramprakash
Contributor II

Hello Team,

 

I am trying to build example codes given in the iMX8 SDK archives. I followed the steps given under section 5 of "Getting Started with MCUXpresso SDK for MEK-MIMX8QX". I am currently getting the following error when I try to build the build_debug.sh file. What are the changes required to overcome this error.

 

Error:

-- BUILD_TYPE: debug CMake Error in CMakeLists.txt: The CMAKE_C_COMPILER: /home/opt/gcc-arm-none-eabi-10-2020-q4-major/bin/bin/arm-none-eabi-gcc

 

Thanks and Regards,

Ramprakash

0 Kudos
Reply
2 Replies

2,752 Views
Ramprakash
Contributor II

Hello, 

Thank you for the reply.

I have downloaded Cmake but the issue got resolved once I set the environment variable for ARMGCC_DIR. I included the /bin along with the installation path. Once I removed it the issue got resolved.

 

Thanks and Regards,

Ramprakash

2,758 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello

Looks like you need to download the cmake in your host.

 

Regards

 

0 Kudos
Reply