Decawave / mynewt-dw1000-apps

[DEPRECATED] Use https://github.com/Decawave/uwb-apps for new designs.
Apache License 2.0
30 stars 22 forks source link

Compile error on Mac #9

Closed charuwalee closed 5 years ago

charuwalee commented 5 years ago

Hi,

I've tried to build the twr_tag_tdma application. Everything went well until step 6 when I type the command

newt run twr_tag_tdma 0

I got a compile error message as follows

Screen Shot 2562-03-13 at 13 59 27

and the build process stopped.

I'm using Mac Mojave version 10.14.3.

Thank you in advance. Charuwalee

ftianf commented 5 years ago

I have seen this on my ubuntu as well, you can either upgrade your tool chain (your one might have bug "https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53119"), or suppress the warning by adding "-Wno-missing-braces" to ./repos/apache-mynewt-core/compiler/arm-none-eabi-m4/compiler.yml

pkettle commented 5 years ago

Hi Feng, Thanks for this.

charuwalee commented 5 years ago

Hello ftianf,

Thank so much for your help. It works now!!

Charuwalee