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

Mesh program build problem

Hello everyone

I got back on my bluetooth mesh project after an interruption and at the time I remember having the same compilation problems solved so far.

I worked with

nRF5_SDK_15.0.0_a53641a then
nrf5_SDK_for_Mesh_v2.0.1_src
in the same directory.


so in C: \ Program Files (x86) \ Nordic Semiconductor \ nrf5_SDK_for_Mesh_v2.0.1_src \ examples \ light_switch \ client

I will look for the project
light_switch_client_nrf52840_xxAA_s140_6_0_0.emProject

and all this compiles well

only now I have to recover the most recent file as
nRF5_SDK_15.2.0_9412b96 then
nrf5SDKforMeshv310src

in C: \ Program Files (x86) \ Nordic Semiconductor \ nrf5SDKforMeshv310src \ examples \ light_switch \ client

project:
light_switch_client_nrf52840_xxAA_s140_6_1_0.emProject

and there build problem again.
So I will see in "Environment Options / Building"

Global macros: SDK_ROOT: ../../../../ nRF5_SDK_15.2.0_9412b96
always the same problem

Please thank for your help

Parents Reply Children
  • hello Mttrinh,

    Thank you for your help, I solved my first problem (:
    In fact, it's quite strange, because I have 2 PC (laptop and desktop) so I install SEGGER + LICENSE on the 2 and it finds that it works well on my laptop, so I deleted everything on my desktop pc and reinstall, but again the same problem.

    So I copied my C: \ Program Files (x86) \ Nordic Semiconductor folder from the laptop to the desktop PC and it works !?

    Knowing that I have come home
    $ (SDK_ROOT: ../../../../ nRF5_SDK_15.3.0_59ac345) on my 2 pcs.

    So by elimination, I looked for which file would be involved and it finds, although the Tool / building path is $ (SDK_ROOT: ../../../../ nRF5_SDK_15.3.0_59ac345) if I did not put the folder "nRF5_SDK_15.2.0_9412b96" in the same directory it does not compile, see I can even delete "nRF5_SDK_15.3.0_59ac345" without problem while keeping:
    $ (SDK_ROOT: ../../../../ nRF5_SDK_15.3.0_59ac345) on my 2 pcs ???

  • Hi,

    Seems like it was some kind of path problem, but im glad you solved the issue :)

Related