Limit number of opencv modules we build
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.
Also tested here on the 2020308 tarball and used the 6 plugins with expected results. Although I did not time it, most likely it built faster which is beneficial -- only using the plugins anyway. Will check in to GIT next time boot the desktop. (Andrew, it must have been quite a challenge to determine which modules of OpenCV actually contained the plugins!). I did not get the downloaded 4.8.0 opencv to work, but I did not try very hard. I did try to peruse the Changelog for OpenCV and found no obvious changes listed for the 6 plugins although I could have missed it. I have to start testing the HDR patches that Andrea has been testing. On Tue, Dec 5, 2023 at 3:59 AM Andrew Randrianasulu <[email protected]> wrote:
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.
ср, 6 дек. 2023 г., 02:56 Phyllis Smith <[email protected]>:
I did not get the downloaded 4.8.0 opencv to work, but I did not try very
hard.
Forgot to mention that this was not gcc version 13 but a much earlier version so cmake was not the problem.
if it failed for openexr stuff during standalone build may be add -DWITH_OPENEXR=OFF ? and/or apply said limiting list of modules too as cmake argument. Do not forgot to remove CmakeCache file in your build directory, too. I was going with 'minimal mod of that work' instead of full upgrade partially because even normal build was not working for me on specific Slackware snapshot ... but may be I just lacked patience to try all possible stuff.
ср, 6 дек. 2023 г., 02:53 Phyllis Smith <[email protected]>:
Also tested here on the 2020308 tarball and used the 6 plugins with expected results. Although I did not time it, most likely it built faster which is beneficial -- only using the plugins anyway. Will check in to GIT next time boot the desktop. (Andrew, it must have been quite a challenge to determine which modules of OpenCV actually contained the plugins!).
well, it started to fail after I left only core stuff, so I looked at exact missing includes like this, on tablet: grep video.hpp -r plugins/ plugins/stylizeobj/stylizeobj.h:#include "opencv2/video/video.hpp" plugins/puzzleobj/puzzleobj.h:#include "opencv2/video/video.hpp" plugins/moveobj/moveobj.h:#include "opencv2/video/video.hpp" plugins/gaborobj/gaborobj.h:#include "opencv2/video/video.hpp" plugins/flowobj/flowobj.h:#include "opencv2/video/video.hpp" and then I looked inside each include with mcedit and augmented my list until it all was at least building again. Problem is - dynamic build does not install opencv shared libraries (may be due to danger of overwriting system components) so this mode does not work out of the box .... So, I left it alone for now.
I did not get the downloaded 4.8.0 opencv to work, but I did not try very hard. I did try to peruse the Changelog for OpenCV and found no obvious changes listed for the 6 plugins although I could have missed it. I have to start testing the HDR patches that Andrea has been testing.
On Tue, Dec 5, 2023 at 3:59 AM Andrew Randrianasulu < [email protected]> wrote:
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.
Phyllis, Will the Andrew's patch be included in the git tree? Best regards, Andrey ср, 6 дек. 2023 г., 02:53 Phyllis Smith via Cin <[email protected]
:
Also tested here on the 2020308 tarball and used the 6 plugins with expected results. Although I did not time it, most likely it built faster which is beneficial -- only using the plugins anyway. Will check in to GIT next time boot the desktop. (Andrew, it must have been quite a challenge to determine which modules of OpenCV actually contained the plugins!).
I did not get the downloaded 4.8.0 opencv to work, but I did not try very hard. I did try to peruse the Changelog for OpenCV and found no obvious changes listed for the 6 plugins although I could have missed it. I have to start testing the HDR patches that Andrea has been testing.
On Tue, Dec 5, 2023 at 3:59 AM Andrew Randrianasulu < [email protected]> wrote:
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.
-- Cin mailing list [email protected] https://lists.cinelerra-gg.org/mailman/listinfo/cin
Will the Andrew's patch be included in the git tree?
Yes. I have been hesitant to check into GIT, changes that are really only configuration changes because I do not know if it is bothersome for you to have to do rebuilds automatically when GIT changes when there is no actual code change. But I will check in what I have today.
It's no problem to me to rebuild a packages, even If there no code change. Feel free to add anything you want to git repo. вс, 10 дек. 2023 г., 21:27 Phyllis Smith <[email protected]>:
Will the Andrew's patch be included in the git tree?
Yes. I have been hesitant to check into GIT, changes that are really only configuration changes because I do not know if it is bothersome for you to have to do rebuilds automatically when GIT changes when there is no actual code change. But I will check in what I have today.
participants (3)
-
Andrew Randrianasulu -
Phyllis Smith -
Андрей Спицын