Answer the question
In order to leave comments, you need to log in
Building OpenCV under Qt
Qt 5.2.0 for Windows 32-bit (MinGW 4.8) and OpenCV 2.4.0 are available.
I'm trying to compile the second for the first according to this guide:
stackoverflow.com/questions/15881913/how-to-link-o...
6.5 click configure and keep clicking configure until all red lines are gone, then click generate and close cmake-gui. exe
Click configure and keep clicking until all the red bars disappear, then click generate.
Actually, the red stripes disappeared, but warnings appeared:
CMake Warning (dev) at cmake/OpenCVModule.cmake:667 (get_target_property):
Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link
interface. Run "cmake --help-policy CMP0022" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
Target "opencv_highgui" has an INTERFACE_LINK_LIBRARIES property which
differs from its LINK_INTERFACE_LIBRARIES properties.
INTERFACE_LINK_LIBRARIES:
opencv_core;opencv_imgproc;zlib;libjpeg;libpng;libtiff;libjasper;comctl32;gdi32;ole32;msvfw32;avifil32;avicap32;winmm
LINK_INTERFACE_LIBRARIES:
Call Stack (most recent call first):
modules/highgui/CMakeLists.txt:302 (ocv_add_accuracy_tests)
This warning is for project developers. Use -Wno-dev to suppress it.
D:\Programs\opencv24\opencv_bin\bin\opencv_ffmpeg240_64.dll:-1: ошибка: file not recognized: File format not recognized
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question