Build Error for Mbed OS-based Projects for PSoC 6 in Windows - KBA226887

Version: **



Why do I get the “compilation terminated” build error during compilation of Mbed OS-based projects for PSoC® 6 in Windows?



The compilation error message you get may appear as shown in the following image:


To remove this error, install the latest version of Arm GCC from this link (Arm GCC).


If you have installed Arm gnu tools at the default path, configure the GCC path in mbed CLI by entering the following in the Windows command prompt as highlighted in the image.


mbed config -G GCC_ARM_PATH "C:\Program Files (x86)\GNU Tools ARM Embedded\6 2017-q2-update\bin"