Open mshioji opened 1 year ago
Thank you for the detailed report. I haven't heard of this issue before your report. We'll try to reproduce it here.
Hello @mshioji,
I was able to reproduce your error if I skip step 8 of the linux install instructions: https://www.moddable.com/documentation/devices/esp32#lin-instructions
8: Run the ESP-IDF install script. This will install the proper cross-compilation toolchain and utilities needed for the ESP-IDF build.
cd $IDF_PATH
./install.sh
Please do this step, then follow with source $IDF_PATH/export.sh
.
Hello @mkellner and @phoddie,
Thank you for your quick reply. Yes, actually I also thought that the step 8 solve the problem but the situation are the same. The error message also recommended to run install.sh so I tried several times but the situation are the same. This error is happened even if the install was made by xs-dev's automated process, I think it doesn't skip step 8. I wonder what's going on.
I'd further try to separate an issue, then found something like this:
Now I found 64bit OS would be OK, therefore now it is no problem for my educational project. however, 32bit version of Raspberry Pi OS is still recommended as a default on Raspberry Pi imager so I little concern if the other people try to install it on 32bit OS and failed.
Thank you very much,
@mshioji – That's good progress. Great that you now have it working.
It looks like there are two options: switch to using the 64-bit installation or fix the issue on the 32-bit installation. That's for @mkellner to decide.
Hello @phoddie and @mkellner, Thank you for the comment. Yes, I will go with 64bit on my recent project so it's no problem. now it's not an urgent but if you guys would consider continuing investigation, I also continue for this.
Thank you very much,
Hello, I recently trying to setup Moddable SDK into new Raspberry Pi for educational purpose. however, it seems installing esp-idf something goes wrong.
Installing Moddable SDK, it's OK. hello world works fine. But after installing esp-idf for ESP32, when I hit “source $IDF_PATH/export.sh” I got following Warnings and Errors:
The warning said "tool was not found", but when I open esp-idf directly, it is not empty. It seems tools are installed correctly.
Error message said "Please run '/home/oclpi/.local/share/esp32/esp-idf/install.sh' to install it.", but it doesn't solve the problem.
I've done many Moddable SDK installations and ESP32 device setups in the past, but this is the first time I've had this symptom. Installation on Raspberry Pi was also not a problem before, so I wonder why... Could anyone reproduce the same symptoms?
I also tried with xs-dev.
I tried above twice, (2 manually, x2 xs-dev ) but four trials all failed. ><
Thank you,