I was trying to upload one of the examples which is ble_app_hrs file to test nRF52 DK. However, it gives me a message that i have about 31 errors.
Below are some types of the errors:
Error while running C/C++ Compiler
app_error.c
Fatal Error[Pe1696]: cannot open source file "nrf.h" C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\components\libraries\util\app_error.c 22
searched: "C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\components\
libraries\util\"
searched: "D:\arm\inc\"
searched: "D:\arm\inc\c\"
current directory: "C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\examples\
ble_peripheral\ble_app_hrs"
The full error message:
Fatal Error[Pe1696]: cannot open source file "sdk_common.h" C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\components\libraries\fifo\app_fifo.c 14
searched: "C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\components\
libraries\fifo\"
searched: "D:\arm\inc\"
searched: "D:\arm\inc\c\"
current directory: "C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\examples\
ble_peripheral\ble_app_hrs"
Error while running C/C++ Compiler
app_error.c
Fatal Error[Pe1696]: cannot open source file "nrf.h" C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\components\libraries\util\app_error.c 22
searched: "C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\components\
libraries\util\"
searched: "D:\arm\inc\"
searched: "D:\arm\inc\c\"
current directory: "C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\examples\
ble_peripheral\ble_app_hrs"
Error while running C/C++ Compiler
app_button.c
Fatal Error[Pe1696]: cannot open source file "nrf.h" C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\components\libraries\button\app_button.h 41
searched: "C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\components\
libraries\button\"
searched: "D:\arm\inc\"
searched: "D:\arm\inc\c\"
current directory: "C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\examples\
ble_peripheral\ble_app_hrs"
Error while running C/C++ Compiler
app_error_weak.c
Fatal Error[Pe1696]: cannot open source file "nrf.h" C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\components\libraries\util\app_error.h 28
searched: "C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\components\
libraries\util\"
searched: "D:\arm\inc\"
searched: "D:\arm\inc\c\"
current directory: "C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\examples\
ble_peripheral\ble_app_hrs"
Error while running C/C++ Compiler
app_timer.c
Fatal Error[Pe1696]: cannot open source file "app_error.h" C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\components\libraries\timer\app_timer.h 46
searched: "C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\components\
libraries\timer\"
searched: "D:\arm\inc\"
searched: "D:\arm\inc\c\"
current directory: "C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\examples\
ble_peripheral\ble_app_hrs"
Error while running C/C++ Compiler
app_uart_fifo.c
Fatal Error[Pe1696]: cannot open source file "app_util_platform.h" C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\components\libraries\uart\app_uart.h 27
searched: "C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\components\
libraries\uart\"
searched: "D:\arm\inc\"
searched: "D:\arm\inc\c\"
current directory: "C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\examples\
ble_peripheral\ble_app_hrs"
Error while running C/C++ Compiler
app_trace.c
app_util_platform.c
Fatal Error[Pe1696]: cannot open source file "compiler_abstraction.h" C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\components\libraries\util\app_util_platform.h 26
searched: "C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\components\
libraries\util\"
searched: "D:\arm\inc\"
searched: "D:\arm\inc\c\"
current directory: "C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\examples\
ble_peripheral\ble_app_hrs"
Error while running C/C++ Compiler
ble_advertising.c
Fatal Error[Pe1696]: cannot open source file "ble_advdata.h" C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\components\ble\ble_advertising\ble_advertising.c 13
searched: "C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\components\ble\
ble_advertising\"
searched: "D:\arm\inc\"
searched: "D:\arm\inc\c\"
current directory: "C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\examples\
ble_peripheral\ble_app_hrs"
Error while running C/C++ Compiler
ble_advdata.c
Fatal Error[Pe1696]: cannot open source file "ble.h" C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\components\ble\common\ble_advdata.h 28
searched: "C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\components\ble\
common\"
searched: "D:\arm\inc\"
searched: "D:\arm\inc\c\"
current directory: "C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\examples\
ble_peripheral\ble_app_hrs"
Error while running C/C++ Compiler
ble_bas.c
Fatal Error[Pe1696]: cannot open source file "ble.h" C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\components\ble\ble_services\ble_bas\ble_bas.h 44
searched: "C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\components\ble\
ble_services\ble_bas\"
searched: "D:\arm\inc\"
searched: "D:\arm\inc\c\"
current directory: "C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\examples\
ble_peripheral\ble_app_hrs"
Error while running C/C++ Compiler
ble_conn_params.c
Fatal Error[Pe1696]: cannot open source file "ble.h" C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\components\ble\common\ble_conn_params.h 25
searched: "C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\components\ble\
common\"
searched: "D:\arm\inc\"
searched: "D:\arm\inc\c\"
current directory: "C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\examples\
ble_peripheral\ble_app_hrs"
Error while running C/C++ Compiler
ble_dfu.c
Fatal Error[Pe1696]: cannot open source file "ble_gatts.h" C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\components\ble\ble_services\ble_dfu\ble_dfu.h 31
searched: "C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\components\ble\
ble_services\ble_dfu\"
searched: "D:\arm\inc\"
searched: "D:\arm\inc\c\"
current directory: "C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\examples\
ble_peripheral\ble_app_hrs"
Error while running C/C++ Compiler
ble_dis.c
Fatal Error[Pe1696]: cannot open source file "ble_srv_common.h" C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\components\ble\ble_services\ble_dis\ble_dis.h 33
searched: "C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\components\ble\
ble_services\ble_dis\"
searched: "D:\arm\inc\"
searched: "D:\arm\inc\c\"
current directory: "C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\examples\
ble_peripheral\ble_app_hrs"
Error while running C/C++ Compiler
ble_hrs.c
Fatal Error[Pe1696]: cannot open source file "ble.h" C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\components\ble\ble_services\ble_hrs\ble_hrs.h 49
searched: "C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\components\ble\
ble_services\ble_hrs\"
searched: "D:\arm\inc\"
searched: "D:\arm\inc\c\"
current directory: "C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\examples\
ble_peripheral\ble_app_hrs"
Error while running C/C++ Compiler
ble_srv_common.c
Fatal Error[Pe1696]: cannot open source file "ble_types.h" C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\components\ble\common\ble_srv_common.h 26
searched: "C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\components\ble\
common\"
searched: "D:\arm\inc\"
searched: "D:\arm\inc\c\"
current directory: "C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\examples\
ble_peripheral\ble_app_hrs"
Error while running C/C++ Compiler
bsp.c
Fatal Error[Pe1696]: cannot open source file "nrf_gpio.h" C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\examples\bsp\boards.h 15
searched: "C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\examples\bsp\"
searched: "D:\arm\inc\"
searched: "D:\arm\inc\c\"
current directory: "C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\examples\
ble_peripheral\ble_app_hrs"
Error while running C/C++ Compiler
bootloader_util.c
bsp_btn_ble.c
Fatal Error[Pe1696]: cannot open source file "ble.h" C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\examples\bsp\bsp_btn_ble.h 32
searched: "C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\examples\bsp\"
searched: "D:\arm\inc\"
searched: "D:\arm\inc\c\"
current directory: "C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\examples\
ble_peripheral\ble_app_hrs"
Error while running C/C++ Compiler
device_manager_peripheral.c
Fatal Error[Pe1696]: cannot open source file "sdk_common.h" C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\components\ble\device_manager\device_manager.h 69
searched: "C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\components\ble\
device_manager\"
searched: "D:\arm\inc\"
searched: "D:\arm\inc\c\"
current directory: "C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\examples\
ble_peripheral\ble_app_hrs"
Error while running C/C++ Compiler
dfu_app_handler.c
Fatal Error[Pe1696]: cannot open source file "ble_dfu.h" C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\components\libraries\bootloader_dfu\dfu_app_handler.h 37
searched: "C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\components\
libraries\bootloader_dfu\"
searched: "D:\arm\inc\"
searched: "D:\arm\inc\c\"
current directory: "C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\examples\
ble_peripheral\ble_app_hrs"
Error while running C/C++ Compiler
fstorage.c
Fatal Error[Pe1696]: cannot open source file "section_vars.h" C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\components\libraries\fstorage\fstorage.h 25
searched: "C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\components\
libraries\fstorage\"
searched: "D:\arm\inc\"
searched: "D:\arm\inc\c\"
current directory: "C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\examples\
ble_peripheral\ble_app_hrs"
Error while running C/C++ Compiler
main.c
Fatal Error[Pe1696]: cannot open source file "nordic_common.h" C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\examples\ble_peripheral\ble_app_hrs\main.c 23
searched: "C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\examples\
ble_peripheral\ble_app_hrs\"
searched: "D:\arm\inc\"
searched: "D:\arm\inc\c\"
current directory: "C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\examples\
ble_peripheral\ble_app_hrs"
Error while running C/C++ Compiler
nrf_assert.c
Fatal Error[Pe1696]: cannot open source file "nrf.h" C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\components\libraries\util\nrf_assert.h 18
searched: "C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\components\
libraries\util\"
searched: "D:\arm\inc\"
searched: "D:\arm\inc\c\"
current directory: "C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\examples\
ble_peripheral\ble_app_hrs"
Error while running C/C++ Compiler
nrf_delay.c
Fatal Error[Pe1696]: cannot open source file "compiler_abstraction.h" C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\components\drivers_nrf\delay\nrf_delay.c 14
searched: "C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\components\
drivers_nrf\delay\"
searched: "D:\arm\inc\"
searched: "D:\arm\inc\c\"
current directory: "C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\examples\
ble_peripheral\ble_app_hrs"
Error while running C/C++ Compiler
nrf_drv_common.c
Fatal Error[Pe1696]: cannot open source file "nrf.h" C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\components\drivers_nrf\common\nrf_drv_common.h 18
searched: "C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\components\
drivers_nrf\common\"
searched: "D:\arm\inc\"
searched: "D:\arm\inc\c\"
current directory: "C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\examples\
ble_peripheral\ble_app_hrs"
Error while running C/C++ Compiler
nrf_drv_gpiote.c
Fatal Error[Pe1696]: cannot open source file "nrf_gpiote.h" C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\components\drivers_nrf\gpiote\nrf_drv_gpiote.h 26
searched: "C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\components\
drivers_nrf\gpiote\"
searched: "D:\arm\inc\"
searched: "D:\arm\inc\c\"
current directory: "C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\examples\
ble_peripheral\ble_app_hrs"
Error while running C/C++ Compiler
nrf_drv_uart.c
Fatal Error[Pe1696]: cannot open source file "nrf_uart.h" C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\components\drivers_nrf\uart\nrf_drv_uart.h 29
searched: "C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\components\
drivers_nrf\uart\"
searched: "D:\arm\inc\"
searched: "D:\arm\inc\c\"
current directory: "C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\examples\
ble_peripheral\ble_app_hrs"
Error while running C/C++ Compiler
nrf_log.c
Fatal Error[Pe1696]: cannot open source file "nrf.h" C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\components\libraries\util\nrf_log.c 1
searched: "C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\components\
libraries\util\"
searched: "D:\arm\inc\"
searched: "D:\arm\inc\c\"
current directory: "C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\examples\
ble_peripheral\ble_app_hrs"
Error while running C/C++ Compiler
pstorage.c
Fatal Error[Pe1696]: cannot open source file "pstorage_platform.h" C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\components\drivers_nrf\pstorage\pstorage.h 28
searched: "C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\components\
drivers_nrf\pstorage\"
searched: "D:\arm\inc\"
searched: "D:\arm\inc\c\"
current directory: "C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\examples\
ble_peripheral\ble_app_hrs"
Error while running C/C++ Compiler
RTT_Syscalls_IAR.c
retarget.c
Fatal Error[Pe1696]: cannot open source file "app_util_platform.h" C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\components\libraries\uart\app_uart.h 27
searched: "C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\components\
libraries\uart\"
searched: "D:\arm\inc\"
searched: "D:\arm\inc\c\"
current directory: "C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\examples\
ble_peripheral\ble_app_hrs"
Error while running C/C++ Compiler
SEGGER_RTT_printf.c
softdevice_handler.c
Fatal Error[Pe1696]: cannot open source file "nordic_common.h" C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\components\softdevice\common\softdevice_handler\softdevice_handler.h 36
searched: "C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\components\
softdevice\common\softdevice_handler\"
searched: "D:\arm\inc\"
searched: "D:\arm\inc\c\"
current directory: "C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\examples\
ble_peripheral\ble_app_hrs"
Error while running C/C++ Compiler
system_nrf52.c
Fatal Error[Pe1696]: cannot open source file "nrf.h" C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\components\toolchain\system_nrf52.c 33
searched: "C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\components\
toolchain\"
searched: "D:\arm\inc\"
searched: "D:\arm\inc\c\"
current directory: "C:\Nordic Semiconductor\nRF5 SDK_v11.0.0\nRF5_SDK_11.0.0_89a8197\examples\
ble_peripheral\ble_app_hrs"
Error while running C/C++ Compiler
sensorsim.c
SEGGER_RTT.c