I have installed the latest SDK 1.3.0 using the Toolchain Manager.
I would now like to open nRF Connect SDK Projekt and get the follwoing error:


I have added the CXX environment variable, but it did not help

I have installed the latest SDK 1.3.0 using the Toolchain Manager.
I would now like to open nRF Connect SDK Projekt and get the follwoing error:


I have added the CXX environment variable, but it did not help

Hi,
The "CMakeLists.txt" field should point to the CMakeLists.txt of your project, not the board.
E.g. if you want to build the asset_tracker project, the path should be <your NCS folder>/nrf/applications/asset_tracker/CMakeLists.txt.
In addition, if you want to use the modem in the nRF9160, you must build your application as non-secure. To do that, you must select the non-secure version of the board.
I.e. nrf9160dk_nrf9160ns (notice the "ns" at the end).
Finally, in case you are not already doing it, when you install NCS using the Toolchain Manager, you must open SES (or bash/cmd) from the Toolchain Manager for the environment to be configured correctly.
Best regards,
Didrik
Hi Didrik,
thank you for your swift reply and help. now I can build the asset tracker and even the lwm2m_client which will be the base for our application.
Later yesterday the toolchain manager downloaded SDK 1.3.1, but it seems incomplete. When I select the lwm2m_client in the 1.3.1 folder the build process fails again:


For the time being I will continue with lwm2m_client from the 1.3.0 folder which works. Just to let you know there is a problem with 1.3.1.
Best regards
Dirk
Oh the server is listening on the default port, 5683. ipv4
5684 is bootstrap server? We did try that aswell, no luck
Looking at the Leshan Github page, they use both 5683 and 5684 for the LwM2M server, and 5783 and 5784.
You can change the port used by the DK by changing the value of CONFIG_LWM2M_PEER_PORT on line 37 in the prj.conf file of the lwm2m_client sample.
Did you try to change the port on the device or the server side?
We have the LWM2M_PEER_PORT set to 5684.
Try changing it to the port the server is listening to.
Hi Didrik,
I have changed the LWM2M_PEER_PORT to 5683 and now I can connect to Roberts server. Thank you for your help!
Hi Didrik,
I have changed the LWM2M_PEER_PORT to 5683 and now I can connect to Roberts server. Thank you for your help!