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
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,
after some weeks of work with our own hardware radio connectivity issues, I am now back working on the software. We have bad LTE-M1 reception conditions here and are not able to connect to the network with our custom board. The hardware reasons are pretty clear and it work when we drive to another location.
In order to design and test the remaining software I am using Segger Embedded Studio from the latest SDK 1.4.0.
The problem is I can start the application and singlestep through part of our own code, when the LTE network connection process starts SES however crashes and will not reply to anything. I have to restart the computer to get it working again. I normally use Crossworks from Rowley which seems to be the origin of SES, but have never ever experienced so many problems and crashses as with SES. I have even turned of the VPN since I have problems with the SDK due to that before but it did not help.
I dont know if this should be a new thread?
Best regards
Dirk
Hi Didrik,
after some weeks of work with our own hardware radio connectivity issues, I am now back working on the software. We have bad LTE-M1 reception conditions here and are not able to connect to the network with our custom board. The hardware reasons are pretty clear and it work when we drive to another location.
In order to design and test the remaining software I am using Segger Embedded Studio from the latest SDK 1.4.0.
The problem is I can start the application and singlestep through part of our own code, when the LTE network connection process starts SES however crashes and will not reply to anything. I have to restart the computer to get it working again. I normally use Crossworks from Rowley which seems to be the origin of SES, but have never ever experienced so many problems and crashses as with SES. I have even turned of the VPN since I have problems with the SDK due to that before but it did not help.
I dont know if this should be a new thread?
Best regards
Dirk
Hi, that sounds like a strange problem.
But yes, I think it is best to create a new ticket for it.