justadudewhohacks / justadudewhohacks/opencv4nodejs

Can't build on debian/linux

Open
#791 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
5.1k
Forks
826
PR merge metrics
No merged PRs in 30d

Description

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:
```terminal
/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
```
```temrinal
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

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.