LeonardLaszlo / nw.js-armv7-binaries

NW.js ARMv7 and ARMv8 binaries and the scripts for building and running the executable.
145 stars 22 forks source link

How to compile Nw.js 0.36.4 ? #36

Closed wu6692776 closed 4 years ago

wu6692776 commented 4 years ago

This seems to be the last version to access the chrome.serial object

LeonardLaszlo commented 4 years ago

Hello Sir, you can start from https://github.com/LeonardLaszlo/nw.js-armv7-binaries/blob/master/docs/build-nwjs-v0.28.x.md

Have a great day, Leonard.

wu6692776 commented 4 years ago

Thanks, can I compile it with Raspberry Pi4 (8G Ram & 64bit OS) ?

LeonardLaszlo commented 4 years ago

No chance. Only cross compilation works. Also you need a lot of resources to compile this project. A RPi is not a good candidate.

LeonardLaszlo commented 4 years ago

Please checkout https://gist.github.com/llamasoft/33af03b73945a84d7624460d67b922ab I think the patches won't apply automatically, but if you apply them manually you can probably build any version with cross compilation.

Thanks to @llamasoft we can now build newer versions.

LeonardLaszlo commented 4 years ago

Also I recommend to use a virtual machine of a docker container. You don't want to mess up your machine.

wu6692776 commented 4 years ago

Thanks for your support, I will try these later, if I succeed, I will post it here.