ESP8266 Webserver Project

Moderator: Sprite_tm

User avatar
By kadamski
#9389 It does not compile on my system out of the box with esp-open-sdk when I'm using SDK > 0.9.3. This is thanks to c_types-c99.patch. The easiest way to fix this is to change "#if 0" to "#if 1" in c_types.h in your esp-open-sdk installation.

The other way is to remove include/stdint.h and delete "#define _STDINT_H" line from user/heatshrink_decoder.c in your esp-httpd sources.
User avatar
By kadamski
#9409 For me it's git clone + make. Only defaults. The issue is easy to fix but I had no time to investigate why this patch was introduced on esp-open-sdk (I guess it's about making SDK examples compile) nor why are you cheating with stdin in your code (I guess it's needed in older versions of SDK because Espressif screwed something up) so I have no idea how to check if this won't break anything.
User avatar
By platforma
#9424 Thank you kadimski, I have managed to build it uncommenting c_types.h
For the sdk, same as you, git clone && make. I can see now the patch in the last version affecting the httpd build.

Edit: forgive my ignorance regarding the heatshrink git module, should have read the first post carefully :3