OpenCV extension build fails since June ITK upgrade

Hi all,

The OpenCV extension build fails on all three platform since June 4, most probably due to the ITK upgrade: ENH: Update ITK to 5.4.0 · Slicer/Slicer@acf3dd4 · GitHub

This is the first failure on the dashboard:
https://slicer.cdash.org/index.php?project=SlicerPreview&date=2024-06-04&filtercount=1&showfilters=1&field1=label&compare1=63&value1=opencv

The relevant error seems to be:

"ITK_FIND_REQUIRED_ITKVideoBridgeOpenCV" "OR" "M" "IN_LIST" "ITK_MODULES_ENABLED"

  Unknown arguments specified
Call Stack (most recent call first):
  SlicerOpenCV/Logic/CMakeLists.txt:6 (find_package)

Does anyone know off the bat what this unknown argument is and how to fix it? Thanks a lot!

@jcfr @jamesobutler @adamrankin Have you seen this? The extension is down for three months. If it is not needed anymore, that would also be useful to know. Thanks!

Yes, probably time to kill it. If someone needs it, it can be brought back

I need it :slight_smile: Or importing OpenCV is now trivial via pip?

Yes, extension only has value for downstream c++ extensions

Python is solved by pip

Thanks Adam, you just saved me some time. I assumed the extension it was still needed for some reason.