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

Mesh SDK v2.2.0: Light Switch Build Fails on nrf_log.h & nrf_log_internal.h

Trying to build the unmodified light_switch_client_nrf52832_xxAA_s132_6_0_0.emProject from a fresh download of the Mesh SDK.

SDK_ROOT set & successfully tested as instructed.

app_error.c compile fails because it can't find nrf_log.h

so I added $(SDK_ROOT:../../../../nRF5_SDK_15.0.0_a53641a)/components/libraries/experimental_log to the Include Path

app_error.c compile then fails because it can't find nrf_log_internal.h

so I added $(SDK_ROOT:../../../../nRF5_SDK_15.0.0_a53641a)/components/libraries/experimental_log/src to the Include Path

Then it all builds OK.

So why was this missing from the Project??

Parents Reply
  • Hi again.

    I've been trying to reproduce this issue, but I haven’t been successful in doing so.

    Are both Mesh SDK 2.2.0 and SDK 15.0 vanilla (completely unmodified)?

    Because when I use the two vanilla SDK's I can't reproduce the issue.

    There could be that some files in your SDK 15.0, if you have modified them, that causes this issue.

    I will continue to investigate the issue, and see if I find out anything else.

    - Andreas

Children
Related