Discuss here different C compiler set ups, and compiling executables for the ESP8266

User avatar
By CHERTS
#12521
zhivko wrote:I tried this following first post in this topic and I get:

invalid suffix on literal; C++11 requires a space between literal and identifier [-Werror=literal-suffix] Basic_Serial line 213, external location: c:\Espressif\ESP8266_SDK\include\lwip\ip_addr.h C/C++ Problem

Anybody knows how to fix this?


Now fix C:\Espressif\ESP8266_SDK\include\lwip\ip_addr.h

Code: Select all--- ip_addr.h.orig   2014-12-19 15:07:44.000000000 +0500
+++ ip_addr.h   2015-03-20 15:50:40.769937000 +0500
@@ -210,7 +210,7 @@
#define ip_addr_islinklocal(addr1) (((addr1)->addr & PP_HTONL(0xffff0000UL)) == PP_HTONL(0xa9fe0000UL))
#define ip_addr_debug_print(debug, ipaddr) \
-  LWIP_DEBUGF(debug, ("%"U16_F".%"U16_F".%"U16_F".%"U16_F,  \
+  LWIP_DEBUGF(debug, ("%" U16_F ".%" U16_F ".%" U16_F ".%" U16_F,  \
  ipaddr != NULL ? ip4_addr1_16(ipaddr) : 0,  \
  ipaddr != NULL ? ip4_addr2_16(ipaddr) : 0,  \
  ipaddr != NULL ? ip4_addr3_16(ipaddr) : 0,  \
 
User avatar
By gelkov
#12566 Hi all,
at the begging of my post I would like to thank you for the perfect instructions and great posts!
Before a mount I 've bought an ESO8266 module. I've installed the Eclipse environment, I tried some of the examples - some of them are working properly, some of them no and I've tried to run the code in Eclipse to try to debug the problems ( maybe not a problem - most probably my misunderstanding :) ). The problem is that when I try to run the code of the "Hello world " example in the eclipse IDE there is an error that says: " Launch failed. Binary not found". Can somebody help me with that. Is it possible to run the code in the Eclipse?

Thank you in advance!
User avatar
By CHERTS
#12588
gelkov wrote:Hi all,
at the begging of my post I would like to thank you for the perfect instructions and great posts!
Before a mount I 've bought an ESO8266 module. I've installed the Eclipse environment, I tried some of the examples - some of them are working properly, some of them no and I've tried to run the code in Eclipse to try to debug the problems ( maybe not a problem - most probably my misunderstanding :) ). The problem is that when I try to run the code of the "Hello world " example in the eclipse IDE there is an error that says: " Launch failed. Binary not found". Can somebody help me with that. Is it possible to run the code in the Eclipse?

Thank you in advance!


Contact me by an email <sleuthhound@gmail.com> what you are having problems with any examples, attach screenshots of error of Eclipse.