esp-open-sdk icon indicating copy to clipboard operation
esp-open-sdk copied to clipboard

Compilation error

Open daitangio opened this issue 6 years ago • 0 comments

Hi, I tried to compile revision 2c05f6fa28fe267706b0876eedfcbdd14abf653f on windows 10 but I got a bunch of errors like

user/user_main.c: In function 'console_handle_command': user/user_main.c:50:20: error: storage size of 'flash_str' isn't known static const char flash_str[] ICACHE_RODATA_ATTR STORE_ATTR = fmt;
^ user/user_main.c:832:9: note: in expansion of macro 'os_sprintf_flash' os_sprintf_flash(response, "set [ssid|password|auto_connect|ap_ssid|ap_password|ap_on|ap_open|nat] \r\n"); ^ user/user_main.c:50:51: error: expected ',' or ';' before 'STORE_ATTR' static const char flash_str[] ICACHE_RODATA_ATTR STORE_ATTR = fmt;
^ user/user_main.c:832:9: note: in expansion of macro 'os_sprintf_flash' os_sprintf_flash(response, "set [ssid|password|auto_connect|ap_ssid|ap_password|ap_on|ap_open|nat] \r\n"); ^ user/user_main.c:50:20: error: storage size of 'flash_str' isn't known static const char flash_str[] ICACHE_RODATA_ATTR STORE_ATTR = fmt; \

Where am I wrong?

daitangio avatar May 06 '18 08:05 daitangio