justadudewhohacks/opencv4nodejs

Can't build on debian/linux

gbkwiatt opened this issue · 0 comments

I have installed opencv4nodejs without problems on raspberry PI4.
Now I want to install it on raspberry pi 3 and I just can't make it to build.

it always fails around 30-33% with different errors every time:
I've tried to build 3.x and 4.x versions
I think it always fails on IlmImf
some errors:

/home/pi/ipCameraApi/node_modules/opencv-build/opencv/opencv/3rdparty/protobuf/src/google/protobuf/descriptor.cc:3738:1: internal compiler error: Segmentation fault
 }
 ^
0x76b2011f ???
        ../sysdeps/unix/sysv/linux/arm/sigrestorer.S:64
cv/3rdparty/openexr/IlmImf/ImfHeader.cpp:43:
/usr/include/c++/8/bits/basic_string.tcc:1172:41: internal compiler error: Segmentation fault
     basic_string<_CharT, _Traits, _Alloc>
                                         ^
0x76aa111f ???
        ../sysdeps/unix/sysv/linux/arm/sigrestorer.S:64
0x76a8b717 __libc_start_main
        /build/glibc-FUvrFr/glibc-2.28/csu/libc-start.c:308