Hi,
When building a project with nrfonnect , sdk-nrf v1.7.1 that worked for colleagues I got strange warnings:
and the building aborts.
What is very strange is that some of the files where error are reported do not exist on my file system:
- /media/manu/manuLinux/code/sources.yguel/straTagGem/stratg/nordic_nrf/nrf9160/custom_serial_lte_modem/build/modules/hal_nordic/nrfx/Kconfig
- /media/manu/manuLinux/code/sources.yguel/straTagGem/stratg/nordic_nrf/nrf9160/custom_serial_lte_modem/build/drivers/clock_control/Kconfig.nrf
- /media/manu/manuLinux/code/sources.yguel/straTagGem/stratg/nordic_nrf/nrf9160/custom_serial_lte_modem/build/soc/arm/nordic_nrf/nrf91/Kconfig.series
A lot of things are missing in the build directory that the building is trying to use (/media/manu/manuLinux/code/sources.yguel/straTagGem/stratg/nordic_nrf/nrf9160/custom_serial_lte_modem/build)
- modules/hal_nordic
- drivers
- soc
I also get CMake warning about old behaviors but I do not know if this is related
It correspond tot that policy:
# Use the old CMake behaviour until the build scripts have been ported
# to the new behaviour.
# CMP0079: "target_link_libraries() allows use with targets in other directories"
cmake_policy(SET CMP0079 OLD)
So maybe the problem is related to that ?