I set up the environment for the nRF9160 as it was specified and downloaded the git-hub code https://github.com/NordicPlayground/fw-nrfconnect-nrf (environment 1) and I tested the gps code and it worked fine. When I tried to run the Hello-world and CoAP code https://github.com/ExploratoryEngineering/nrf9160-telenor/tree/master/samples it didn't work until I created a new environment just for it. So now I have 2 environments. I am trying to merge them. But i get errors even tho I copied all the libs and and checked the checklists.
To summarize I want to know the dependencies that i need to change for adding new codes to make it work.
I get an error fatal error: modem/lte_lc.h: No such file or directory #include <modem/lte_lc.h> when i try to run the hello world in the environment (1). I added he lte lib but when I try to add it in the kconfig file (rsource "lte_link_control/Kconfig") It fails right away without even trying to build. what is the steps for adding a lib.