Fresh builds for ARM

41 views
Skip to first unread message

Denys Khanzhyiev

unread,
May 16, 2014, 4:27:49 AM5/16/14
to node-webkit
Hello,

is there any fresh nw builds for ARM (armhf).  I am interested in builds for Odroid U3.

I have found one here
but it is a bit outdated and also has problems with AudioContext and crashes when I try to access Dev Tools

I also have found an instruction for building

https://gist.github.com/drmonty/8104267

Is it actual? Is says It takes several hours to build and It will not be funny to get linking errors after 4 hours :-).

Thanks

Denys Khanzhyiev

unread,
May 17, 2014, 2:00:47 PM5/17/14
to node-webkit
This instruction does not work for me


I am getting build error

#
# Fatal error in ../../v8/src/isolate.cc, line 2297
# CHECK_EQ(static_cast<int>(OFFSET_OF(Isolate, heap_.roots_)), Internals::kIsolateRootsOffset) failed
#   Expected: 20
#   Found: 16
#

Denys Khanzhyiev

unread,
May 17, 2014, 7:34:09 PM5/17/14
to node-webkit
It is not obvious from build instructions how to checkout specific version on Node Webkit. 
Let's say I want to try to build v0.8.4 with same version of node and others as original.

I can checkout tags of main repository, but there are other repos  in third_party, or in v8, etc..
Do I have to checkout all that manually?

Roger Wang

unread,
May 18, 2014, 12:21:54 AM5/18/14
to node-...@googlegroups.com
To build a specific version you can checkout tag of the root chromium repo and then do gclient sync. and then checkout the tag of the other 5 repos.

Roger

Denys Khanzhyiev

unread,
May 18, 2014, 3:49:58 AM5/18/14
to node-webkit
Ok I have done 

gclient sync
on root

src

for https://github.com/rogerwang/node-webkit
checkout nw-v0.8.4 
in
src/content/nw

checkout nw-v0.8.4 
in
src/third_party/WebKit

checkout nw-v0.8.4 
in
src/breakpad/src

checkout nw-v0.8.4 
in
src/v8

checkout v0.10.24 
in
src/third_party/node

and I am getting

./build/gyp_chromium content/content.gyp
Updating projects from gyp files...
Using overrides found in /home/odroid/.gyp/include.gypi
gyp: webkit/support/webkit_support.gyp not found (cwd: /media/odroid/usb_hard/node-webkit/src)
gyp: Undefined variable node_tag in third_party/node/node.gyp





--
You received this message because you are subscribed to the Google Groups "node-webkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-webkit...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Denys Khanzhyiev

unread,
May 18, 2014, 4:02:10 AM5/18/14
to node-webkit
Ok 

gyp: Undefined variable node_tag in third_party/node/node.gyp
I fixed by 
checkout nw-v0.8.4
in
src/third_party/node

but what with 

gyp: webkit/support/webkit_support.gyp not found (cwd: /media/odroid/usb_hard/node-webkit/src)
?

Denys Khanzhyiev

unread,
May 18, 2014, 4:28:40 AM5/18/14
to node-webkit
ok there is no webkit/support/webkit_support.gyp
after 
checkout nw-v0.8.4
in src
it is there

but now  i get 
gyp: Dependency 'third_party/angle_dx11/src/build_angle.gyp:translator_glsl#target' not found while trying to load target third_party/WebKit/Source/web/web.gyp:webkit#target

so it needs 

gclient sync again?

how to break the loop ?



Denys Khanzhyiev

unread,
May 20, 2014, 7:54:44 AM5/20/14
to node-webkit
So how to build nw-v0.8.4 ?
When I run
gclient sync
on root repo
it reverts back to node head.

Denys Khanzhyiev

unread,
Jun 8, 2014, 8:22:15 PM6/8/14
to node-webkit
Finally I have successfully built NW 0.8.4 on Odroid U3. 

Here is updated instruction

And my release is more stable than one i have downloaded before.

I was trying to build from HEAD and nw-v0.9.2 with no success due to compilation errors.
May be I will try to work out those later

for example this 

# Fatal error in ../../v8/src/isolate.cc, line 2297
# CHECK_EQ(static_cast<int>(OFFSET_OF(Isolate, heap_.roots_)), Internals::kIsolateRootsOffset) failed
#   Expected: 20
#   Found: 16
#

is caused by definitions in v8.h for Internals::kIsolateRootsOffset
there are two variants there for MSVC and others
and activating MSVC variant solves this error but I do not know if it is correct to use MSVC variant here...





Denys Khanzhyiev

unread,
Jun 9, 2014, 11:05:58 AM6/9/14
to node-webkit
Ok I have managed to build nw-v0.9.2 
The only problem is that WebAudio is not working 
when I create webkitAudioContext I get 

[27076:0609/180411:ERROR:audio_manager_base.cc(422)] Not implemented reached in virtual std::string media::AudioManagerBase::GetDefaultOutputDeviceID()

in terminal

Denys Khanzhyiev

unread,
Jun 9, 2014, 11:38:38 AM6/9/14
to node-webkit
Here is instruction to build nw 0.9.2 on odroid U3 under Ubuntu 13.10



here is binaries
for armhf(amrv7) node-webkit-v0.8.4

for armhf(amrv7) node-webkit-v0.9.2

as I said in previous message I get 

[27076:0609/180411:ERROR:audio_manager_base.cc(422)] Not implemented reached in virtual std::string media::AudioManagerBase::GetDefaultOutputDeviceID()

when I create webkitAudioContext
ot this builds

so it looks like no audio yet.





Laszlo Z. Antal

unread,
Jun 9, 2014, 12:04:08 PM6/9/14
to node-...@googlegroups.com
Hi,


On Jun 9, 2014, at 8:38, Denys Khanzhyiev <xde...@gmail.com> wrote:

Here is instruction to build nw 0.9.2 on odroid U3 under Ubuntu 13.10



here is binaries
for armhf(amrv7) node-webkit-v0.8.4

for armhf(amrv7) node-webkit-v0.9.2

as I said in previous message I get 

[27076:0609/180411:ERROR:audio_manager_base.cc(422)] Not implemented reached in virtual std::string media::AudioManagerBase::GetDefaultOutputDeviceID()

when I create webkitAudioContext
ot this builds

so it looks like no audio yet.


Great work!!!! Thanks for sharing!

Laszlo

Denys Khanzhyiev

unread,
Jun 26, 2014, 1:14:06 AM6/26/14
to node-webkit
I have successfully built current  HEAD of nw branch of root repository.

The problem is the same as with previous tries - no audio.
Youtube does not work due to problems with media playback,
I tried to replace libffmpegsumo.so with original from chromium and 
taa daa it works

Though still has some problems - sometimes it does not work when you open next page with audio.

So it is obvious that I have something wrong with building libffmpegsumo.so.
My version and one in chromium differ in size 800Kb vs 1400kb

process.versions reports
chromium: "35.0.1916.113"

cromium is 
Version 34.0.1847.116 Ubuntu 14.04 aura (260972)


Any tips to properly build  libffmpegsumo.so under Ubuntu14.04 for armhf on device?
Parameters used now are here

rab...@solid-run.com

unread,
Dec 15, 2014, 3:55:45 PM12/15/14
to node-...@googlegroups.com
Denys - which platform are you running on?
I'v downloaded your nw-0.9.2 build (and i'v tried building it myself) and it crashes like my nw-0.9.2 build -
[31024:1215/205453:WARNING:crash_handler_host_linux.cc(310)] Could not translate tid - assuming crashing thread is thread group leader; syscall_supported=1
[31024:1215/205453:ERROR:breakpad_linux.cc(1225)] crash dump file written to /tmp/chromium-renderer-minidump-46a51aa1eaf98654.dmp

Denys Khanzhyiev

unread,
Dec 15, 2014, 4:40:43 PM12/15/14
to node-webkit
Odroid U3

--
Reply all
Reply to author
Forward
0 new messages