Ah, I see, you mean that the external configuration step of OpenCV requires OpenCL by default? As you already said that you can manually switch it off in the OpenCV-build, it should be possible to set the variable through our CMakeExternals/OpenCV.cmake file. I'll forward your mail to our internal OpenCV users. Best, Stefan
________________________________ Von: Federico Milano <fmil...@gmail.com> Gesendet: Mittwoch, 19. September 2018 21:23 An: Dinkelacker, Stefan Cc: mitk-users@lists.sourceforge.net Betreff: Re: [mitk-users] OpenCL is enabled by default in OpenCV Thanks Stefan for the answer. I expressed myself in a wrong way (put OpenCV where I meant OpenCL) in the body of the email (the title was right): OpenCV is requesting OpenCL to be installed in your system. If it does not find it, it fails. A workaround is configuring the ep OpenCV and manually disabling the required OpenCL. I haven't traced back since when this in happening, but in a previous commit (late in August), it did not happen. Thanks! Federico On Wed, Sep 19, 2018 at 3:50 PM Dinkelacker, Stefan <s.dinkelac...@dkfz-heidelberg.de<mailto:s.dinkelac...@dkfz-heidelberg.de>> wrote: Hi, in the current master OpenCV is off by default and as far as I know it never was set to on by default [1]. However, if you chose one of the two following build configurations, OpenCV is forced to be on: NavigationModules [2], Photoacoustics Setup [3]. Best, Stefan [1] https://github.com/MITK/MITK/blob/4081af4cec8b36d9f276af7ff53a6a273a65028d/CMakeExternals/ExternalProjectList.cmake#L26 [2] https://github.com/MITK/MITK/blob/87cd41c0cb3a25e6086b03962777090e3b4e3fb8/CMake/BuildConfigurations/mitkNavigationModules.cmake [3] https://github.com/MITK/MITK/blob/87cd41c0cb3a25e6086b03962777090e3b4e3fb8/CMake/BuildConfigurations/camiPhotoacousticsSetup.cmake ________________________________ Von: Federico Milano <fmil...@gmail.com<mailto:fmil...@gmail.com>> Gesendet: Mittwoch, 19. September 2018 14:24 An: mitk-users@lists.sourceforge.net<mailto:mitk-users@lists.sourceforge.net> Betreff: [mitk-users] OpenCL is enabled by default in OpenCV Hi. I'm just built the latest master version and I have found that OpenCV activated OpenCV by default. Since I do not have support for OpenCV in my machine, the build fails. Is it possible to change this OpenCV default behaviour? Thanks! Federico
_______________________________________________ mitk-users mailing list mitk-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mitk-users