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

User avatar
By alonewolfx2
#3340 its working now. i dont change anything just restart ubuntu and worked :x
User avatar
By sej7278
#4111 there's definitely something wrong when compiling IoT_Demo with 0.9.3 (from esp-open-sdk) and the community Makefile, i'm getting the same errors from user_webserver.c and user_json.c and adding -DJSON_FORMAT to CFLAGS makes no difference (even though i can see from the code it should!). this is on debian sid.

blink and basic_example work fine. the old "at" example builds if you add the upgrade lib back into LIBS, the IoT_Demo Makefile that comes with the SDK doesn't work at all.

its funny how every new SDK release completely breaks backwards-compatibility.
User avatar
By alonewolfx2
#4112 Try add json lib in your makefile
User avatar
By sej7278
#4124
alonewolfx2 wrote:Try add json lib in your makefile


that did it thanks! this set of libs seems to build all the demo's:

Code: Select allLIBS      = c gcc hal pp phy net80211 lwip wpa main upgrade json