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

Preprocessing error in nRF52832

Hello,

I have a problem when trying to compile the light server exemple for the mesh.

I use Segger Embbeded Studio 4.16 (even though i tried the 4.15), mesh sdk 3.0 and the tried both nRF5_SDK_15.3.0 and nRF5_SDK_15.2

Everything was ok, until i tested this exemple, the given exemple by Segger would work just fine, but when compiling the light switch server i have this problem.

which is seen there

I did not add anything yet so i suppose this should be working.

Any idea why i have this preprocessing error?

Parents
  • Hi,

    Have you downloaded (and not changed) nRF5 SDK for Mesh v3.0.0 and nRF5 SDK v15.2.0, unzipped them and placed them according to the "Downloading nRF5 SDK" section in the "Installing the toolchain" chapter of the documentation?

    Please note that some unzip programs may create an extra layer of folders, so that e.g. the contents of the nRF5 SDK gets positioned under "nRF5_SDK_15.2.0_9412b96/nRF5_SDK_15.2.0_9412b96/" instead of directly under "nRF5_SDK_15.2.0_9412b96/". In that case you must move everything out to the "outermost" SDK folder.

    Regards,
    Terje

Reply
  • Hi,

    Have you downloaded (and not changed) nRF5 SDK for Mesh v3.0.0 and nRF5 SDK v15.2.0, unzipped them and placed them according to the "Downloading nRF5 SDK" section in the "Installing the toolchain" chapter of the documentation?

    Please note that some unzip programs may create an extra layer of folders, so that e.g. the contents of the nRF5 SDK gets positioned under "nRF5_SDK_15.2.0_9412b96/nRF5_SDK_15.2.0_9412b96/" instead of directly under "nRF5_SDK_15.2.0_9412b96/". In that case you must move everything out to the "outermost" SDK folder.

    Regards,
    Terje

Children
Related