our opencv archive errors out on gcc 13 distros
so, I tried to fix it in brutal way download and unpack opencv 4.8.1 from their sf page. 98 mb or so cd into it cd opencv-opencv-7d2cb72/ mkdir build cd build cmake .. try make, it will take some time. but even if build fails we mostly interested in .cache directory. ../../../opencv-opencv-7d2cb72/.cache/ade/fa4b3e25167319cb0fa9432ef8281945-v0.1.2a.zip copy that in our unpacked archive instead of 0.1.1f download our archive from https://cinelerra-gg.org/download/opencv/opencv-20200306.tgz unpack it into DIFFERENT directory. change this file AND also search for cmake downloader and replace it with one updated from same 4.8.1 distribution modules/gapi/cmake/DownloadADE.cmake now from rootof directory where two dirs from our archive {now updated} exist you can call tar -cvzf ../opencv-20200306-f.tgz . and put this new archive into thirdparty and call configure with new file name. Hopefully it will works even on fedora 38+ Currently testing on Slakel current , but I tried to be smart and cut down build module lest, and this took few rebuilds to get right.
Andrew, thank you! Fedora 38 package builds ok now. Best regards, Andrey вт, 5 дек. 2023 г. в 13:17, Andrew Randrianasulu via Cin < [email protected]>:
so, I tried to fix it in brutal way
download and unpack opencv 4.8.1 from their sf page. 98 mb or so cd into it
cd opencv-opencv-7d2cb72/
mkdir build cd build cmake ..
try make, it will take some time.
but even if build fails we mostly interested in .cache directory.
../../../opencv-opencv-7d2cb72/.cache/ade/fa4b3e25167319cb0fa9432ef8281945-v0.1.2a.zip
copy that in our unpacked archive instead of 0.1.1f
download our archive from https://cinelerra-gg.org/download/opencv/opencv-20200306.tgz
unpack it into DIFFERENT directory.
change this file
AND also search for cmake downloader and replace it with one updated from same 4.8.1 distribution
modules/gapi/cmake/DownloadADE.cmake
now from rootof directory where two dirs from our archive {now updated} exist you can call
tar -cvzf ../opencv-20200306-f.tgz .
and put this new archive into thirdparty and call configure with new file name.
Hopefully it will works even on fedora 38+
Currently testing on Slakel current , but I tried to be smart and cut down build module lest, and this took few rebuilds to get right. -- Cin mailing list [email protected] https://lists.cinelerra-gg.org/mailman/listinfo/cin
Used Andrey's build farm latest Fedora 38 release just to test OpenCV plugins. Looks good on my trivial tests. On Tue, Dec 5, 2023 at 7:01 AM Андрей Спицын via Cin < [email protected]> wrote:
Andrew, thank you! Fedora 38 package builds ok now.
participants (3)
-
Andrew Randrianasulu -
Phyllis Smith -
Андрей Спицын