I downloaded the example code for running wasmr on the esp32, and it failed to compile as it couldn't find arpa/inet.h. The reason for this is that espressif has recently modularized the esp-idf, and this header is in esp_lwip. I added lwip to set (COMPONENTS ${IDF_TARGET} lwip main freertos esptool_py wamr)
. This fixed that issue, but then I keep getting that it can't find esp_timer.h. This is in esp_timer component, but adding it to the set doesn't fix the issue
This topic was moved here from #general > using wasmr on esp-idf by Bailey Hayes.
@dongsheng.yan Hi dongsheng, do you have any idea about this issue?
organo said:
I downloaded the example code for running wasmr on the esp32, and it failed to compile as it couldn't find arpa/inet.h. The reason for this is that espressif has recently modularized the esp-idf, and this header is in esp_lwip. I added lwip to
set (COMPONENTS ${IDF_TARGET} lwip main freertos esptool_py wamr)
. This fixed that issue, but then I keep getting that it can't find esp_timer.h. This is in esp_timer component, but adding it to the set doesn't fix the issue
hi, @organo , you are testing wamr or wasmer on esp32? and what's version esp-idf installed in your system?
hi @dongsheng.yan, wamr and ESP-IDF v5.1-dev-3972-g1559b6309f
organo said:
hi dongsheng.yan, wamr and ESP-IDF v5.1-dev-3972-g1559b6309f
@organo , could you check if this PR fix your isssue? https://github.com/bytecodealliance/wasm-micro-runtime/pull/2050
Last updated: Dec 23 2024 at 12:05 UTC