This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

"stdbool.h" is missing. Where is it?

I tried to build the example project "ble_app_uart" bundled with nRF5 SDK (nRF5_SDK_11.0.0_89a8197) within the MDK-Lite V5.18K. It failed and I got the following messages:

*** Using Compiler 'V5.06 update 1 (build 61)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin' Build target 'nrf52832_xxaa_s132' compiling main.c... ............\components\ble\common\ble_advdata.h(26): error: #5: cannot open source input file "stdbool.h": No such file or directory #include <stdbool.h> ......\main.c: 0 warnings, 1 error compiling bsp.c... ..........\bsp\bsp.h(32): error: #5: cannot open source input file "stdbool.h": No such file or directory

It seemed that the header file "stdbool.h" is missing. Which pack should I install from the Pack Installer? I had tried some other examples and same things happened. How to solve this problem? Thanks for any suggestion.

Tsan-Ming

Parents Reply Children
No Data
Related