Closed PilchardFriendly closed 1 year ago
In my experience this is usually due to the compiler running out of memory. Forcing it to build the packages sequentially is often the easiest away around this -- if you use make -j 1 ...
instead of -j$(nproc)
you can make it use only one thread. There is hopefully a sweet spot between 1 and nproc.
That indeed fix it. Thanks! (I settled on 4).
Description:
In an attempt to make working with the Docker build a bit more interactive, I've converted the Dockerfile to a multistage build, factoring dependencies into build layers. The docker file is attached.
I'm currently on a MacBook M1 Pro
My first thoughts are this is a resource usage problem, rather than a straight compilation issue - but I'm often wrong.
Command:
Console output:
Additional files: Please attach all the files needed to reproduce the error.
script/docker/Dockerfile
Please give also the following information:
opencv_version
3.3.1