xeebot 5 Posted January 1, 2018 Share Posted January 1, 2018 Good morning! I set up a new install of Windows with CCS and Energia installed. While going through the quick start guide, I found I was unable to compile the Blink example. I assumed that the issue was due to using the drivers from Ti's SDK rather than DPInst64 - I was unable to get a copy of the drivers posted here. After obtaining the drivers and installing, I still get the same error. I have also installed Energia on a second and get the same errors during compile. Error messages are below: <command-line>:0:15: warning: ISO C++11 requires whitespace after the macro name In file included from c:\users\doug\appdata\local\energia15\packages\energia\tools\arm-none-eabi-gcc\6.3.1-20170620\arm-none-eabi\include\string.h:10:0, from C:\Users\Doug\AppData\Local\Energia15\packages\energia\hardware\cc3200\1.0.2\cores\cc3200/Energia.h:8, from C:\Users\Doug\AppData\Local\Energia15\packages\energia\hardware\cc3200\1.0.2\cores\cc3200/Arduino.h:3, from C:\Users\Doug\AppData\Local\Temp\builda9304c47a9d01225cec361d757013532.tmp\sketch\Blink.ino.cpp:1: c:\users\doug\appdata\local\energia15\packages\energia\tools\arm-none-eabi-gcc\6.3.1-20170620\arm-none-eabi\include\stdlib.h:225:8: error: conflicting declaration of C function 'char* utoa(unsigned int, char*, int)' char * _EXFUN(utoa,(unsigned, char *, int)); ^ In file included from C:\Users\Doug\AppData\Local\Energia15\packages\energia\hardware\cc3200\1.0.2\cores\cc3200/Energia.h:10:0, from C:\Users\Doug\AppData\Local\Energia15\packages\energia\hardware\cc3200\1.0.2\cores\cc3200/Arduino.h:3, from C:\Users\Doug\AppData\Local\Temp\builda9304c47a9d01225cec361d757013532.tmp\sketch\Blink.ino.cpp:1: C:\Users\Doug\AppData\Local\Energia15\packages\energia\hardware\cc3200\1.0.2\cores\cc3200/itoa.h:34:14: note: previous declaration 'char* utoa(long unsigned int, char*, int)' extern char* utoa( unsigned long value, char *string, int radix ) ; ^~~~ exit status 1 Error compiling for board CC3200-LAUNCHXL (80MHz). Any assistance would be appreciated. Quote Link to post Share on other sites
Rei Vilo 695 Posted January 1, 2018 Share Posted January 1, 2018 Please refer to Blink fails to compile with V 1.0.2 of the core libraries #18 and itoa.h Issue with CC3200 Examples #19 for a solution. Quote Link to post Share on other sites
xeebot 5 Posted January 1, 2018 Author Share Posted January 1, 2018 That did it. I removed the 6.3 folder and it compiles. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.