Closed intromatt closed 7 years ago
It probably would but it probably would be laggy due to memory usage of Electron/VSCode. If you have any other apps open that might be the problem
I followed the setup script and got the icon but sadly the app will not open. Is there something I may be missing.
Thank you very much for your help.
(If this is a problem I will order a Pi3)..
Try running this:
/usr/share/code-oss/code-oss
What's the output?
Segmentation fault
I am SSHing and executed the command
I'm on latest build, Pi 3, and have nothing like this.
I suspect it may not be possible to run on the Pi Zero W, at least not yet, I'm afraid.
The Pi Zero W runs on the same Broadcom BCM2835 that the original Pi does - which is ARMv6 rather than ARMv7.
The parts that this project is building could target ARMv6 easily enough, but the binary Electron builds from their sources target ARMv7 has a baseline, which is almost certainly what's causing your segmentation faults.
I'm hoping to extend the nightly builds out to libchromiumcontent and Electron so that I can add ARM64 support to the Electron binaries - it will hopefully be possible to also add ARMv6 support at that time - but I have no idea what the timeframe for that will be unfortunately.
As a side note, even if we get it building, the BCM2835 will almost certainly struggle to run VS Code at a usable speed (single core, low frequency). I'm still interested in getting it running though for the fun of it. :-)
Thank you very much for the explanation and everything makes complete sense to me. Looks like I will just have to order my 6th Pi3.
Cheers from Bulgaria.
Closing this out for now as we're limited in terms of what we can do about it until libchromiumcontent and Electron support more ARM variants
thanx again.
I am sorry if this is an ignorant question but is it possible to run Code on a PiZeroW.
I followed the steps but sadly it doesn't open (I can see the icon).
thank you.