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

git-hub compiling error

when i downloaded a git-hub ble-advertising tutorial and then tried to compile using segger. it gave me this error.. i am using nrf_sdk_5.2 and soft_device of S140.. i cant run any git-hub examples because of the same error. please help me to fix this. 

Building ‘ble_app_template_pca10056_s140’ from solution ‘ble_app_template_pca10056_s140’ in configuration ‘Release’
Assembling ‘thumb_crt0.s’
Compiling ‘nrf_log_backend_rtt.c’
C:\Users\k127637\Desktop\nRF5_SDK_15.2.0_9412b96\nRF5_SDK_15.2.0_9412b96\examples\components\libraries\experimental_log\src\nrf_log_backend_rtt.c: No such file or directory
Compiling ‘nrf_log_backend_serial.c’
C:\Users\k127637\Desktop\nRF5_SDK_15.2.0_9412b96\nRF5_SDK_15.2.0_9412b96\examples\components\libraries\experimental_log\src\nrf_log_backend_serial.c: No such file or directory
Compiling ‘nrf_log_backend_uart.c’
C:\Users\k127637\Desktop\nRF5_SDK_15.2.0_9412b96\nRF5_SDK_15.2.0_9412b96\examples\components\libraries\experimental_log\src\nrf_log_backend_uart.c: No such file or directory
Build failed

Parents
  • Hi,

    Under "equipment and software" section in the tutorial, this is written: **NOTE! This tutorial is written for SDK V15.0.0.

    You are trying to use it with SDK 15.2.0, which have moved the NRF_LOG library from experimental to production state, renaming the directory where it is located from experimental_log to log. If you want to use the example with a different SDK version than what it is written for, you will have to modify it to work with the changes.

    Best regards,
    Jørgen

Reply
  • Hi,

    Under "equipment and software" section in the tutorial, this is written: **NOTE! This tutorial is written for SDK V15.0.0.

    You are trying to use it with SDK 15.2.0, which have moved the NRF_LOG library from experimental to production state, renaming the directory where it is located from experimental_log to log. If you want to use the example with a different SDK version than what it is written for, you will have to modify it to work with the changes.

    Best regards,
    Jørgen

Children
Related