Getting error: board.h and other header no such file or directory. with nRF5_SDK_15.0.0_a53641a and nrf5sdkformeshv500src in the same path.
What could it be?
The evaluation board is nRF52833 purchased by Mouser.
Thanks in advance,
Antonio
Getting error: board.h and other header no such file or directory. with nRF5_SDK_15.0.0_a53641a and nrf5sdkformeshv500src in the same path.
What could it be?
The evaluation board is nRF52833 purchased by Mouser.
Thanks in advance,
Antonio
Hi Antonio,
Please be aware that it's not recommended for new development to start with NRF5 SDK and nRF5 SDK for Mesh. These SDKs have been put on "maintenance mode" for very long time (since 2020). For new product development please use nRF Connect SDK. The mesh stack and samples are provided in the new SDK as well.
If for some reason you have to use nRF5 SDK for mesh , please show us a full log or the screenshot of the error. Make sure you set the SDK_ROOT to the correct path to the nRF5 SDK (the main SDK not the mesh one). Take a look here: docs.nordicsemi.com/.../md_doc_getting_started_how_to_build.html

Hi Hung,
i attached the print screen of the error.
Thanks in advance,
Antonio
Hi Antonio,
You should use this path in the setting, with out the <
SDK_ROOT=C:\Users\Anto ...
Try to make the path as short as possible. Too long path can also cause the problem.

Hi Hung,
as you can see, i reduced the path but it doesn't work again...
What do you suggest me?
Thanks in advance,
Antonio

Hi Hung,
as you can see, i reduced the path but it doesn't work again...
What do you suggest me?
Thanks in advance,
Antonio
Hi Antonio,
Are you using Windows? I don't see why you always have < and > in the path, could you try to remove that ?
For example here is my setting:
Hi Hung,
i'm using Windows. I removed < and > but, as you can see, i have an error again

Thanks in advance,
Antonio
Hi again,
Please show which file is missing. At least now it's not complaining about boards.h.
Please double check this:

You see the highlight part, for some reason the compiler is putting the nRFSDK 5 folder inside the nRF5 Mesh SDK folder. You may want to try close the program and open it again.
An option if it still doesn't work is to remove SDK_ROOT and put the nRF5_SDK_17.1.0_ddde560 folder to the same folder as the Mesh SDK. Like they are in the same parent folder.
Hi Hung,
it works!!! Thanks a lot...
Now, i would like to make two boards communicate by sdk mesh with a simple application; for example a board as light switch client and the other as light switch server; in particular on the board client i press a button and on the board server a led flashes every time i press a button on the board client. Is my idea right? Which files can i work on, besides main.c?
Thanks in advance,
Antonio