Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Building OpenCV_contrib for O penCV 3, Windows GUI

I built successfully the main branch of OpenCV 3 from Github. Now, I want to build the OpenCV_contrib portion of it, especially the xfeature2d (actually, it is the only thing that matters for me). There are instructions on how to do so in the readme section of the Github page.

I am using CMake 3.0.2 GUI on Windows 7. So far, I haven't found a command line version so I am using the GUI.

The steps I am using (from the readme):

  1. start cmake-gui

  2. select the opencv source code folder and the folder where binaries will be built (the 2 upper forms of the interface)

  3. press the configure button. you will see all the opencv build parameters in the central interface

  4. browse the parameters and look for the form called OPENCV_EXTRA_MODULES_PATH (use the search form to focus rapidly on it)

  5. complete this OPENCV_EXTRA_MODULES_PATH by the proper pathname to the <opencv_contrib>/modules value using its browse button.

  6. press the configure button followed by the generate button (the first time, you will be asked which makefile style to use)

  7. build the opencv core with the method you chose

Here is how the folder containing the sources and build looks like: image description

So the Master branch is in the "Sources" folder and the extra module are in the "Contrib" folder.

Following the instructions, the CMake part seems to work well. But, when I try to build it in Visual Studio, various errors about "No such files or directory" in "descriptors.hpp" and "types.hpp" and some problems with undeclared identifiers in the Saliency module.

There could be a lot of reasons for this. A knowledgeable person told me in a comment that I should launch CMake from the same build folder than for the main repo, but I don't see how with the GUI...

Building OpenCV_contrib for O penCV OpenCV 3, Windows GUI

I built successfully the main branch of OpenCV 3 from Github. Now, I want to build the OpenCV_contrib portion of it, especially the xfeature2d (actually, it is the only thing that matters for me). There are instructions on how to do so in the readme section of the Github page.

I am using CMake 3.0.2 GUI on Windows 7. So far, I haven't found a command line version so I am using the GUI.

The steps I am using (from the readme):

  1. start cmake-gui

  2. select the opencv source code folder and the folder where binaries will be built (the 2 upper forms of the interface)

  3. press the configure button. you will see all the opencv build parameters in the central interface

  4. browse the parameters and look for the form called OPENCV_EXTRA_MODULES_PATH (use the search form to focus rapidly on it)

  5. complete this OPENCV_EXTRA_MODULES_PATH by the proper pathname to the <opencv_contrib>/modules value using its browse button.

  6. press the configure button followed by the generate button (the first time, you will be asked which makefile style to use)

  7. build the opencv core with the method you chose

Here is how the folder containing the sources and build looks like: image description

So the Master branch is in the "Sources" folder and the extra module are in the "Contrib" folder.

Following the instructions, the CMake part seems to work well. But, when I try to build it in Visual Studio, various errors about "No such files or directory" in "descriptors.hpp" and "types.hpp" and some problems with undeclared identifiers in the Saliency module.

There could be a lot of reasons for this. A knowledgeable person told me in a comment that I should launch CMake from the same build folder than for the main repo, but I don't see how with the GUI...

click to hide/show revision 3
CMake config output added

Building OpenCV_contrib for OpenCV 3, Windows GUI

I built successfully the main branch of OpenCV 3 from Github. Now, I want to build the OpenCV_contrib portion of it, especially the xfeature2d (actually, it is the only thing that matters for me). There are instructions on how to do so in the readme section of the Github page.

I am using CMake 3.0.2 GUI on Windows 7. So far, I haven't found a command line version so I am using the GUI.

The steps I am using (from the readme):

  1. start cmake-gui

  2. select the opencv source code folder and the folder where binaries will be built (the 2 upper forms of the interface)

  3. press the configure button. you will see all the opencv build parameters in the central interface

  4. browse the parameters and look for the form called OPENCV_EXTRA_MODULES_PATH (use the search form to focus rapidly on it)

  5. complete this OPENCV_EXTRA_MODULES_PATH by the proper pathname to the <opencv_contrib>/modules value using its browse button.

  6. press the configure button followed by the generate button (the first time, you will be asked which makefile style to use)

  7. build the opencv core with the method you chose

Here is how the folder containing the sources and build looks like: image description

So the Master branch is in the "Sources" folder and the extra module are in the "Contrib" folder.

Following the instructions, the CMake part seems to work well. But, when I try to build it in Visual Studio, various errors about "No such files or directory" in "descriptors.hpp" and "types.hpp" and some problems with undeclared identifiers in the Saliency module.

There could be a lot of reasons for this. A knowledgeable person told me in a comment that I should launch CMake from the same build folder than for the main repo, but I don't see how with the GUI...

EDIT : Here is the output of CMake after I configured it, so just before I click on "Generate":

Checking for Windows Platform SDK Checking for Visual Studio 2012 found IPP (ICV version): 8.1.1 [8.1.1] at: D:/OpenCV3/Sources/3rdparty/ippicv/unpack/ippicv_win Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE) (Required is at least version "2.7") Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE) (Required is at least version "2.6") Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE) (Required is at least version "3.4") Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE) (Required is at least version "3.2") Could NOT find JNI (missing: JAVA_AWT_LIBRARY JAVA_JVM_LIBRARY JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 JAVA_AWT_INCLUDE_PATH) Could NOT find Matlab (missing: MATLAB_MEX_SCRIPT MATLAB_INCLUDE_DIRS MATLAB_ROOT_DIR MATLAB_LIBRARIES MATLAB_LIBRARY_DIRS MATLAB_MEXEXT MATLAB_ARCH MATLAB_BIN) VTK is not found. Please set -DVTK_DIR in CMake to VTK build directory, or to VTK install subdirectory with VTKConfig.cmake file Tesseract: NO CMake Warning (dev) at cmake/OpenCVModule.cmake:896 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The LOCATION property should not be read from target "opencv_test_core". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, as appropriate.

Call Stack (most recent call first): modules/core/CMakeLists.txt:27 (ocv_add_accuracy_tests) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVModule.cmake:896 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The LOCATION property should not be read from target "opencv_test_imgproc". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, as appropriate.

Call Stack (most recent call first): cmake/OpenCVModule.cmake:751 (ocv_add_accuracy_tests) modules/imgproc/CMakeLists.txt:2 (ocv_define_module) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVModule.cmake:896 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The LOCATION property should not be read from target "opencv_test_imgcodecs". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, as appropriate.

Call Stack (most recent call first): modules/imgcodecs/CMakeLists.txt:130 (ocv_add_accuracy_tests) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVModule.cmake:896 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The LOCATION property should not be read from target "opencv_test_videoio". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, as appropriate.

Call Stack (most recent call first): modules/videoio/CMakeLists.txt:243 (ocv_add_accuracy_tests) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVModule.cmake:896 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The LOCATION property should not be read from target "opencv_test_highgui". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, as appropriate.

Call Stack (most recent call first): modules/highgui/CMakeLists.txt:124 (ocv_add_accuracy_tests) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVModule.cmake:896 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The LOCATION property should not be read from target "opencv_test_video". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, as appropriate.

Call Stack (most recent call first): cmake/OpenCVModule.cmake:751 (ocv_add_accuracy_tests) modules/video/CMakeLists.txt:2 (ocv_define_module) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at D:/OpenCV3/Sources/cmake/OpenCVModule.cmake:896 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The LOCATION property should not be read from target "opencv_test_bgsegm". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, as appropriate.

Call Stack (most recent call first): D:/OpenCV3/Sources/cmake/OpenCVModule.cmake:751 (ocv_add_accuracy_tests) D:/OpenCV3/Contrib/modules/bgsegm/CMakeLists.txt:2 (ocv_define_module) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at D:/OpenCV3/Sources/cmake/OpenCVModule.cmake:896 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The LOCATION property should not be read from target "opencv_test_bioinspired". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, as appropriate.

Call Stack (most recent call first): D:/OpenCV3/Sources/cmake/OpenCVModule.cmake:751 (ocv_add_accuracy_tests) D:/OpenCV3/Contrib/modules/bioinspired/CMakeLists.txt:3 (ocv_define_module) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVModule.cmake:896 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The LOCATION property should not be read from target "opencv_test_flann". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, as appropriate.

Call Stack (most recent call first): cmake/OpenCVModule.cmake:751 (ocv_add_accuracy_tests) modules/flann/CMakeLists.txt:2 (ocv_define_module) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVModule.cmake:896 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The LOCATION property should not be read from target "opencv_test_ml". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, as appropriate.

Call Stack (most recent call first): cmake/OpenCVModule.cmake:751 (ocv_add_accuracy_tests) modules/ml/CMakeLists.txt:2 (ocv_define_module) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVModule.cmake:896 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The LOCATION property should not be read from target "opencv_test_features2d". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, as appropriate.

Call Stack (most recent call first): cmake/OpenCVModule.cmake:751 (ocv_add_accuracy_tests) modules/features2d/CMakeLists.txt:2 (ocv_define_module) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVModule.cmake:896 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The LOCATION property should not be read from target "opencv_test_calib3d". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, as appropriate.

Call Stack (most recent call first): cmake/OpenCVModule.cmake:751 (ocv_add_accuracy_tests) modules/calib3d/CMakeLists.txt:2 (ocv_define_module) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at D:/OpenCV3/Sources/cmake/OpenCVModule.cmake:896 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The LOCATION property should not be read from target "opencv_test_line_descriptor". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, as appropriate.

Call Stack (most recent call first): D:/OpenCV3/Sources/cmake/OpenCVModule.cmake:751 (ocv_add_accuracy_tests) D:/OpenCV3/Contrib/modules/line_descriptor/CMakeLists.txt:2 (ocv_define_module) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVModule.cmake:896 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The LOCATION property should not be read from target "opencv_test_objdetect". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, as appropriate.

Call Stack (most recent call first): cmake/OpenCVModule.cmake:751 (ocv_add_accuracy_tests) modules/objdetect/CMakeLists.txt:2 (ocv_define_module) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at D:/OpenCV3/Sources/cmake/OpenCVModule.cmake:896 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The LOCATION property should not be read from target "opencv_test_optflow". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, as appropriate.

Call Stack (most recent call first): D:/OpenCV3/Sources/cmake/OpenCVModule.cmake:751 (ocv_add_accuracy_tests) D:/OpenCV3/Contrib/modules/optflow/CMakeLists.txt:2 (ocv_define_module) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVModule.cmake:896 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The LOCATION property should not be read from target "opencv_test_photo". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, as appropriate.

Call Stack (most recent call first): cmake/OpenCVModule.cmake:751 (ocv_add_accuracy_tests) modules/photo/CMakeLists.txt:7 (ocv_define_module) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at D:/OpenCV3/Sources/cmake/OpenCVModule.cmake:896 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The LOCATION property should not be read from target "opencv_test_reg". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, as appropriate.

Call Stack (most recent call first): D:/OpenCV3/Sources/cmake/OpenCVModule.cmake:751 (ocv_add_accuracy_tests) D:/OpenCV3/Contrib/modules/reg/CMakeLists.txt:2 (ocv_define_module) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at D:/OpenCV3/Sources/cmake/OpenCVModule.cmake:896 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The LOCATION property should not be read from target "opencv_test_rgbd". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, as appropriate.

Call Stack (most recent call first): D:/OpenCV3/Sources/cmake/OpenCVModule.cmake:751 (ocv_add_accuracy_tests) D:/OpenCV3/Contrib/modules/rgbd/CMakeLists.txt:3 (ocv_define_module) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVModule.cmake:896 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The LOCATION property should not be read from target "opencv_test_shape". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, as appropriate.

Call Stack (most recent call first): cmake/OpenCVModule.cmake:751 (ocv_add_accuracy_tests) modules/shape/CMakeLists.txt:2 (ocv_define_module) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at D:/OpenCV3/Sources/cmake/OpenCVModule.cmake:896 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The LOCATION property should not be read from target "opencv_test_xfeatures2d". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, as appropriate.

Call Stack (most recent call first): D:/OpenCV3/Sources/cmake/OpenCVModule.cmake:751 (ocv_add_accuracy_tests) D:/OpenCV3/Contrib/modules/xfeatures2d/CMakeLists.txt:2 (ocv_define_module) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVModule.cmake:896 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The LOCATION property should not be read from target "opencv_test_stitching". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, as appropriate.

Call Stack (most recent call first): cmake/OpenCVModule.cmake:751 (ocv_add_accuracy_tests) modules/stitching/CMakeLists.txt:2 (ocv_define_module) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVModule.cmake:896 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The LOCATION property should not be read from target "opencv_test_superres". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, as appropriate.

Call Stack (most recent call first): cmake/OpenCVModule.cmake:751 (ocv_add_accuracy_tests) modules/superres/CMakeLists.txt:7 (ocv_define_module) This warning is for project developers. Use -Wno-dev to suppress it.

Tesseract: NO CMake Warning (dev) at D:/OpenCV3/Sources/cmake/OpenCVModule.cmake:896 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The LOCATION property should not be read from target "opencv_test_tracking". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, as appropriate.

Call Stack (most recent call first): D:/OpenCV3/Sources/cmake/OpenCVModule.cmake:751 (ocv_add_accuracy_tests) D:/OpenCV3/Contrib/modules/tracking/CMakeLists.txt:2 (ocv_define_module) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at D:/OpenCV3/Sources/cmake/OpenCVModule.cmake:896 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The LOCATION property should not be read from target "opencv_test_ximgproc". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, as appropriate.

Call Stack (most recent call first): D:/OpenCV3/Sources/cmake/OpenCVModule.cmake:751 (ocv_add_accuracy_tests) D:/OpenCV3/Contrib/modules/ximgproc/CMakeLists.txt:2 (ocv_define_module) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at D:/OpenCV3/Sources/cmake/OpenCVModule.cmake:896 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The LOCATION property should not be read from target "opencv_test_xphoto". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, as appropriate.

Call Stack (most recent call first): D:/OpenCV3/Sources/cmake/OpenCVModule.cmake:751 (ocv_add_accuracy_tests) D:/OpenCV3/Contrib/modules/xphoto/CMakeLists.txt:2 (ocv_define_module) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The LOCATION property should not be read from target "opencv_calib3d". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, as appropriate.

Call Stack (most recent call first): CMakeLists.txt:571 (include) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The LOCATION property should not be read from target "opencv_core". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, as appropriate.

Call Stack (most recent call first): CMakeLists.txt:571 (include) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The LOCATION property should not be read from target "opencv_features2d". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, as appropriate.

Call Stack (most recent call first): CMakeLists.txt:571 (include) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The LOCATION property should not be read from target "opencv_flann". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, as appropriate.

Call Stack (most recent call first): CMakeLists.txt:571 (include) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The LOCATION property should not be read from target "opencv_highgui". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, as appropriate.

Call Stack (most recent call first): CMakeLists.txt:571 (include) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The LOCATION property should not be read from target "opencv_imgcodecs". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, as appropriate.

Call Stack (most recent call first): CMakeLists.txt:571 (include) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The LOCATION property should not be read from target "opencv_imgproc". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, as appropriate.

Call Stack (most recent call first): CMakeLists.txt:571 (include) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The LOCATION property should not be read from target "opencv_ml". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, as appropriate.

Call Stack (most recent call first): CMakeLists.txt:571 (include) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The LOCATION property should not be read from target "opencv_objdetect". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, as appropriate.

Call Stack (most recent call first): CMakeLists.txt:571 (include) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The LOCATION property should not be read from target "opencv_photo". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, as appropriate.

Call Stack (most recent call first): CMakeLists.txt:571 (include) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The LOCATION property should not be read from target "opencv_shape". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, as appropriate.

Call Stack (most recent call first): CMakeLists.txt:571 (include) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The LOCATION property should not be read from target "opencv_stitching". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, as appropriate.

Call Stack (most recent call first): CMakeLists.txt:571 (include) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The LOCATION property should not be read from target "opencv_superres". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, as appropriate.

Call Stack (most recent call first): CMakeLists.txt:571 (include) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The LOCATION property should not be read from target "opencv_ts". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, as appropriate.

Call Stack (most recent call first): CMakeLists.txt:571 (include) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The LOCATION property should not be read from target "opencv_video". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, as appropriate.

Call Stack (most recent call first): CMakeLists.txt:571 (include) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The LOCATION property should not be read from target "opencv_videoio". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, as appropriate.

Call Stack (most recent call first): CMakeLists.txt:571 (include) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The LOCATION property should not be read from target "opencv_videostab". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, as appropriate.

Call Stack (most recent call first): CMakeLists.txt:571 (include) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The LOCATION property should not be read from target "opencv_adas". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, as appropriate.

Call Stack (most recent call first): CMakeLists.txt:571 (include) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The LOCATION property should not be read from target "opencv_bgsegm". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, as appropriate.

Call Stack (most recent call first): CMakeLists.txt:571 (include) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The LOCATION property should not be read from target "opencv_bioinspired". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, as appropriate.

Call Stack (most recent call first): CMakeLists.txt:571 (include) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The LOCATION property should not be read from target "opencv_ccalib". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, as appropriate.

Call Stack (most recent call first): CMakeLists.txt:571 (include) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The LOCATION property should not be read from target "opencv_datasets". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, as appropriate.

Call Stack (most recent call first): CMakeLists.txt:571 (include) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The LOCATION property should not be read from target "opencv_face". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, as appropriate.

Call Stack (most recent call first): CMakeLists.txt:571 (include) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The LOCATION property should not be read from target "opencv_line_descriptor". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, as appropriate.

Call Stack (most recent call first): CMakeLists.txt:571 (include) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The LOCATION property should not be read from target "opencv_optflow". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, as appropriate.

Call Stack (most recent call first): CMakeLists.txt:571 (include) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The LOCATION property should not be read from target "opencv_reg". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, as appropriate.

Call Stack (most recent call first): CMakeLists.txt:571 (include) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The LOCATION property should not be read from target "opencv_rgbd". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, as appropriate.

Call Stack (most recent call first): CMakeLists.txt:571 (include) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The LOCATION property should not be read from target "opencv_saliency". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, as appropriate.

Call Stack (most recent call first): CMakeLists.txt:571 (include) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The LOCATION property should not be read from target "opencv_surface_matching". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, as appropriate.

Call Stack (most recent call first): CMakeLists.txt:571 (include) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The LOCATION property should not be read from target "opencv_text". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, as appropriate.

Call Stack (most recent call first): CMakeLists.txt:571 (include) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The LOCATION property should not be read from target "opencv_tracking". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, as appropriate.

Call Stack (most recent call first): CMakeLists.txt:571 (include) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The LOCATION property should not be read from target "opencv_xfeatures2d". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, as appropriate.

Call Stack (most recent call first): CMakeLists.txt:571 (include) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The LOCATION property should not be read from target "opencv_ximgproc". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, as appropriate.

Call Stack (most recent call first): CMakeLists.txt:571 (include) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The LOCATION property should not be read from target "opencv_xobjdetect". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, as appropriate.

Call Stack (most recent call first): CMakeLists.txt:571 (include) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The LOCATION property should not be read from target "opencv_xphoto". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, as appropriate.

Call Stack (most recent call first): CMakeLists.txt:571 (include) This warning is for project developers. Use -Wno-dev to suppress it.

General configuration for OpenCV 3.0.0-dev ===================================== Version control: unknown

Platform: Host: Windows 6.1 AMD64 CMake: 3.0.2 CMake generator: Visual Studio 11 2012 Win64 CMake build tool: C:/Windows/Microsoft.NET/Framework/v4.0.30319/MSBuild.exe MSVC: 1700

C/C++: Built as dynamic libs?: YES C++ Compiler: C:/Program Files (x86)/Microsoft Visual Studio 11.0/VC/bin/x86_amd64/cl.exe (ver 17.0.61030.0) C++ flags (Release): /DWIN32 /D_WINDOWS /W4 /GR /EHa /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /wd4251 /MD /O2 /Ob2 /D NDEBUG /Zi C++ flags (Debug): /DWIN32 /D_WINDOWS /W4 /GR /EHa /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /wd4251 /D_DEBUG /MDd /Zi /Ob0 /Od /RTC1 C Compiler: C:/Program Files (x86)/Microsoft Visual Studio 11.0/VC/bin/x86_amd64/cl.exe C flags (Release): /DWIN32 /D_WINDOWS /W3 /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /MD /O2 /Ob2 /D NDEBUG /Zi C flags (Debug): /DWIN32 /D_WINDOWS /W3 /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /D_DEBUG /MDd /Zi /Ob0 /Od /RTC1 Linker flags (Release): /machine:x64 /INCREMENTAL:NO /debug Linker flags (Debug): /machine:x64 /debug /INCREMENTAL Precompiled headers: YES

OpenCV modules: To be built: core imgproc imgcodecs videoio highgui xobjdetect adas video bgsegm bioinspired flann ml features2d calib3d ccalib face datasets line_descriptor objdetect optflow photo reg rgbd saliency shape xfeatures2d stitching superres surface_matching text tracking ts videostab ximgproc xphoto Disabled: world Disabled by dependency: - Unavailable: androidcamera cuda cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaoptflow cudastereo cudawarping cudev java python2 python3 viz cvv matlab

Windows RT support: NO

GUI: QT: NO Win32 UI: YES OpenGL support: NO VTK support: NO

Media I/O: ZLib: build (ver 1.2.8) JPEG: build (ver 90) WEBP: build (ver 0.3.1) PNG: build (ver 1.5.12) TIFF: build (ver 42 - 4.0.2) JPEG 2000: build (ver 1.900.1) OpenEXR: build (ver 1.7.1) GDAL: NO

Video I/O: Video for Windows: YES DC1394 1.x: NO DC1394 2.x: NO FFMPEG: YES (prebuilt binaries) codec: YES (ver 55.18.102) format: YES (ver 55.12.100) util: YES (ver 52.38.100) swscale: YES (ver 2.3.100) gentoo-style: YES OpenNI: NO OpenNI PrimeSensor Modules: NO OpenNI2: NO PvAPI: NO GigEVisionSDK: NO DirectShow: YES Media Foundation: NO XIMEA: NO Intel PerC: NO

Other third-party libraries: Use IPP: 8.1.1 [8.1.1] at: D:/OpenCV3/Sources/3rdparty/ippicv/unpack/ippicv_win Use IPP Async: NO Use Eigen: NO Use TBB: NO Use OpenMP: NO Use GCD NO Use Concurrency YES Use C=: NO Use Cuda: NO Use OpenCL: YES

OpenCL: Version: dynamic Include path: D:/OpenCV3/Sources/3rdparty/include/opencl/1.2 Use AMDFFT: NO Use AMDBLAS: NO

Python 2: Interpreter: NO

Python 3: Interpreter: NO

Python (for build): NO

Java: ant: NO JNI: NO Java wrappers: NO Java tests: NO

Matlab: mex: NO

Documentation: Build Documentation: NO Sphinx: NO PdfLaTeX compiler: NO PlantUML: NO

Tests and samples: Tests: YES Performance tests: YES C/C++ Examples: YES

Install path: D:/OpenCV3/Build/install

cvconfig.h is in: D:/OpenCV3/Build

Configuring done

Building OpenCV_contrib for OpenCV 3, Windows GUI

I built successfully the main branch of OpenCV 3 from Github. Now, I want to build the OpenCV_contrib portion of it, especially the xfeature2d (actually, it is the only thing that matters for me). There are instructions on how to do so in the readme section of the Github page.

I am using CMake 3.0.2 GUI on Windows 7. So far, I haven't found a command line version so I am using the GUI.

The steps I am using (from the readme):

  1. start cmake-gui

  2. select the opencv source code folder and the folder where binaries will be built (the 2 upper forms of the interface)

  3. press the configure button. you will see all the opencv build parameters in the central interface

  4. browse the parameters and look for the form called OPENCV_EXTRA_MODULES_PATH (use the search form to focus rapidly on it)

  5. complete this OPENCV_EXTRA_MODULES_PATH by the proper pathname to the <opencv_contrib>/modules value using its browse button.

  6. press the configure button followed by the generate button (the first time, you will be asked which makefile style to use)

  7. build the opencv core with the method you chose

Here is how the folder containing the sources and build looks like: image description

So the Master branch is in the "Sources" folder and the extra module are in the "Contrib" folder.

Following the instructions, the CMake part seems to work well. But, when I try to build it in Visual Studio, various errors about "No such files or directory" in "descriptors.hpp" and "types.hpp" and some problems with undeclared identifiers in the Saliency module.

There could be a lot of reasons for this. A knowledgeable person told me in a comment that I should launch CMake from the same build folder than for the main repo, but I don't see how with the GUI...

EDIT : Here is the output of CMake after I configured it, so just before I click on "Generate":

"Generate":

Checking for Windows Platform SDK
Checking for Visual Studio 2012
found IPP (ICV version): 8.1.1 [8.1.1]
at: D:/OpenCV3/Sources/3rdparty/ippicv/unpack/ippicv_win
Could NOT find PythonInterp (missing:  PYTHON_EXECUTABLE) (Required is at least version "2.7")
Could NOT find PythonInterp (missing:  PYTHON_EXECUTABLE) (Required is at least version "2.6")
Could NOT find PythonInterp (missing:  PYTHON_EXECUTABLE) (Required is at least version "3.4")
Could NOT find PythonInterp (missing:  PYTHON_EXECUTABLE) (Required is at least version "3.2")
Could NOT find JNI (missing:  JAVA_AWT_LIBRARY JAVA_JVM_LIBRARY JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 JAVA_AWT_INCLUDE_PATH) 
Could NOT find Matlab (missing:  MATLAB_MEX_SCRIPT MATLAB_INCLUDE_DIRS MATLAB_ROOT_DIR MATLAB_LIBRARIES MATLAB_LIBRARY_DIRS MATLAB_MEXEXT MATLAB_ARCH MATLAB_BIN) 
VTK is not found. Please set -DVTK_DIR in CMake to VTK build directory, or to VTK install subdirectory with VTKConfig.cmake file
Tesseract:   NO
CMake Warning (dev) at cmake/OpenCVModule.cmake:896 (get_target_property):
  Policy CMP0026 is not set: Disallow use of the LOCATION target property.
  Run "cmake --help-policy CMP0026" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

warning. The LOCATION property should not be read from target "opencv_test_core". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, $<TARGET_FILE>, as appropriate.

appropriate. Call Stack (most recent call first): modules/core/CMakeLists.txt:27 (ocv_add_accuracy_tests) This warning is for project developers. Use -Wno-dev to suppress it.

it. CMake Warning (dev) at cmake/OpenCVModule.cmake:896 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

warning. The LOCATION property should not be read from target "opencv_test_imgproc". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, $<TARGET_FILE>, as appropriate.

appropriate. Call Stack (most recent call first): cmake/OpenCVModule.cmake:751 (ocv_add_accuracy_tests) modules/imgproc/CMakeLists.txt:2 (ocv_define_module) This warning is for project developers. Use -Wno-dev to suppress it.

it. CMake Warning (dev) at cmake/OpenCVModule.cmake:896 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

warning. The LOCATION property should not be read from target "opencv_test_imgcodecs". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, $<TARGET_FILE>, as appropriate.

appropriate. Call Stack (most recent call first): modules/imgcodecs/CMakeLists.txt:130 (ocv_add_accuracy_tests) This warning is for project developers. Use -Wno-dev to suppress it.

it. CMake Warning (dev) at cmake/OpenCVModule.cmake:896 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

warning. The LOCATION property should not be read from target "opencv_test_videoio". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, $<TARGET_FILE>, as appropriate.

appropriate. Call Stack (most recent call first): modules/videoio/CMakeLists.txt:243 (ocv_add_accuracy_tests) This warning is for project developers. Use -Wno-dev to suppress it.

it. CMake Warning (dev) at cmake/OpenCVModule.cmake:896 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

warning. The LOCATION property should not be read from target "opencv_test_highgui". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, $<TARGET_FILE>, as appropriate.

appropriate. Call Stack (most recent call first): modules/highgui/CMakeLists.txt:124 (ocv_add_accuracy_tests) This warning is for project developers. Use -Wno-dev to suppress it.

it. CMake Warning (dev) at cmake/OpenCVModule.cmake:896 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

warning. The LOCATION property should not be read from target "opencv_test_video". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, $<TARGET_FILE>, as appropriate.

appropriate. Call Stack (most recent call first): cmake/OpenCVModule.cmake:751 (ocv_add_accuracy_tests) modules/video/CMakeLists.txt:2 (ocv_define_module) This warning is for project developers. Use -Wno-dev to suppress it.

it. CMake Warning (dev) at D:/OpenCV3/Sources/cmake/OpenCVModule.cmake:896 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

warning. The LOCATION property should not be read from target "opencv_test_bgsegm". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, $<TARGET_FILE>, as appropriate.

appropriate. Call Stack (most recent call first): D:/OpenCV3/Sources/cmake/OpenCVModule.cmake:751 (ocv_add_accuracy_tests) D:/OpenCV3/Contrib/modules/bgsegm/CMakeLists.txt:2 (ocv_define_module) This warning is for project developers. Use -Wno-dev to suppress it.

it. CMake Warning (dev) at D:/OpenCV3/Sources/cmake/OpenCVModule.cmake:896 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

warning. The LOCATION property should not be read from target "opencv_test_bioinspired". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, $<TARGET_FILE>, as appropriate.

appropriate. Call Stack (most recent call first): D:/OpenCV3/Sources/cmake/OpenCVModule.cmake:751 (ocv_add_accuracy_tests) D:/OpenCV3/Contrib/modules/bioinspired/CMakeLists.txt:3 (ocv_define_module) This warning is for project developers. Use -Wno-dev to suppress it.

it. CMake Warning (dev) at cmake/OpenCVModule.cmake:896 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

warning. The LOCATION property should not be read from target "opencv_test_flann". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, $<TARGET_FILE>, as appropriate.

appropriate. Call Stack (most recent call first): cmake/OpenCVModule.cmake:751 (ocv_add_accuracy_tests) modules/flann/CMakeLists.txt:2 (ocv_define_module) This warning is for project developers. Use -Wno-dev to suppress it.

it. CMake Warning (dev) at cmake/OpenCVModule.cmake:896 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

warning. The LOCATION property should not be read from target "opencv_test_ml". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, $<TARGET_FILE>, as appropriate.

appropriate. Call Stack (most recent call first): cmake/OpenCVModule.cmake:751 (ocv_add_accuracy_tests) modules/ml/CMakeLists.txt:2 (ocv_define_module) This warning is for project developers. Use -Wno-dev to suppress it.

it. CMake Warning (dev) at cmake/OpenCVModule.cmake:896 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

warning. The LOCATION property should not be read from target "opencv_test_features2d". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, $<TARGET_FILE>, as appropriate.

appropriate. Call Stack (most recent call first): cmake/OpenCVModule.cmake:751 (ocv_add_accuracy_tests) modules/features2d/CMakeLists.txt:2 (ocv_define_module) This warning is for project developers. Use -Wno-dev to suppress it.

it. CMake Warning (dev) at cmake/OpenCVModule.cmake:896 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

warning. The LOCATION property should not be read from target "opencv_test_calib3d". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, $<TARGET_FILE>, as appropriate.

appropriate. Call Stack (most recent call first): cmake/OpenCVModule.cmake:751 (ocv_add_accuracy_tests) modules/calib3d/CMakeLists.txt:2 (ocv_define_module) This warning is for project developers. Use -Wno-dev to suppress it.

it. CMake Warning (dev) at D:/OpenCV3/Sources/cmake/OpenCVModule.cmake:896 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

warning. The LOCATION property should not be read from target "opencv_test_line_descriptor". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, $<TARGET_FILE>, as appropriate.

appropriate. Call Stack (most recent call first): D:/OpenCV3/Sources/cmake/OpenCVModule.cmake:751 (ocv_add_accuracy_tests) D:/OpenCV3/Contrib/modules/line_descriptor/CMakeLists.txt:2 (ocv_define_module) This warning is for project developers. Use -Wno-dev to suppress it.

it. CMake Warning (dev) at cmake/OpenCVModule.cmake:896 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

warning. The LOCATION property should not be read from target "opencv_test_objdetect". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, $<TARGET_FILE>, as appropriate.

appropriate. Call Stack (most recent call first): cmake/OpenCVModule.cmake:751 (ocv_add_accuracy_tests) modules/objdetect/CMakeLists.txt:2 (ocv_define_module) This warning is for project developers. Use -Wno-dev to suppress it.

it. CMake Warning (dev) at D:/OpenCV3/Sources/cmake/OpenCVModule.cmake:896 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

warning. The LOCATION property should not be read from target "opencv_test_optflow". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, $<TARGET_FILE>, as appropriate.

appropriate. Call Stack (most recent call first): D:/OpenCV3/Sources/cmake/OpenCVModule.cmake:751 (ocv_add_accuracy_tests) D:/OpenCV3/Contrib/modules/optflow/CMakeLists.txt:2 (ocv_define_module) This warning is for project developers. Use -Wno-dev to suppress it.

it. CMake Warning (dev) at cmake/OpenCVModule.cmake:896 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

warning. The LOCATION property should not be read from target "opencv_test_photo". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, $<TARGET_FILE>, as appropriate.

appropriate. Call Stack (most recent call first): cmake/OpenCVModule.cmake:751 (ocv_add_accuracy_tests) modules/photo/CMakeLists.txt:7 (ocv_define_module) This warning is for project developers. Use -Wno-dev to suppress it.

it. CMake Warning (dev) at D:/OpenCV3/Sources/cmake/OpenCVModule.cmake:896 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

warning. The LOCATION property should not be read from target "opencv_test_reg". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, $<TARGET_FILE>, as appropriate.

appropriate. Call Stack (most recent call first): D:/OpenCV3/Sources/cmake/OpenCVModule.cmake:751 (ocv_add_accuracy_tests) D:/OpenCV3/Contrib/modules/reg/CMakeLists.txt:2 (ocv_define_module) This warning is for project developers. Use -Wno-dev to suppress it.

it. CMake Warning (dev) at D:/OpenCV3/Sources/cmake/OpenCVModule.cmake:896 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

warning. The LOCATION property should not be read from target "opencv_test_rgbd". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, $<TARGET_FILE>, as appropriate.

appropriate. Call Stack (most recent call first): D:/OpenCV3/Sources/cmake/OpenCVModule.cmake:751 (ocv_add_accuracy_tests) D:/OpenCV3/Contrib/modules/rgbd/CMakeLists.txt:3 (ocv_define_module) This warning is for project developers. Use -Wno-dev to suppress it.

it. CMake Warning (dev) at cmake/OpenCVModule.cmake:896 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

warning. The LOCATION property should not be read from target "opencv_test_shape". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, $<TARGET_FILE>, as appropriate.

appropriate. Call Stack (most recent call first): cmake/OpenCVModule.cmake:751 (ocv_add_accuracy_tests) modules/shape/CMakeLists.txt:2 (ocv_define_module) This warning is for project developers. Use -Wno-dev to suppress it.

it. CMake Warning (dev) at D:/OpenCV3/Sources/cmake/OpenCVModule.cmake:896 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

warning. The LOCATION property should not be read from target "opencv_test_xfeatures2d". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, $<TARGET_FILE>, as appropriate.

appropriate. Call Stack (most recent call first): D:/OpenCV3/Sources/cmake/OpenCVModule.cmake:751 (ocv_add_accuracy_tests) D:/OpenCV3/Contrib/modules/xfeatures2d/CMakeLists.txt:2 (ocv_define_module) This warning is for project developers. Use -Wno-dev to suppress it.

it. CMake Warning (dev) at cmake/OpenCVModule.cmake:896 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

warning. The LOCATION property should not be read from target "opencv_test_stitching". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, $<TARGET_FILE>, as appropriate.

appropriate. Call Stack (most recent call first): cmake/OpenCVModule.cmake:751 (ocv_add_accuracy_tests) modules/stitching/CMakeLists.txt:2 (ocv_define_module) This warning is for project developers. Use -Wno-dev to suppress it.

it. CMake Warning (dev) at cmake/OpenCVModule.cmake:896 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

warning. The LOCATION property should not be read from target "opencv_test_superres". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, $<TARGET_FILE>, as appropriate.

appropriate. Call Stack (most recent call first): cmake/OpenCVModule.cmake:751 (ocv_add_accuracy_tests) modules/superres/CMakeLists.txt:7 (ocv_define_module) This warning is for project developers. Use -Wno-dev to suppress it.

it. Tesseract: NO CMake Warning (dev) at D:/OpenCV3/Sources/cmake/OpenCVModule.cmake:896 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

warning. The LOCATION property should not be read from target "opencv_test_tracking". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, $<TARGET_FILE>, as appropriate.

appropriate. Call Stack (most recent call first): D:/OpenCV3/Sources/cmake/OpenCVModule.cmake:751 (ocv_add_accuracy_tests) D:/OpenCV3/Contrib/modules/tracking/CMakeLists.txt:2 (ocv_define_module) This warning is for project developers. Use -Wno-dev to suppress it.

it. CMake Warning (dev) at D:/OpenCV3/Sources/cmake/OpenCVModule.cmake:896 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

warning. The LOCATION property should not be read from target "opencv_test_ximgproc". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, $<TARGET_FILE>, as appropriate.

appropriate. Call Stack (most recent call first): D:/OpenCV3/Sources/cmake/OpenCVModule.cmake:751 (ocv_add_accuracy_tests) D:/OpenCV3/Contrib/modules/ximgproc/CMakeLists.txt:2 (ocv_define_module) This warning is for project developers. Use -Wno-dev to suppress it.

it. CMake Warning (dev) at D:/OpenCV3/Sources/cmake/OpenCVModule.cmake:896 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

warning. The LOCATION property should not be read from target "opencv_test_xphoto". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, $<TARGET_FILE>, as appropriate.

appropriate. Call Stack (most recent call first): D:/OpenCV3/Sources/cmake/OpenCVModule.cmake:751 (ocv_add_accuracy_tests) D:/OpenCV3/Contrib/modules/xphoto/CMakeLists.txt:2 (ocv_define_module) This warning is for project developers. Use -Wno-dev to suppress it.

it. CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

warning. The LOCATION property should not be read from target "opencv_calib3d". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, $<TARGET_FILE>, as appropriate.

appropriate. Call Stack (most recent call first): CMakeLists.txt:571 (include) This warning is for project developers. Use -Wno-dev to suppress it.

it. CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

warning. The LOCATION property should not be read from target "opencv_core". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, $<TARGET_FILE>, as appropriate.

appropriate. Call Stack (most recent call first): CMakeLists.txt:571 (include) This warning is for project developers. Use -Wno-dev to suppress it.

it. CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

warning. The LOCATION property should not be read from target "opencv_features2d". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, $<TARGET_FILE>, as appropriate.

appropriate. Call Stack (most recent call first): CMakeLists.txt:571 (include) This warning is for project developers. Use -Wno-dev to suppress it.

it. CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

warning. The LOCATION property should not be read from target "opencv_flann". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, $<TARGET_FILE>, as appropriate.

appropriate. Call Stack (most recent call first): CMakeLists.txt:571 (include) This warning is for project developers. Use -Wno-dev to suppress it.

it. CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

warning. The LOCATION property should not be read from target "opencv_highgui". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, $<TARGET_FILE>, as appropriate.

appropriate. Call Stack (most recent call first): CMakeLists.txt:571 (include) This warning is for project developers. Use -Wno-dev to suppress it.

it. CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

warning. The LOCATION property should not be read from target "opencv_imgcodecs". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, $<TARGET_FILE>, as appropriate.

appropriate. Call Stack (most recent call first): CMakeLists.txt:571 (include) This warning is for project developers. Use -Wno-dev to suppress it.

it. CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

warning. The LOCATION property should not be read from target "opencv_imgproc". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, $<TARGET_FILE>, as appropriate.

appropriate. Call Stack (most recent call first): CMakeLists.txt:571 (include) This warning is for project developers. Use -Wno-dev to suppress it.

it. CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

warning. The LOCATION property should not be read from target "opencv_ml". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, $<TARGET_FILE>, as appropriate.

appropriate. Call Stack (most recent call first): CMakeLists.txt:571 (include) This warning is for project developers. Use -Wno-dev to suppress it.

it. CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

warning. The LOCATION property should not be read from target "opencv_objdetect". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, $<TARGET_FILE>, as appropriate.

appropriate. Call Stack (most recent call first): CMakeLists.txt:571 (include) This warning is for project developers. Use -Wno-dev to suppress it.

it. CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

warning. The LOCATION property should not be read from target "opencv_photo". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, $<TARGET_FILE>, as appropriate.

appropriate. Call Stack (most recent call first): CMakeLists.txt:571 (include) This warning is for project developers. Use -Wno-dev to suppress it.

it. CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

warning. The LOCATION property should not be read from target "opencv_shape". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, $<TARGET_FILE>, as appropriate.

appropriate. Call Stack (most recent call first): CMakeLists.txt:571 (include) This warning is for project developers. Use -Wno-dev to suppress it.

it. CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

warning. The LOCATION property should not be read from target "opencv_stitching". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, $<TARGET_FILE>, as appropriate.

appropriate. Call Stack (most recent call first): CMakeLists.txt:571 (include) This warning is for project developers. Use -Wno-dev to suppress it.

it. CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

warning. The LOCATION property should not be read from target "opencv_superres". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, $<TARGET_FILE>, as appropriate.

appropriate. Call Stack (most recent call first): CMakeLists.txt:571 (include) This warning is for project developers. Use -Wno-dev to suppress it.

it. CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

warning. The LOCATION property should not be read from target "opencv_ts". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, $<TARGET_FILE>, as appropriate.

appropriate. Call Stack (most recent call first): CMakeLists.txt:571 (include) This warning is for project developers. Use -Wno-dev to suppress it.

it. CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

warning. The LOCATION property should not be read from target "opencv_video". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, $<TARGET_FILE>, as appropriate.

appropriate. Call Stack (most recent call first): CMakeLists.txt:571 (include) This warning is for project developers. Use -Wno-dev to suppress it.

it. CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

warning. The LOCATION property should not be read from target "opencv_videoio". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, $<TARGET_FILE>, as appropriate.

appropriate. Call Stack (most recent call first): CMakeLists.txt:571 (include) This warning is for project developers. Use -Wno-dev to suppress it.

it. CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

warning. The LOCATION property should not be read from target "opencv_videostab". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, $<TARGET_FILE>, as appropriate.

appropriate. Call Stack (most recent call first): CMakeLists.txt:571 (include) This warning is for project developers. Use -Wno-dev to suppress it.

it. CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

warning. The LOCATION property should not be read from target "opencv_adas". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, $<TARGET_FILE>, as appropriate.

appropriate. Call Stack (most recent call first): CMakeLists.txt:571 (include) This warning is for project developers. Use -Wno-dev to suppress it.

it. CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

warning. The LOCATION property should not be read from target "opencv_bgsegm". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, $<TARGET_FILE>, as appropriate.

appropriate. Call Stack (most recent call first): CMakeLists.txt:571 (include) This warning is for project developers. Use -Wno-dev to suppress it.

it. CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

warning. The LOCATION property should not be read from target "opencv_bioinspired". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, $<TARGET_FILE>, as appropriate.

appropriate. Call Stack (most recent call first): CMakeLists.txt:571 (include) This warning is for project developers. Use -Wno-dev to suppress it.

it. CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

warning. The LOCATION property should not be read from target "opencv_ccalib". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, $<TARGET_FILE>, as appropriate.

appropriate. Call Stack (most recent call first): CMakeLists.txt:571 (include) This warning is for project developers. Use -Wno-dev to suppress it.

it. CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

warning. The LOCATION property should not be read from target "opencv_datasets". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, $<TARGET_FILE>, as appropriate.

appropriate. Call Stack (most recent call first): CMakeLists.txt:571 (include) This warning is for project developers. Use -Wno-dev to suppress it.

it. CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

warning. The LOCATION property should not be read from target "opencv_face". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, $<TARGET_FILE>, as appropriate.

appropriate. Call Stack (most recent call first): CMakeLists.txt:571 (include) This warning is for project developers. Use -Wno-dev to suppress it.

it. CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

warning. The LOCATION property should not be read from target "opencv_line_descriptor". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, $<TARGET_FILE>, as appropriate.

appropriate. Call Stack (most recent call first): CMakeLists.txt:571 (include) This warning is for project developers. Use -Wno-dev to suppress it.

it. CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

warning. The LOCATION property should not be read from target "opencv_optflow". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, $<TARGET_FILE>, as appropriate.

appropriate. Call Stack (most recent call first): CMakeLists.txt:571 (include) This warning is for project developers. Use -Wno-dev to suppress it.

it. CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

warning. The LOCATION property should not be read from target "opencv_reg". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, $<TARGET_FILE>, as appropriate.

appropriate. Call Stack (most recent call first): CMakeLists.txt:571 (include) This warning is for project developers. Use -Wno-dev to suppress it.

it. CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

warning. The LOCATION property should not be read from target "opencv_rgbd". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, $<TARGET_FILE>, as appropriate.

appropriate. Call Stack (most recent call first): CMakeLists.txt:571 (include) This warning is for project developers. Use -Wno-dev to suppress it.

it. CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

warning. The LOCATION property should not be read from target "opencv_saliency". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, $<TARGET_FILE>, as appropriate.

appropriate. Call Stack (most recent call first): CMakeLists.txt:571 (include) This warning is for project developers. Use -Wno-dev to suppress it.

it. CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

warning. The LOCATION property should not be read from target "opencv_surface_matching". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, $<TARGET_FILE>, as appropriate.

appropriate. Call Stack (most recent call first): CMakeLists.txt:571 (include) This warning is for project developers. Use -Wno-dev to suppress it.

it. CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

warning. The LOCATION property should not be read from target "opencv_text". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, $<TARGET_FILE>, as appropriate.

appropriate. Call Stack (most recent call first): CMakeLists.txt:571 (include) This warning is for project developers. Use -Wno-dev to suppress it.

it. CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

warning. The LOCATION property should not be read from target "opencv_tracking". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, $<TARGET_FILE>, as appropriate.

appropriate. Call Stack (most recent call first): CMakeLists.txt:571 (include) This warning is for project developers. Use -Wno-dev to suppress it.

it. CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

warning. The LOCATION property should not be read from target "opencv_xfeatures2d". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, $<TARGET_FILE>, as appropriate.

appropriate. Call Stack (most recent call first): CMakeLists.txt:571 (include) This warning is for project developers. Use -Wno-dev to suppress it.

it. CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

warning. The LOCATION property should not be read from target "opencv_ximgproc". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, $<TARGET_FILE>, as appropriate.

appropriate. Call Stack (most recent call first): CMakeLists.txt:571 (include) This warning is for project developers. Use -Wno-dev to suppress it.

it. CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

warning. The LOCATION property should not be read from target "opencv_xobjdetect". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, $<TARGET_FILE>, as appropriate.

appropriate. Call Stack (most recent call first): CMakeLists.txt:571 (include) This warning is for project developers. Use -Wno-dev to suppress it.

it. CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

warning. The LOCATION property should not be read from target "opencv_xphoto". Use the target name directly with add_custom_command, or use the generator expression $<target_file>, $<TARGET_FILE>, as appropriate.

appropriate. Call Stack (most recent call first): CMakeLists.txt:571 (include) This warning is for project developers. Use -Wno-dev to suppress it.

it. General configuration for OpenCV 3.0.0-dev ===================================== Version control: unknown

unknown Platform: Host: Windows 6.1 AMD64 CMake: 3.0.2 CMake generator: Visual Studio 11 2012 Win64 CMake build tool: C:/Windows/Microsoft.NET/Framework/v4.0.30319/MSBuild.exe MSVC: 1700

1700 C/C++: Built as dynamic libs?: YES C++ Compiler: C:/Program Files (x86)/Microsoft Visual Studio 11.0/VC/bin/x86_amd64/cl.exe (ver 17.0.61030.0) C++ flags (Release): /DWIN32 /D_WINDOWS /W4 /GR /EHa /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /wd4251 /MD /O2 /Ob2 /D NDEBUG /Zi C++ flags (Debug): /DWIN32 /D_WINDOWS /W4 /GR /EHa /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /wd4251 /D_DEBUG /MDd /Zi /Ob0 /Od /RTC1 C Compiler: C:/Program Files (x86)/Microsoft Visual Studio 11.0/VC/bin/x86_amd64/cl.exe C flags (Release): /DWIN32 /D_WINDOWS /W3 /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /MD /O2 /Ob2 /D NDEBUG /Zi C flags (Debug): /DWIN32 /D_WINDOWS /W3 /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /D_DEBUG /MDd /Zi /Ob0 /Od /RTC1 Linker flags (Release): /machine:x64 /INCREMENTAL:NO /debug Linker flags (Debug): /machine:x64 /debug /INCREMENTAL Precompiled headers: YES

YES OpenCV modules: To be built: core imgproc imgcodecs videoio highgui xobjdetect adas video bgsegm bioinspired flann ml features2d calib3d ccalib face datasets line_descriptor objdetect optflow photo reg rgbd saliency shape xfeatures2d stitching superres surface_matching text tracking ts videostab ximgproc xphoto Disabled: world Disabled by dependency: - Unavailable: androidcamera cuda cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaoptflow cudastereo cudawarping cudev java python2 python3 viz cvv matlab

matlab Windows RT support: NO

NO GUI: QT: NO Win32 UI: YES OpenGL support: NO VTK support: NO

NO Media I/O: ZLib: build (ver 1.2.8) JPEG: build (ver 90) WEBP: build (ver 0.3.1) PNG: build (ver 1.5.12) TIFF: build (ver 42 - 4.0.2) JPEG 2000: build (ver 1.900.1) OpenEXR: build (ver 1.7.1) GDAL: NO

NO Video I/O: Video for Windows: YES DC1394 1.x: NO DC1394 2.x: NO FFMPEG: YES (prebuilt binaries) codec: YES (ver 55.18.102) format: YES (ver 55.12.100) util: YES (ver 52.38.100) swscale: YES (ver 2.3.100) gentoo-style: YES OpenNI: NO OpenNI PrimeSensor Modules: NO OpenNI2: NO PvAPI: NO GigEVisionSDK: NO DirectShow: YES Media Foundation: NO XIMEA: NO Intel PerC: NO

NO Other third-party libraries: Use IPP: 8.1.1 [8.1.1] at: D:/OpenCV3/Sources/3rdparty/ippicv/unpack/ippicv_win Use IPP Async: NO Use Eigen: NO Use TBB: NO Use OpenMP: NO Use GCD NO Use Concurrency YES Use C=: NO Use Cuda: NO Use OpenCL: YES

YES OpenCL: Version: dynamic Include path: D:/OpenCV3/Sources/3rdparty/include/opencl/1.2 Use AMDFFT: NO Use AMDBLAS: NO

NO Python 2: Interpreter: NO

NO Python 3: Interpreter: NO

NO Python (for build): NO

NO Java: ant: NO JNI: NO Java wrappers: NO Java tests: NO

NO Matlab: mex: NO

NO Documentation: Build Documentation: NO Sphinx: NO PdfLaTeX compiler: NO PlantUML: NO

NO Tests and samples: Tests: YES Performance tests: YES C/C++ Examples: YES

YES Install path: D:/OpenCV3/Build/install

D:/OpenCV3/Build/install cvconfig.h is in: D:/OpenCV3/Build

D:/OpenCV3/Build ----------------------------------------------------------------- Configuring done

done