BLE Mesh Header File Errors in nRF52832 Light Switch Example

Hello Team,

I’m working on implementing BLE Mesh on the nRF52832. I extracted the BLE Mesh ZIP file and placed it in the same directory as the nRF SDK. Then, I opened the Light Switch example, but I encountered multiple header file errors.

After manually adding missing header file paths one by one, I started getting the following error:

"Included host-side implementation of header file in target build! Remove the path of this file from your include paths."

I suspect this might be due to incorrect include paths or a conflict between host and target files. How can I resolve this issue?

Would appreciate any guidance. Thanks!

  • Hi,

    Please note that for new projects, you should use the nRF Connect SDK, where Bluetooth Mesh is supported and included in the main SDK. nRF5 SDK and the various special SDKs for various technologies such as Bluetooth Mesh, is now in maintenance mode. See our nRF Connect SDK and nRF5 SDK statement for more on the different SDKs and when to use them.

    If you work on an older project based on nRF5 SDK for Mesh, then that SDK should be combined with nRF5 SDK. Which one depends on which version of nRF5 SDK for Mesh, but for nRF5 SDK for Mesh v5.0.0 it is nRF5 SDK v17.0.2. If you have the wrong version combination, then you might get issues like the one you describe.

    Regards,
    Terje

Related