CMake Error at C:/ncs/zephyr/cmake/kconfig.cmake:264 (message): command failed with return code: 1 Call Stack (most recent call first): C:/ncs/zephyr/cmake/app/boilerplate.cmake:555 (include) C:/ncs/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:24 (include) C:/ncs/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:35 (include_boilerplate) CMakeLists.txt:6 (find_package)
Then I commented out “CONFIG_LOG_IMMEDIATE=y” on line 30 in “prj.conf”. This enabled the build to continue, but it was then stopped by the following error:
In file included from C:/ncs/zephyr/include/sys/cbprintf_internal.h:55, from C:/ncs/zephyr/include/sys/cbprintf.h:38, from C:/ncs/zephyr/include/logging/log_msg2.h:11, from C:/ncs/zephyr/include/logging/log_msg.h:12, from C:/ncs/zephyr/include/logging/log_core.h:9, from C:/ncs/zephyr/include/logging/log.h:11, from ../edge-impulse/ingestion-sdk-platform/NordicSemi-nrf52/ble_nus.h:21, from ../edge-impulse/ingestion-sdk-platform/NordicSemi-nrf52/ble_nus.cpp:1: C:/ncs/zephyr/include/sys/cbprintf_cxx.h: In instantiation of 'size_t z_cbprintf_cxx_arg_size(T) [with T = bt_conn*; size_t = unsigned int]': ../edge-impulse/ingestion-sdk-platform/NordicSemi-nrf52/ble_nus.cpp:428:9: required from here C:/ncs/zephyr/include/sys/cbprintf_cxx.h:79:20: error: invalid use of incomplete type 'struct bt_conn' 79 | return sizeof(arg + 0); | ~~~~~^~~~
Anyone with an idea of what may be the problem here? Maybe you, @mathijs?