ralphwetzel / node-red-mcu-plugin

Plugin to support the Node-RED implementation for microcontrollers
MIT License
35 stars 8 forks source link

Need instructions on how to build moddable SDK... #9

Open tve opened 1 year ago

tve commented 1 year ago

I believe I followed the instructions to install the moddable SDK correctly, but node-red-mcu-plugin doesn't like it... Or perhaps it's node-red-mcu's fault :-) I'm hitting deploy, trying to build for the simulator and I get:

/usr/src/moddable/build/bin/lin/release/mcconfig: line 3: /usr/src/moddable/build/bin/lin/release/tools: No such file or directory

Contrary to the error messages, /usr/src/moddable/build/bin/lin/release/tools actually exists, but is an empty directory. All the executables are in /usr/src/moddable/build/bin/lin/debug. What did I do wrong or what did I omit?

ralphwetzel commented 1 year ago

This looks like the Moddable SDK wasn't compiled completely. Both directories should be full of tools. Just keep in mind, that there's - exclusively for Linux environments - an additional make install step necessary (Step 8).

tve commented 1 year ago

I think the install step didn't complete properly. I ran it without sudo to see where it's trying to put stuff. I'm not thrilled about source packages plastering stuff all over the system, it makes for nightmares down the road. And then when I ran it with sudo I had the feeling it skipped over stuff...

ralphwetzel commented 1 year ago

Have you been able to clarify this issue?