Error while building ZephyrOS-Firmeware with CMake/Ninja and CPLUSPLUS C++ #builds #ninja #c++ #builds #nrf52840 #bootstrap #ninja #zephyr
But there is a problem with programs that need C++, which support is activated with "CONFIG_CPLUSPLUS=y" in Config-File (https://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_CPLUSPLUS.html).
When I try to build the sample ("echo_server" sample vom samples/net/socket/echo_server) with "cmake -GNinja -DBOARD=nrf52840_pca10056 -DCONF_FILE="prj.conf overlay-ot.conf" .." eveything seams to work so far:
But, when I then run "ninja" to create .hex-File I get an error:
"FAILED: zephyr/ext_proj/STamp/ot/ot-bootstrap The command ".\bootstrap" can not be found or is written wrong No patch step for 'ot'" "
I think it has something to do with my Complier and/or C++ because when I change to "CONFIG_CPLUSPLUS=n" in the .conf-File, it builds the binaries without any errors. The problem is that without C++-support I can not use some features I want to use (Openthread) because they depend on C++.
I'm using Windows 10, GNU_ARM_Embedded_Toolchain (7-2018q2) and with other Tools from the Getting Started Guide from Zephyr (Python3, pip, west, Ninja, CMake). (https://docs.zephyrproject.org/latest/getting_started/index.html)
Hope you have some ideas, thanks for your help! With best regards
Sebastian,toggle quoted messageShow quoted text
The builds list is for reporting from our CI. Its best to ask this question on the ‘user' or ‘devel' lists.
On Jun 1, 2019, at 2:49 PM, sebastian.miethe94@... wrote: