# C++ files failing to build

**URL:** https://forum.makecode.com/t/c-files-failing-to-build/1990
**Category:** Maker
**Created:** [May 7, 2020, 9:43am UTC](https://forum.makecode.com/t/c-files-failing-to-build/1990 "2020-05-07T09:43:05Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![luqmaanb](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/luqmaanb/32/504_2.png) [@luqmaanb](https://forum.makecode.com/u/luqmaanb)
#### Post date: [May 7, 2020, 9:43am UTC](https://forum.makecode.com/t/c-files-failing-to-build/1990/1 "2020-05-07T09:43:05Z")

</div>

When I add a .cpp file to my project created with `pxt init`, the build process repeatedly polls as shown below. It doesn’t end.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/1X/81ea366a74e5815f63814cd75ec3f13dbb903486.png).

This issue started yesterday. The .cpp file only has a comment in.

What’s wrong?

---

<div class="post-metadata">

### Author: ![peli](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/peli/32/12_2.png) [@peli](https://forum.makecode.com/u/peli)
#### Post date: [May 24, 2020, 12:22am UTC](https://forum.makecode.com/t/c-files-failing-to-build/1990/2 "2020-05-24T00:22:35Z")

</div>

Add —local to build locally
