Hello,
When I try to run a project containing a .cpp file, I get the following console output:
I am compiling the openthread client example with a slight modification. So far the only difference between the ncs openthread example and my project is that I have created a main.cpp file which calls main() instead of calling main() in coap_client.c. If I change the file extensions to .c it runs normally. Why is this? CONFIG_CPLUSPLUS is enabled in the prj.conf file. The same behaviour happens with the coap_server.c example.
Also, the two following errors always occur, even when running the example without any changes:
E: Timeout while waiting network interface
E: Network initialization failed (-115)
What does this mean?