Hopefully I get them right! Builds with opencv4 (2020 tarball) on Slackware
-current x86_64

hopefully will make compile farm's job a bit easier.

Note, I only modded and tested local static build, you can try to add
similar line (with closing "\" !) to second, dynamic case in opencv_build
file in root of cingg source tree.
From bab221257e4ce4860c9040178b0ded09df7bbf56 Mon Sep 17 00:00:00 2001
From: Andrew Randrianasulu <randrianas...@gmail.com>
Date: Tue, 5 Dec 2023 13:42:05 +0000
Subject: [PATCH] Limit number of opencv modules we build

---
 cinelerra-5.1/opencv_build | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cinelerra-5.1/opencv_build b/cinelerra-5.1/opencv_build
index f443e29c..bc3feb19 100644
--- a/cinelerra-5.1/opencv_build
+++ b/cinelerra-5.1/opencv_build
@@ -92,6 +92,7 @@ $(opencv)/build: $(opencv).src
   -DBUILD_TESTS=OFF \
   -DBUILD_opencv_apps=OFF \
   -DBUILD_opencv_python3=no \
+  -DBUILD_LIST="calib3d,core,features2d,imgproc,objdetect,photo,video,xfeatures2d,ximgproc,videostab" \
   -DCMAKE_INSTALL_PREFIX=/usr/local \
   -DOPENCV_EXTRA_MODULES_PATH="$(opencv)_contrib/modules/"
 
-- 
2.42.1

-- 
Cin mailing list
Cin@lists.cinelerra-gg.org
https://lists.cinelerra-gg.org/mailman/listinfo/cin

Reply via email to