它经常修改,幅度还很大。
如果不是特别期望的功能增加,最好不升级。
从1.20升级后,编译遇到错误:
/fwbuild-volumes/1.22.1/apps/one_sensor/esp8266/build_contexts/build_ctx_045456635/libs/rpc-common/src/mg_rpc/mg_rpc_channel_http.c:171: undefined reference to
mg_http_send_digest_auth_request'
/fwbuild-volumes/1.22.1/apps/one_sensor/esp8266/build_contexts/build_ctx_045456635/build/objs/mg_rpc_channel_http.c.o: In function
mg_rpc_channel_http_send_not
_authorized':
/fwbuild-volumes/1.22.1/apps/one_sensor/esp8266/build_contexts/build_ctx_045456635/libs/rpc-common/src/mg_rpc/mg_rpc_channel_http.c:89: undefined reference to
mg_http_send_digest_auth_request'
/fwbuild-volumes/1.22.1/apps/one_sensor/esp8266/build_contexts/build_ctx_045456635/build/objs/mg_rpc_channel_http.c.o:(.text.mg_rpc_channel_http_get_authn_info+
0x8): undefined reference to
mg_http_is_authorized'
问题是,mongoose版本不是最新版,版本不相符问题。
自己做了hack,把mongoose拷贝在project的src下。
做文件更新以后,编译通过。