-
Notifications
You must be signed in to change notification settings - Fork 1
Windows: OpenCVConfig.cmake contains wrong candidate directories #10
Comments
I don't use our preinstalled packages since I do rely on |
Alright, I see. Guess that's not a viable option for AppVeyor though - I should have mentioned that I encountered this problem in https://github.com/robotology/icub-hri |
cc @InesSorrentino |
See also opencv/opencv#7331 - it seems like that setting |
Apparently this affects also other users of the robotology-superbuild and combined with the vcpkg problem means that it is basically impossible to have OpenCV + Qt libraries using in any way. |
Debugging with @GiulioRomualdi , we also experienced that the @mbrunettini the location of those files was modified after the OpenCV installation? With what configuration of iCub did you tested it? |
@traversaro Could you link me to the issue with the current "vcpkg problem"? |
Hi @ras0219-msft, thanks for chiming in : ) We are experiencing issue with vcpkg-based qt described when building our software as described in robotology/robotology-superbuild#134 . We did not open an issue in vcpkg because we wanted before to have a minimal working example reproducing the problem, but to be honest I am afraid no one worked in this direction in the last weeks. |
@traversaro, @ras0219-msft, I upgraded my Windows workstation with the latest commit of |
Thanks a lot @claudiofantacci ! |
I upgraded |
Hi @claudiofantacci , feel free to post those updates in robotology/robotology-superbuild#134 , as this issue is actually on the malformed OpenCVConfig.cmake , thanks! |
I posted here by mistake and already amended 👍 |
I just noticed that my installation of UPDATE: CMake Warning at cmake/OpenCVFindLibsPerf.cmake:46 (message):
OpenCV is not able to find/configure CUDA SDK (required by WITH_CUDA).
CUDA support will be disabled in OpenCV build.
To eliminate this warning remove WITH_CUDA=ON CMake configuration option. I'm investigating this. If this is not the problem @traversaro was referring to, please ignore this comment. |
Any news on this? |
As far as I know, unfortunately no. Regarding the robotology-superbuild, we have documented the situation in robotology/robotology-superbuild#148 and we are currently recommending to use the official OpenCV installers instead of the iCub-provided once, but that clearly is a sub-optimal solution. |
@mbrunettini This is probably related to the problems with azure pipeline. |
we moved to a new binary packages system |
Hi @mbrunettini,
I am trying to use the newest iCub 1.12 (https://github.com/robotology/icub-main/releases/download/v1.12.0/iCub_1.12.0_v14_x86_1.exe) on Windows. However, OpenCV cannot be used and fails with a confusing error message: https://ci.appveyor.com/project/robotology/icub-client/builds/20528773
I checked where things go wrong, and found that it is because of wrong candidate paths in the OpenCVConfig.cmake (see https://ci.appveyor.com/project/robotology/icub-client/builds/20562207#L125). The actual directories do not contain OpenCV_ARCH and/or OpenCV_RUNTIME (see https://ci.appveyor.com/project/robotology/icub-client/builds/20535578).
It would be great if you could fix this for the next release - this should do it: https://github.com/robotology/icub-hri/blob/f91f9bd8b4070912a1af62582c4defb7c5a6bad7/conf/fix_opencv_cmake.patch
Thanks a lot,
Tobias
/cc @pattacini and other Windows users - did you encounter the same problems? Not sure whether it also affects the x64 version.
The text was updated successfully, but these errors were encountered: