C++ with Azure Sphere SDK

ivan 100 Reputation points


I wonder if Azure Sphere SDK supports C++.

I can't find an stdc++ library on Sysroots of the Azure Sphere SDK directory.

my simple blink C++ project can't build as below since can't find the stdc++ library.

Blink *blink = new Blink(TEMPLATE_LED);

main.cpp:11: undefined reference to `operator new(unsigned int)'


Azure Sphere
Azure Sphere
An Azure internet of things security solution including hardware, operating system, and cloud components.
153 questions
0 comments No comments
{count} votes

Accepted answer
  1. AshokPeddakotla-MSFT 22,206 Reputation points

    @ivan Greetings!

    Azure Sphere supports C++ development. However, the Azure Sphere SDK does not include the standard C++ library.

    There is a blink demo with C++ support here. Please check and let us know if that helps.

    Please follow the guidelines on how to run the sample.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful