Add JSON library to SEGGER project

I am trying add the JSON library to light switch exemple (SDK Mesh).

First all I created a lib folder in the main folder of SDK  (nrf5_SDK_for_Mesh_v1.0.0_src). Inside this folder I put the library folder

In the SEGGER:

Project >> Edit Option..

In the superior left side, there is a list box: I changed it to Common.

In the submenu "Preprocessor", in the "User Include Directories" I defined the includes dir.

I Added the code to create an object JSON:

json_t *tmp;
tmp = json_object();

When I build the soluction the IDE show me the folloew error mesage: 

I already some soluctions shared in this page, but I still have the problem

https://devzone.nordicsemi.com/f/nordic-q-a/21850/how-do-you-add-a-new-file-to-segger

https://devzone.nordicsemi.com/f/nordic-q-a/19549/segger-studio-tutorial-user-include-directories-has-no-effect---no-such-file

https://devzone.nordicsemi.com/f/nordic-q-a/30904/how-to-add-library-to-a-sdk-example-in-segger-embedded-studio

Can anyone help me? I did the same using Keil in the SDK13 (ble_peripheral and ble_central) to send JSON msg between a central and peripheral device, and it works! 

Related