the last steps are mostly linking steps. linking takes LOTS of RAM and also CPU.
post everything you do, all the configuration. maybe we can see an issue there. use the post editor’s “preformatted text” styling for this information.
@ jstr0437. What’s rpi model? And what swap size before make j-4?
Btw, when is reached @ 99% Did you get an error or not? If not, then probably take a little long than up to 45 minutes unstill 100% completed done. Mine took about less than an 45 to an hour to completed.
I’m wondering how to post it when keyboard & mouse lock up. I’ve restarted the thing a couple times but obviously the output gets wiped out when I do that.
– Looking for ccache - not found
…
– Performing Test HAVE_C_WSUGGEST_OVERRIDE - Failed
– Performing Test HAVE_CPU_FP16_SUPPORT - Failed
– Performing Test HAVE_C_FVISIBILITY_INLINES_HIDDEN - Failed
– Performing Test HAVE_CXX_WNO_MISSING_PROTOTYPES - Failed
– Performing Test HAVE_CXX_WNO_IMPLICIT_CONST_INT_FLOAT_CONVERSION - Failed
– No package ‘gtk±3.0’ found
– Could not find OpenBLAS include. Turning OpenBLAS_FOUND off
– Could not find OpenBLAS lib. Turning OpenBLAS_FOUND off
– Could NOT find Atlas (missing: Atlas_CLAPACK_INCLUDE_DIR)
– Looking for sgemm_ - not found
– Looking for cheev_ - not found
There may be more failures. These are just the ones I found in a couple minutes.
ran sudo raspi-config and clicked the option that expands the hard disk partition to the entire SD card.
I got a funny feeling yesterday when I opened up the SD card on my mac and looked at the partition size. One partition was ~200 MB. The rest of the disk was not part of any partition at all. That’s what motivated changing the partition size. I suspect that was a problem because the computer needed a large amount of virtual memory, yet virtual memory was limited to ~150 MB which by today’s standards is nothing.
Hi, Thank you for posting your experience. I am having similar issues and I think this is helping. Did you still install using the OpenCV installation guide from opencv in the link in your first post or did you follow another guide? Where in the process did you increase the swap file size? Which build did you install?
I had the same issue with my Raspi 4. In my case, i tried adding heat sinks, change sd card, power supply etc. nothing worked. Just changed the swap from 100mb to 2000mb and it worked like a charm. Thank you for sharing your fix!