This repository was archived by the owner on Dec 5, 2022. It is now read-only.
Repository navigation
This repository was archived by the owner on Dec 5, 2022. It is now read-only.
Errors while compiling on RPi 4B #150
Copy link
Copy link
Open
Description
Hi there,
I'm trying to compile WebChimera.js on my Raspberry Pi 4B (i know you guys said it would not perform well, but i'm a little stubborn). I'm getting the following errors while trying to compile it with build_electron.sh
[1/24] Building CXX object CMakeFiles/WebChimera.js.dir/src/JsVlcInput.cpp.o
FAILED: CMakeFiles/WebChimera.js.dir/src/JsVlcInput.cpp.o
/usr/bin/c++ -DV8_31BIT_SMIS_ON_64BIT_ARCH -DV8_COMPRESS_POINTERS -DV8_REVERSE_JSARGS -DWebChimera_js_EXPORTS -I/home/pi/.cmake-js/electron-arm/v12.0.7/include/node -I../deps -I../deps/libvlc_wrapper/libvlc-sdk/include -O3 -DNDEBUG -fPIC -std=gnu++14 -MD -MT CMakeFiles/WebChimera.js.dir/src/JsVlcInput.cpp.o -MF CMakeFiles/WebChimera.js.dir/src/JsVlcInput.cpp.o.d -o CMakeFiles/WebChimera.js.dir/src/JsVlcInput.cpp.o -c ../src/JsVlcInput.cpp
In file included from /home/pi/.cmake-js/electron-arm/v12.0.7/include/node/v8.h:30,
from /home/pi/.cmake-js/electron-arm/v12.0.7/include/node/node.h:67,
from ../src/JsVlcInput.h:5,
from ../src/JsVlcInput.cpp:1:
/home/pi/.cmake-js/electron-arm/v12.0.7/include/node/v8-internal.h:102:27: error: static assertion failed: Pointer compression can be enabled only for 64-bit architectures
kApiSystemPointerSize == kApiInt64Size,
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/home/pi/.cmake-js/electron-arm/v12.0.7/include/node/v8-internal.h:414:71: warning: left shift count >= width of type [-Wshift-count-overflow]
static constexpr size_t kPtrComprHeapReservationSize = size_t{1} << 32;
^~
/home/pi/.cmake-js/electron-arm/v12.0.7/include/node/v8-internal.h:414:68: error: right operand of shift expression ‘(1 << 32)’ is >= than the precision of the left operand [-fpermissive]
static constexpr size_t kPtrComprHeapReservationSize = size_t{1} << 32;
~~~~~~~~~~^~~~~
/home/pi/.cmake-js/electron-arm/v12.0.7/include/node/v8-internal.h:415:72: warning: left shift count >= width of type [-Wshift-count-overflow]
static constexpr size_t kPtrComprIsolateRootAlignment = size_t{1} << 32;
^~
/home/pi/.cmake-js/electron-arm/v12.0.7/include/node/v8-internal.h:415:69: error: right operand of shift expression ‘(1 << 32)’ is >= than the precision of the left operand [-fpermissive]
static constexpr size_t kPtrComprIsolateRootAlignment = size_t{1} << 32;
~~~~~~~~~~^~~~~
[2/24] Building CXX object CMakeFiles/WebChimera.js.dir/src/JsVlcPlaylist.cpp.o
FAILED: CMakeFiles/WebChimera.js.dir/src/JsVlcPlaylist.cpp.o
/usr/bin/c++ -DV8_31BIT_SMIS_ON_64BIT_ARCH -DV8_COMPRESS_POINTERS -DV8_REVERSE_JSARGS -DWebChimera_js_EXPORTS -I/home/pi/.cmake-js/electron-arm/v12.0.7/include/node -I../deps -I../deps/libvlc_wrapper/libvlc-sdk/include -O3 -DNDEBUG -fPIC -std=gnu++14 -MD -MT CMakeFiles/WebChimera.js.dir/src/JsVlcPlaylist.cpp.o -MF CMakeFiles/WebChimera.js.dir/src/JsVlcPlaylist.cpp.o.d -o CMakeFiles/WebChimera.js.dir/src/JsVlcPlaylist.cpp.o -c ../src/JsVlcPlaylist.cpp
In file included from /home/pi/.cmake-js/electron-arm/v12.0.7/include/node/v8.h:30,
from /home/pi/.cmake-js/electron-arm/v12.0.7/include/node/node.h:67,
from ../src/JsVlcPlaylist.h:3,
from ../src/JsVlcPlaylist.cpp:1:
/home/pi/.cmake-js/electron-arm/v12.0.7/include/node/v8-internal.h:102:27: error: static assertion failed: Pointer compression can be enabled only for 64-bit architectures
kApiSystemPointerSize == kApiInt64Size,
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/home/pi/.cmake-js/electron-arm/v12.0.7/include/node/v8-internal.h:414:71: warning: left shift count >= width of type [-Wshift-count-overflow]
static constexpr size_t kPtrComprHeapReservationSize = size_t{1} << 32;
^~
/home/pi/.cmake-js/electron-arm/v12.0.7/include/node/v8-internal.h:414:68: error: right operand of shift expression ‘(1 << 32)’ is >= than the precision of the left operand [-fpermissive]
static constexpr size_t kPtrComprHeapReservationSize = size_t{1} << 32;
~~~~~~~~~~^~~~~
/home/pi/.cmake-js/electron-arm/v12.0.7/include/node/v8-internal.h:415:72: warning: left shift count >= width of type [-Wshift-count-overflow]
static constexpr size_t kPtrComprIsolateRootAlignment = size_t{1} << 32;
^~
/home/pi/.cmake-js/electron-arm/v12.0.7/include/node/v8-internal.h:415:69: error: right operand of shift expression ‘(1 << 32)’ is >= than the precision of the left operand [-fpermissive]
static constexpr size_t kPtrComprIsolateRootAlignment = size_t{1} << 32;
~~~~~~~~~~^~~~~
[3/24] Building CXX object CMakeFiles/WebChimera.js.dir/src/JsVlcAudio.cpp.o
FAILED: CMakeFiles/WebChimera.js.dir/src/JsVlcAudio.cpp.o
/usr/bin/c++ -DV8_31BIT_SMIS_ON_64BIT_ARCH -DV8_COMPRESS_POINTERS -DV8_REVERSE_JSARGS -DWebChimera_js_EXPORTS -I/home/pi/.cmake-js/electron-arm/v12.0.7/include/node -I../deps -I../deps/libvlc_wrapper/libvlc-sdk/include -O3 -DNDEBUG -fPIC -std=gnu++14 -MD -MT CMakeFiles/WebChimera.js.dir/src/JsVlcAudio.cpp.o -MF CMakeFiles/WebChimera.js.dir/src/JsVlcAudio.cpp.o.d -o CMakeFiles/WebChimera.js.dir/src/JsVlcAudio.cpp.o -c ../src/JsVlcAudio.cpp
In file included from /home/pi/.cmake-js/electron-arm/v12.0.7/include/node/v8.h:30,
from /home/pi/.cmake-js/electron-arm/v12.0.7/include/node/node.h:67,
from ../src/JsVlcAudio.h:5,
from ../src/JsVlcAudio.cpp:1:
/home/pi/.cmake-js/electron-arm/v12.0.7/include/node/v8-internal.h:102:27: error: static assertion failed: Pointer compression can be enabled only for 64-bit architectures
kApiSystemPointerSize == kApiInt64Size,
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/home/pi/.cmake-js/electron-arm/v12.0.7/include/node/v8-internal.h:414:71: warning: left shift count >= width of type [-Wshift-count-overflow]
static constexpr size_t kPtrComprHeapReservationSize = size_t{1} << 32;
^~
/home/pi/.cmake-js/electron-arm/v12.0.7/include/node/v8-internal.h:414:68: error: right operand of shift expression ‘(1 << 32)’ is >= than the precision of the left operand [-fpermissive]
static constexpr size_t kPtrComprHeapReservationSize = size_t{1} << 32;
~~~~~~~~~~^~~~~
/home/pi/.cmake-js/electron-arm/v12.0.7/include/node/v8-internal.h:415:72: warning: left shift count >= width of type [-Wshift-count-overflow]
static constexpr size_t kPtrComprIsolateRootAlignment = size_t{1} << 32;
^~
/home/pi/.cmake-js/electron-arm/v12.0.7/include/node/v8-internal.h:415:69: error: right operand of shift expression ‘(1 << 32)’ is >= than the precision of the left operand [-fpermissive]
static constexpr size_t kPtrComprIsolateRootAlignment = size_t{1} << 32;
~~~~~~~~~~^~~~~
[4/24] Building CXX object CMakeFiles/WebChimera.js.dir/src/JsVlcDeinterlace.cpp.o
FAILED: CMakeFiles/WebChimera.js.dir/src/JsVlcDeinterlace.cpp.o
/usr/bin/c++ -DV8_31BIT_SMIS_ON_64BIT_ARCH -DV8_COMPRESS_POINTERS -DV8_REVERSE_JSARGS -DWebChimera_js_EXPORTS -I/home/pi/.cmake-js/electron-arm/v12.0.7/include/node -I../deps -I../deps/libvlc_wrapper/libvlc-sdk/include -O3 -DNDEBUG -fPIC -std=gnu++14 -MD -MT CMakeFiles/WebChimera.js.dir/src/JsVlcDeinterlace.cpp.o -MF CMakeFiles/WebChimera.js.dir/src/JsVlcDeinterlace.cpp.o.d -o CMakeFiles/WebChimera.js.dir/src/JsVlcDeinterlace.cpp.o -c ../src/JsVlcDeinterlace.cpp
In file included from /home/pi/.cmake-js/electron-arm/v12.0.7/include/node/v8.h:30,
from /home/pi/.cmake-js/electron-arm/v12.0.7/include/node/node.h:67,
from ../src/JsVlcDeinterlace.h:5,
from ../src/JsVlcDeinterlace.cpp:1:
/home/pi/.cmake-js/electron-arm/v12.0.7/include/node/v8-internal.h:102:27: error: static assertion failed: Pointer compression can be enabled only for 64-bit architectures
kApiSystemPointerSize == kApiInt64Size,
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/home/pi/.cmake-js/electron-arm/v12.0.7/include/node/v8-internal.h:414:71: warning: left shift count >= width of type [-Wshift-count-overflow]
static constexpr size_t kPtrComprHeapReservationSize = size_t{1} << 32;
^~
/home/pi/.cmake-js/electron-arm/v12.0.7/include/node/v8-internal.h:414:68: error: right operand of shift expression ‘(1 << 32)’ is >= than the precision of the left operand [-fpermissive]
static constexpr size_t kPtrComprHeapReservationSize = size_t{1} << 32;
~~~~~~~~~~^~~~~
/home/pi/.cmake-js/electron-arm/v12.0.7/include/node/v8-internal.h:415:72: warning: left shift count >= width of type [-Wshift-count-overflow]
static constexpr size_t kPtrComprIsolateRootAlignment = size_t{1} << 32;
^~
/home/pi/.cmake-js/electron-arm/v12.0.7/include/node/v8-internal.h:415:69: error: right operand of shift expression ‘(1 << 32)’ is >= than the precision of the left operand [-fpermissive]
static constexpr size_t kPtrComprIsolateRootAlignment = size_t{1} << 32;
~~~~~~~~~~^~~~~
[5/24] Building CXX object CMakeFiles/WebChimera.js.dir/src/JsVlcMedia.cpp.o
FAILED: CMakeFiles/WebChimera.js.dir/src/JsVlcMedia.cpp.o
/usr/bin/c++ -DV8_31BIT_SMIS_ON_64BIT_ARCH -DV8_COMPRESS_POINTERS -DV8_REVERSE_JSARGS -DWebChimera_js_EXPORTS -I/home/pi/.cmake-js/electron-arm/v12.0.7/include/node -I../deps -I../deps/libvlc_wrapper/libvlc-sdk/include -O3 -DNDEBUG -fPIC -std=gnu++14 -MD -MT CMakeFiles/WebChimera.js.dir/src/JsVlcMedia.cpp.o -MF CMakeFiles/WebChimera.js.dir/src/JsVlcMedia.cpp.o.d -o CMakeFiles/WebChimera.js.dir/src/JsVlcMedia.cpp.o -c ../src/JsVlcMedia.cpp
In file included from /home/pi/.cmake-js/electron-arm/v12.0.7/include/node/v8.h:30,
from /home/pi/.cmake-js/electron-arm/v12.0.7/include/node/node.h:67,
from ../src/JsVlcMedia.h:3,
from ../src/JsVlcMedia.cpp:1:
/home/pi/.cmake-js/electron-arm/v12.0.7/include/node/v8-internal.h:102:27: error: static assertion failed: Pointer compression can be enabled only for 64-bit architectures
kApiSystemPointerSize == kApiInt64Size,
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/home/pi/.cmake-js/electron-arm/v12.0.7/include/node/v8-internal.h:414:71: warning: left shift count >= width of type [-Wshift-count-overflow]
static constexpr size_t kPtrComprHeapReservationSize = size_t{1} << 32;
^~
/home/pi/.cmake-js/electron-arm/v12.0.7/include/node/v8-internal.h:414:68: error: right operand of shift expression ‘(1 << 32)’ is >= than the precision of the left operand [-fpermissive]
static constexpr size_t kPtrComprHeapReservationSize = size_t{1} << 32;
~~~~~~~~~~^~~~~
/home/pi/.cmake-js/electron-arm/v12.0.7/include/node/v8-internal.h:415:72: warning: left shift count >= width of type [-Wshift-count-overflow]
static constexpr size_t kPtrComprIsolateRootAlignment = size_t{1} << 32;
^~
/home/pi/.cmake-js/electron-arm/v12.0.7/include/node/v8-internal.h:415:69: error: right operand of shift expression ‘(1 << 32)’ is >= than the precision of the left operand [-fpermissive]
static constexpr size_t kPtrComprIsolateRootAlignment = size_t{1} << 32;
~~~~~~~~~~^~~~~
[6/24] Building CXX object CMakeFiles/WebChimera.js.dir/src/JsVlcPlayer.cpp.o
FAILED: CMakeFiles/WebChimera.js.dir/src/JsVlcPlayer.cpp.o
/usr/bin/c++ -DV8_31BIT_SMIS_ON_64BIT_ARCH -DV8_COMPRESS_POINTERS -DV8_REVERSE_JSARGS -DWebChimera_js_EXPORTS -I/home/pi/.cmake-js/electron-arm/v12.0.7/include/node -I../deps -I../deps/libvlc_wrapper/libvlc-sdk/include -O3 -DNDEBUG -fPIC -std=gnu++14 -MD -MT CMakeFiles/WebChimera.js.dir/src/JsVlcPlayer.cpp.o -MF CMakeFiles/WebChimera.js.dir/src/JsVlcPlayer.cpp.o.d -o CMakeFiles/WebChimera.js.dir/src/JsVlcPlayer.cpp.o -c ../src/JsVlcPlayer.cpp
In file included from /home/pi/.cmake-js/electron-arm/v12.0.7/include/node/v8.h:30,
from /home/pi/.cmake-js/electron-arm/v12.0.7/include/node/node.h:67,
from ../src/JsVlcPlayer.h:7,
from ../src/JsVlcPlayer.cpp:1:
/home/pi/.cmake-js/electron-arm/v12.0.7/include/node/v8-internal.h:102:27: error: static assertion failed: Pointer compression can be enabled only for 64-bit architectures
kApiSystemPointerSize == kApiInt64Size,
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/home/pi/.cmake-js/electron-arm/v12.0.7/include/node/v8-internal.h:414:71: warning: left shift count >= width of type [-Wshift-count-overflow]
static constexpr size_t kPtrComprHeapReservationSize = size_t{1} << 32;
^~
/home/pi/.cmake-js/electron-arm/v12.0.7/include/node/v8-internal.h:414:68: error: right operand of shift expression ‘(1 << 32)’ is >= than the precision of the left operand [-fpermissive]
static constexpr size_t kPtrComprHeapReservationSize = size_t{1} << 32;
~~~~~~~~~~^~~~~
/home/pi/.cmake-js/electron-arm/v12.0.7/include/node/v8-internal.h:415:72: warning: left shift count >= width of type [-Wshift-count-overflow]
static constexpr size_t kPtrComprIsolateRootAlignment = size_t{1} << 32;
^~
/home/pi/.cmake-js/electron-arm/v12.0.7/include/node/v8-internal.h:415:69: error: right operand of shift expression ‘(1 << 32)’ is >= than the precision of the left operand [-fpermissive]
static constexpr size_t kPtrComprIsolateRootAlignment = size_t{1} << 32;
~~~~~~~~~~^~~~~
ninja: build stopped: subcommand failed.
I've tried playing Full HD 60fps content in VLC which ran without any issue, which gives me hope WebChimera may work as well. I know it's quite a big log, but thanks in advance for sticking with me.
-Alwin
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Activity
RSATom commentedon Oct 10, 2021
I think problem is here:
https://github.com/RSATom/WebChimera.js/blob/master/CMakeLists.txt#L42
Try comment that block (with
#symbol) and rebuildRSATom commentedon Oct 10, 2021
But it doesn't have any meaning due to #146
alwinlubbers commentedon Oct 10, 2021
Well, i've tried building WebChimera as you described, and the VLC part of it works. onFrameSetup and onFrameReady are never called. I'm getting the following output:
RSATom commentedon Oct 10, 2021
WebChimera.js on Linux is totally broken...