Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Jar is not created

Hello, i spent 3 days reading manuals and issues how to build opencv, but i still not get jar files. Please help me. Here is cmake output.

Detected version of GNU GCC: 51 (501) CUDA compilation is disabled (due to only Visual Studio compiler supported on your platform). Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) To enable PlantUML support, set PLANTUML_JAR environment variable or pass -DPLANTUML_JAR=<filepath> option to cmake 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 PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS) (Required is exact version "3.4.3") Traceback (most recent call last): File "<string>", line 1, in <module> ImportError: No module named 'numpy'

Found apache ant 1.9.6: c:/apache_ant/bin/ant.bat ERROR: The system was unable to find the specified registry key or value.

ERROR: The system was unable to find the specified registry key or value.

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 CMake Warning (dev) at cmake/OpenCVPCHSupport.cmake:80 (GET_DIRECTORY_PROPERTY): Policy CMP0059 is not set: Do no treat DEFINITIONS as a built-in directory property. Run "cmake --help-policy CMP0059" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/OpenCVPCHSupport.cmake:256 (_PCH_GET_COMPILE_FLAGS) cmake/OpenCVPCHSupport.cmake:369 (add_precompiled_header) cmake/OpenCVModule.cmake:835 (ocv_add_precompiled_header_to_target) cmake/OpenCVModule.cmake:806 (_ocv_add_precompiled_headers) cmake/OpenCVModule.cmake:688 (_ocv_create_module) cmake/OpenCVModule.cmake:857 (ocv_create_module) modules/hal/CMakeLists.txt:12 (ocv_define_module) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at CMakeLists.txt:618 (add_subdirectory): Policy CMP0059 is not set: Do no treat DEFINITIONS as a built-in directory property. Run "cmake --help-policy CMP0059" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVPCHSupport.cmake:80 (GET_DIRECTORY_PROPERTY): Policy CMP0059 is not set: Do no treat DEFINITIONS as a built-in directory property. Run "cmake --help-policy CMP0059" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/OpenCVPCHSupport.cmake:256 (_PCH_GET_COMPILE_FLAGS) cmake/OpenCVPCHSupport.cmake:369 (add_precompiled_header) cmake/OpenCVModule.cmake:835 (ocv_add_precompiled_header_to_target) cmake/OpenCVModule.cmake:806 (_ocv_add_precompiled_headers) cmake/OpenCVModule.cmake:688 (_ocv_create_module) modules/core/CMakeLists.txt:26 (ocv_create_module) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at CMakeLists.txt:618 (add_subdirectory): Policy CMP0059 is not set: Do no treat DEFINITIONS as a built-in directory property. Run "cmake --help-policy CMP0059" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVPCHSupport.cmake:80 (GET_DIRECTORY_PROPERTY): Policy CMP0059 is not set: Do no treat DEFINITIONS as a built-in directory property. Run "cmake --help-policy CMP0059" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/OpenCVPCHSupport.cmake:256 (_PCH_GET_COMPILE_FLAGS) cmake/OpenCVPCHSupport.cmake:369 (add_precompiled_header) cmake/OpenCVModule.cmake:835 (ocv_add_precompiled_header_to_target) cmake/OpenCVModule.cmake:949 (_ocv_add_precompiled_headers) modules/core/CMakeLists.txt:29 (ocv_add_perf_tests) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at CMakeLists.txt:618 (add_subdirectory): Policy CMP0059 is not set: Do no treat DEFINITIONS as a built-in directory property. Run "cmake --help-policy CMP0059" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVPCHSupport.cmake:80 (GET_DIRECTORY_PROPERTY): Policy CMP0059 is not set: Do no treat DEFINITIONS as a built-in directory property. Run "cmake --help-policy CMP0059" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/OpenCVPCHSupport.cmake:256 (_PCH_GET_COMPILE_FLAGS) cmake/OpenCVPCHSupport.cmake:369 (add_precompiled_header) cmake/OpenCVModule.cmake:835 (ocv_add_precompiled_header_to_target) cmake/OpenCVModule.cmake:806 (_ocv_add_precompiled_headers) cmake/OpenCVModule.cmake:688 (_ocv_create_module) cmake/OpenCVModule.cmake:857 (ocv_create_module) modules/flann/CMakeLists.txt:2 (ocv_define_module) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at CMakeLists.txt:618 (add_subdirectory): Policy CMP0059 is not set: Do no treat DEFINITIONS as a built-in directory property. Run "cmake --help-policy CMP0059" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVPCHSupport.cmake:80 (GET_DIRECTORY_PROPERTY): Policy CMP0059 is not set: Do no treat DEFINITIONS as a built-in directory property. Run "cmake --help-policy CMP0059" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/OpenCVPCHSupport.cmake:256 (_PCH_GET_COMPILE_FLAGS) cmake/OpenCVPCHSupport.cmake:369 (add_precompiled_header) cmake/OpenCVModule.cmake:835 (ocv_add_precompiled_header_to_target) cmake/OpenCVModule.cmake:806 (_ocv_add_precompiled_headers) cmake/OpenCVModule.cmake:688 (_ocv_create_module) cmake/OpenCVModule.cmake:857 (ocv_create_module) modules/imgproc/CMakeLists.txt:2 (ocv_define_module) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at CMakeLists.txt:618 (add_subdirectory): Policy CMP0059 is not set: Do no treat DEFINITIONS as a built-in directory property. Run "cmake --help-policy CMP0059" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVPCHSupport.cmake:80 (GET_DIRECTORY_PROPERTY): Policy CMP0059 is not set: Do no treat DEFINITIONS as a built-in directory property. Run "cmake --help-policy CMP0059" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/OpenCVPCHSupport.cmake:256 (_PCH_GET_COMPILE_FLAGS) cmake/OpenCVPCHSupport.cmake:369 (add_precompiled_header) cmake/OpenCVModule.cmake:835 (ocv_add_precompiled_header_to_target) cmake/OpenCVModule.cmake:949 (_ocv_add_precompiled_headers) cmake/OpenCVModule.cmake:860 (ocv_add_perf_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 CMakeLists.txt:618 (add_subdirectory): Policy CMP0059 is not set: Do no treat DEFINITIONS as a built-in directory property. Run "cmake --help-policy CMP0059" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVPCHSupport.cmake:80 (GET_DIRECTORY_PROPERTY): Policy CMP0059 is not set: Do no treat DEFINITIONS as a built-in directory property. Run "cmake --help-policy CMP0059" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/OpenCVPCHSupport.cmake:256 (_PCH_GET_COMPILE_FLAGS) cmake/OpenCVPCHSupport.cmake:369 (add_precompiled_header) cmake/OpenCVModule.cmake:835 (ocv_add_precompiled_header_to_target) cmake/OpenCVModule.cmake:806 (_ocv_add_precompiled_headers) cmake/OpenCVModule.cmake:688 (_ocv_create_module) cmake/OpenCVModule.cmake:857 (ocv_create_module) modules/ml/CMakeLists.txt:2 (ocv_define_module) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at CMakeLists.txt:618 (add_subdirectory): Policy CMP0059 is not set: Do no treat DEFINITIONS as a built-in directory property. Run "cmake --help-policy CMP0059" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVPCHSupport.cmake:80 (GET_DIRECTORY_PROPERTY): Policy CMP0059 is not set: Do no treat DEFINITIONS as a built-in directory property. Run "cmake --help-policy CMP0059" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/OpenCVPCHSupport.cmake:256 (_PCH_GET_COMPILE_FLAGS) cmake/OpenCVPCHSupport.cmake:369 (add_precompiled_header) cmake/OpenCVModule.cmake:835 (ocv_add_precompiled_header_to_target) cmake/OpenCVModule.cmake:806 (_ocv_add_precompiled_headers) cmake/OpenCVModule.cmake:688 (_ocv_create_module) cmake/OpenCVModule.cmake:857 (ocv_create_module) modules/photo/CMakeLists.txt:7 (ocv_define_module) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at CMakeLists.txt:618 (add_subdirectory): Policy CMP0059 is not set: Do no treat DEFINITIONS as a built-in directory property. Run "cmake --help-policy CMP0059" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVPCHSupport.cmake:80 (GET_DIRECTORY_PROPERTY): Policy CMP0059 is not set: Do no treat DEFINITIONS as a built-in directory property. Run "cmake --help-policy CMP0059" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/OpenCVPCHSupport.cmake:256 (_PCH_GET_COMPILE_FLAGS) cmake/OpenCVPCHSupport.cmake:369 (add_precompiled_header) cmake/OpenCVModule.cmake:835 (ocv_add_precompiled_header_to_target) cmake/OpenCVModule.cmake:949 (_ocv_add_precompiled_headers) cmake/OpenCVModule.cmake:860 (ocv_add_perf_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 CMakeLists.txt:618 (add_subdirectory): Policy CMP0059 is not set: Do no treat DEFINITIONS as a built-in directory property. Run "cmake --help-policy CMP0059" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVPCHSupport.cmake:80 (GET_DIRECTORY_PROPERTY): Policy CMP0059 is not set: Do no treat DEFINITIONS as a built-in directory property. Run "cmake --help-policy CMP0059" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/OpenCVPCHSupport.cmake:256 (_PCH_GET_COMPILE_FLAGS) cmake/OpenCVPCHSupport.cmake:369 (add_precompiled_header) cmake/OpenCVModule.cmake:835 (ocv_add_precompiled_header_to_target) cmake/OpenCVModule.cmake:806 (_ocv_add_precompiled_headers) cmake/OpenCVModule.cmake:688 (_ocv_create_module) cmake/OpenCVModule.cmake:857 (ocv_create_module) modules/video/CMakeLists.txt:2 (ocv_define_module) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at CMakeLists.txt:618 (add_subdirectory): Policy CMP0059 is not set: Do no treat DEFINITIONS as a built-in directory property. Run "cmake --help-policy CMP0059" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVPCHSupport.cmake:80 (GET_DIRECTORY_PROPERTY): Policy CMP0059 is not set: Do no treat DEFINITIONS as a built-in directory property. Run "cmake --help-policy CMP0059" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/OpenCVPCHSupport.cmake:256 (_PCH_GET_COMPILE_FLAGS) cmake/OpenCVPCHSupport.cmake:369 (add_precompiled_header) cmake/OpenCVModule.cmake:835 (ocv_add_precompiled_header_to_target) cmake/OpenCVModule.cmake:949 (_ocv_add_precompiled_headers) cmake/OpenCVModule.cmake:860 (ocv_add_perf_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 CMakeLists.txt:618 (add_subdirectory): Policy CMP0059 is not set: Do no treat DEFINITIONS as a built-in directory property. Run "cmake --help-policy CMP0059" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVPCHSupport.cmake:80 (GET_DIRECTORY_PROPERTY): Policy CMP0059 is not set: Do no treat DEFINITIONS as a built-in directory property. Run "cmake --help-policy CMP0059" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/OpenCVPCHSupport.cmake:256 (_PCH_GET_COMPILE_FLAGS) cmake/OpenCVPCHSupport.cmake:369 (add_precompiled_header) cmake/OpenCVModule.cmake:835 (ocv_add_precompiled_header_to_target) cmake/OpenCVModule.cmake:806 (_ocv_add_precompiled_headers) cmake/OpenCVModule.cmake:688 (_ocv_create_module) modules/imgcodecs/CMakeLists.txt:105 (ocv_create_module) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at CMakeLists.txt:618 (add_subdirectory): Policy CMP0059 is not set: Do no treat DEFINITIONS as a built-in directory property. Run "cmake --help-policy CMP0059" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVPCHSupport.cmake:80 (GET_DIRECTORY_PROPERTY): Policy CMP0059 is not set: Do no treat DEFINITIONS as a built-in directory property. Run "cmake --help-policy CMP0059" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/OpenCVPCHSupport.cmake:256 (_PCH_GET_COMPILE_FLAGS) cmake/OpenCVPCHSupport.cmake:369 (add_precompiled_header) cmake/OpenCVModule.cmake:835 (ocv_add_precompiled_header_to_target) cmake/OpenCVModule.cmake:949 (_ocv_add_precompiled_headers) modules/imgcodecs/CMakeLists.txt:131 (ocv_add_perf_tests) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at CMakeLists.txt:618 (add_subdirectory): Policy CMP0059 is not set: Do no treat DEFINITIONS as a built-in directory property. Run "cmake --help-policy CMP0059" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVPCHSupport.cmake:80 (GET_DIRECTORY_PROPERTY): Policy CMP0059 is not set: Do no treat DEFINITIONS as a built-in directory property. Run "cmake --help-policy CMP0059" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/OpenCVPCHSupport.cmake:256 (_PCH_GET_COMPILE_FLAGS) cmake/OpenCVPCHSupport.cmake:369 (add_precompiled_header) cmake/OpenCVModule.cmake:835 (ocv_add_precompiled_header_to_target) cmake/OpenCVModule.cmake:806 (_ocv_add_precompiled_headers) cmake/OpenCVModule.cmake:688 (_ocv_create_module) cmake/OpenCVModule.cmake:857 (ocv_create_module) modules/shape/CMakeLists.txt:2 (ocv_define_module) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at CMakeLists.txt:618 (add_subdirectory): Policy CMP0059 is not set: Do no treat DEFINITIONS as a built-in directory property. Run "cmake --help-policy CMP0059" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-dev to suppress it.

videoio: Removing WinRT API headers by default CMake Warning (dev) at cmake/OpenCVPCHSupport.cmake:80 (GET_DIRECTORY_PROPERTY): Policy CMP0059 is not set: Do no treat DEFINITIONS as a built-in directory property. Run "cmake --help-policy CMP0059" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/OpenCVPCHSupport.cmake:256 (_PCH_GET_COMPILE_FLAGS) cmake/OpenCVPCHSupport.cmake:369 (add_precompiled_header) cmake/OpenCVModule.cmake:835 (ocv_add_precompiled_header_to_target) cmake/OpenCVModule.cmake:806 (_ocv_add_precompiled_headers) cmake/OpenCVModule.cmake:688 (_ocv_create_module) modules/videoio/CMakeLists.txt:219 (ocv_create_module) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at CMakeLists.txt:618 (add_subdirectory): Policy CMP0059 is not set: Do no treat DEFINITIONS as a built-in directory property. Run "cmake --help-policy CMP0059" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVPCHSupport.cmake:80 (GET_DIRECTORY_PROPERTY): Policy CMP0059 is not set: Do no treat DEFINITIONS as a built-in directory property. Run "cmake --help-policy CMP0059" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/OpenCVPCHSupport.cmake:256 (_PCH_GET_COMPILE_FLAGS) cmake/OpenCVPCHSupport.cmake:369 (add_precompiled_header) cmake/OpenCVModule.cmake:835 (ocv_add_precompiled_header_to_target) cmake/OpenCVModule.cmake:949 (_ocv_add_precompiled_headers) modules/videoio/CMakeLists.txt:275 (ocv_add_perf_tests) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at CMakeLists.txt:618 (add_subdirectory): Policy CMP0059 is not set: Do no treat DEFINITIONS as a built-in directory property. Run "cmake --help-policy CMP0059" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVPCHSupport.cmake:80 (GET_DIRECTORY_PROPERTY): Policy CMP0059 is not set: Do no treat DEFINITIONS as a built-in directory property. Run "cmake --help-policy CMP0059" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/OpenCVPCHSupport.cmake:256 (_PCH_GET_COMPILE_FLAGS) cmake/OpenCVPCHSupport.cmake:369 (add_precompiled_header) cmake/OpenCVModule.cmake:835 (ocv_add_precompiled_header_to_target) cmake/OpenCVModule.cmake:806 (_ocv_add_precompiled_headers) cmake/OpenCVModule.cmake:688 (_ocv_create_module) modules/highgui/CMakeLists.txt:102 (ocv_create_module) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at CMakeLists.txt:618 (add_subdirectory): Policy CMP0059 is not set: Do no treat DEFINITIONS as a built-in directory property. Run "cmake --help-policy CMP0059" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVPCHSupport.cmake:80 (GET_DIRECTORY_PROPERTY): Policy CMP0059 is not set: Do no treat DEFINITIONS as a built-in directory property. Run "cmake --help-policy CMP0059" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/OpenCVPCHSupport.cmake:256 (_PCH_GET_COMPILE_FLAGS) cmake/OpenCVPCHSupport.cmake:369 (add_precompiled_header) cmake/OpenCVModule.cmake:835 (ocv_add_precompiled_header_to_target) cmake/OpenCVModule.cmake:806 (_ocv_add_precompiled_headers) cmake/OpenCVModule.cmake:688 (_ocv_create_module) cmake/OpenCVModule.cmake:857 (ocv_create_module) modules/objdetect/CMakeLists.txt:2 (ocv_define_module) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at CMakeLists.txt:618 (add_subdirectory): Policy CMP0059 is not set: Do no treat DEFINITIONS as a built-in directory property. Run "cmake --help-policy CMP0059" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVPCHSupport.cmake:80 (GET_DIRECTORY_PROPERTY): Policy CMP0059 is not set: Do no treat DEFINITIONS as a built-in directory property. Run "cmake --help-policy CMP0059" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/OpenCVPCHSupport.cmake:256 (_PCH_GET_COMPILE_FLAGS) cmake/OpenCVPCHSupport.cmake:369 (add_precompiled_header) cmake/OpenCVModule.cmake:835 (ocv_add_precompiled_header_to_target) cmake/OpenCVModule.cmake:949 (_ocv_add_precompiled_headers) cmake/OpenCVModule.cmake:860 (ocv_add_perf_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 CMakeLists.txt:618 (add_subdirectory): Policy CMP0059 is not set: Do no treat DEFINITIONS as a built-in directory property. Run "cmake --help-policy CMP0059" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVPCHSupport.cmake:80 (GET_DIRECTORY_PROPERTY): Policy CMP0059 is not set: Do no treat DEFINITIONS as a built-in directory property. Run "cmake --help-policy CMP0059" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/OpenCVPCHSupport.cmake:256 (_PCH_GET_COMPILE_FLAGS) cmake/OpenCVPCHSupport.cmake:369 (add_precompiled_header) cmake/OpenCVModule.cmake:835 (ocv_add_precompiled_header_to_target) cmake/OpenCVModule.cmake:806 (_ocv_add_precompiled_headers) cmake/OpenCVModule.cmake:688 (_ocv_create_module) cmake/OpenCVModule.cmake:857 (ocv_create_module) modules/superres/CMakeLists.txt:7 (ocv_define_module) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at CMakeLists.txt:618 (add_subdirectory): Policy CMP0059 is not set: Do no treat DEFINITIONS as a built-in directory property. Run "cmake --help-policy CMP0059" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVPCHSupport.cmake:80 (GET_DIRECTORY_PROPERTY): Policy CMP0059 is not set: Do no treat DEFINITIONS as a built-in directory property. Run "cmake --help-policy CMP0059" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/OpenCVPCHSupport.cmake:256 (_PCH_GET_COMPILE_FLAGS) cmake/OpenCVPCHSupport.cmake:369 (add_precompiled_header) cmake/OpenCVModule.cmake:835 (ocv_add_precompiled_header_to_target) cmake/OpenCVModule.cmake:949 (_ocv_add_precompiled_headers) cmake/OpenCVModule.cmake:860 (ocv_add_perf_tests) modules/superres/CMakeLists.txt:7 (ocv_define_module) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at CMakeLists.txt:618 (add_subdirectory): Policy CMP0059 is not set: Do no treat DEFINITIONS as a built-in directory property. Run "cmake --help-policy CMP0059" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVPCHSupport.cmake:80 (GET_DIRECTORY_PROPERTY): Policy CMP0059 is not set: Do no treat DEFINITIONS as a built-in directory property. Run "cmake --help-policy CMP0059" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/OpenCVPCHSupport.cmake:256 (_PCH_GET_COMPILE_FLAGS) cmake/OpenCVPCHSupport.cmake:369 (add_precompiled_header) cmake/OpenCVModule.cmake:835 (ocv_add_precompiled_header_to_target) cmake/OpenCVModule.cmake:806 (_ocv_add_precompiled_headers) cmake/OpenCVModule.cmake:688 (_ocv_create_module) modules/ts/CMakeLists.txt:16 (ocv_create_module) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at CMakeLists.txt:618 (add_subdirectory): Policy CMP0059 is not set: Do no treat DEFINITIONS as a built-in directory property. Run "cmake --help-policy CMP0059" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVPCHSupport.cmake:80 (GET_DIRECTORY_PROPERTY): Policy CMP0059 is not set: Do no treat DEFINITIONS as a built-in directory property. Run "cmake --help-policy CMP0059" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/OpenCVPCHSupport.cmake:256 (_PCH_GET_COMPILE_FLAGS) cmake/OpenCVPCHSupport.cmake:369 (add_precompiled_header) cmake/OpenCVModule.cmake:835 (ocv_add_precompiled_header_to_target) cmake/OpenCVModule.cmake:806 (_ocv_add_precompiled_headers) cmake/OpenCVModule.cmake:688 (_ocv_create_module) cmake/OpenCVModule.cmake:857 (ocv_create_module) modules/features2d/CMakeLists.txt:2 (ocv_define_module) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at CMakeLists.txt:618 (add_subdirectory): Policy CMP0059 is not set: Do no treat DEFINITIONS as a built-in directory property. Run "cmake --help-policy CMP0059" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVPCHSupport.cmake:80 (GET_DIRECTORY_PROPERTY): Policy CMP0059 is not set: Do no treat DEFINITIONS as a built-in directory property. Run "cmake --help-policy CMP0059" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/OpenCVPCHSupport.cmake:256 (_PCH_GET_COMPILE_FLAGS) cmake/OpenCVPCHSupport.cmake:369 (add_precompiled_header) cmake/OpenCVModule.cmake:835 (ocv_add_precompiled_header_to_target) cmake/OpenCVModule.cmake:949 (_ocv_add_precompiled_headers) cmake/OpenCVModule.cmake:860 (ocv_add_perf_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 CMakeLists.txt:618 (add_subdirectory): Policy CMP0059 is not set: Do no treat DEFINITIONS as a built-in directory property. Run "cmake --help-policy CMP0059" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVPCHSupport.cmake:80 (GET_DIRECTORY_PROPERTY): Policy CMP0059 is not set: Do no treat DEFINITIONS as a built-in directory property. Run "cmake --help-policy CMP0059" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/OpenCVPCHSupport.cmake:256 (_PCH_GET_COMPILE_FLAGS) cmake/OpenCVPCHSupport.cmake:369 (add_precompiled_header) cmake/OpenCVModule.cmake:835 (ocv_add_precompiled_header_to_target) cmake/OpenCVModule.cmake:806 (_ocv_add_precompiled_headers) cmake/OpenCVModule.cmake:688 (_ocv_create_module) cmake/OpenCVModule.cmake:857 (ocv_create_module) modules/calib3d/CMakeLists.txt:2 (ocv_define_module) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at CMakeLists.txt:618 (add_subdirectory): Policy CMP0059 is not set: Do no treat DEFINITIONS as a built-in directory property. Run "cmake --help-policy CMP0059" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVPCHSupport.cmake:80 (GET_DIRECTORY_PROPERTY): Policy CMP0059 is not set: Do no treat DEFINITIONS as a built-in directory property. Run "cmake --help-policy CMP0059" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/OpenCVPCHSupport.cmake:256 (_PCH_GET_COMPILE_FLAGS) cmake/OpenCVPCHSupport.cmake:369 (add_precompiled_header) cmake/OpenCVModule.cmake:835 (ocv_add_precompiled_header_to_target) cmake/OpenCVModule.cmake:949 (_ocv_add_precompiled_headers) cmake/OpenCVModule.cmake:860 (ocv_add_perf_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 CMakeLists.txt:618 (add_subdirectory): Policy CMP0059 is not set: Do no treat DEFINITIONS as a built-in directory property. Run "cmake --help-policy CMP0059" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVPCHSupport.cmake:80 (GET_DIRECTORY_PROPERTY): Policy CMP0059 is not set: Do no treat DEFINITIONS as a built-in directory property. Run "cmake --help-policy CMP0059" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/OpenCVPCHSupport.cmake:256 (_PCH_GET_COMPILE_FLAGS) cmake/OpenCVPCHSupport.cmake:369 (add_precompiled_header) cmake/OpenCVModule.cmake:835 (ocv_add_precompiled_header_to_target) cmake/OpenCVModule.cmake:806 (_ocv_add_precompiled_headers) cmake/OpenCVModule.cmake:688 (_ocv_create_module) cmake/OpenCVModule.cmake:857 (ocv_create_module) modules/stitching/CMakeLists.txt:7 (ocv_define_module) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at CMakeLists.txt:618 (add_subdirectory): Policy CMP0059 is not set: Do no treat DEFINITIONS as a built-in directory property. Run "cmake --help-policy CMP0059" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVPCHSupport.cmake:80 (GET_DIRECTORY_PROPERTY): Policy CMP0059 is not set: Do no treat DEFINITIONS as a built-in directory property. Run "cmake --help-policy CMP0059" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/OpenCVPCHSupport.cmake:256 (_PCH_GET_COMPILE_FLAGS) cmake/OpenCVPCHSupport.cmake:369 (add_precompiled_header) cmake/OpenCVModule.cmake:835 (ocv_add_precompiled_header_to_target) cmake/OpenCVModule.cmake:949 (_ocv_add_precompiled_headers) cmake/OpenCVModule.cmake:860 (ocv_add_perf_tests) modules/stitching/CMakeLists.txt:7 (ocv_define_module) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at CMakeLists.txt:618 (add_subdirectory): Policy CMP0059 is not set: Do no treat DEFINITIONS as a built-in directory property. Run "cmake --help-policy CMP0059" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVPCHSupport.cmake:80 (GET_DIRECTORY_PROPERTY): Policy CMP0059 is not set: Do no treat DEFINITIONS as a built-in directory property. Run "cmake --help-policy CMP0059" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/OpenCVPCHSupport.cmake:256 (_PCH_GET_COMPILE_FLAGS) cmake/OpenCVPCHSupport.cmake:369 (add_precompiled_header) cmake/OpenCVModule.cmake:835 (ocv_add_precompiled_header_to_target) cmake/OpenCVModule.cmake:806 (_ocv_add_precompiled_headers) cmake/OpenCVModule.cmake:688 (_ocv_create_module) cmake/OpenCVModule.cmake:857 (ocv_create_module) modules/videostab/CMakeLists.txt:11 (ocv_define_module) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at CMakeLists.txt:618 (add_subdirectory): Policy CMP0059 is not set: Do no treat DEFINITIONS as a built-in directory property. Run "cmake --help-policy CMP0059" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-dev to suppress it.

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

Platform: Host: Windows 6.2 AMD64 CMake: 3.3.0-rc3 CMake generator: MinGW Makefiles CMake build tool: c:/PROGRA~1/MINGW-~1/X86_64~1.0-W/mingw64/bin/mingw32-make.exe Configuration: Release

C/C++: Built as dynamic libs?: NO C++ Compiler: c:/Program Files/mingw-w64/x86_64-5.1.0-win32-sjlj-rt_v4-rev0/mingw64/bin/g++.exe (ver 5.1.0) C++ flags (Release): -fPIC -fsigned-char -mstackrealign -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -fdiagnostics-show-option -Wno-long-long -fomit-frame-pointer -msse -msse2 -ffunction-sections -fvisibility=hidden -fvisibility-inlines-hidden -O2 -DNDEBUG -DNDEBUG C++ flags (Debug): -fPIC -fsigned-char -mstackrealign -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -fdiagnostics-show-option -Wno-long-long -fomit-frame-pointer -msse -msse2 -ffunction-sections -fvisibility=hidden -fvisibility-inlines-hidden -g -O0 -DDEBUG -D_DEBUG C Compiler: c:/Program Files/mingw-w64/x86_64-5.1.0-win32-sjlj-rt_v4-rev0/mingw64/bin/gcc.exe C flags (Release): -fPIC -fsigned-char -mstackrealign -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wno-narrowing -fdiagnostics-show-option -Wno-long-long -fomit-frame-pointer -msse -msse2 -ffunction-sections -fvisibility=hidden -O2 -DNDEBUG -DNDEBUG C flags (Debug): -fPIC -fsigned-char -mstackrealign -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wno-narrowing -fdiagnostics-show-option -Wno-long-long -fomit-frame-pointer -msse -msse2 -ffunction-sections -fvisibility=hidden -g -O0 -DDEBUG -D_DEBUG Linker flags (Release):
Linker flags (Debug):
Precompiled headers: YES Extra dependencies: comctl32 gdi32 ole32 setupapi ws2_32 avifil32 avicap32 winmm msvfw32 stdc++ 3rdparty dependencies: zlib libjpeg libwebp libpng libtiff libjasper IlmImf

OpenCV modules: To be built: hal core flann imgproc ml photo video imgcodecs shape videoio highgui objdetect superres ts features2d calib3d stitching videostab Disabled: world Disabled by dependency: - Unavailable: cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev java python2 python3 viz

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) resample: NO 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: NO Use IPP Async: NO Use Eigen: NO Use TBB: NO Use OpenMP: NO Use GCD NO Use Concurrency NO Use C=: NO Use pthreads for parallel for: NO Use Cuda: NO Use OpenCL: YES

OpenCL: Version: dynamic Include path: C:/Users/Miroslav/Downloads/opencv/sources/3rdparty/include/opencl/1.2 Use AMDFFT: NO Use AMDBLAS: NO

Python 2: Interpreter: NO

Python 3: Interpreter: C:/Python34/python.exe (ver 3.4.3)

Python (for build): NO

Java: ant: c:/apache_ant/bin/ant.bat (ver 1.9.6) JNI: c:/Program Files/Java/jdk1.8.0_45/include c:/Program Files/Java/jdk1.8.0_45/include/win32 C:/Program Files/Java/jdk1.8.0_45/include Java wrappers: NO Java tests: NO

Matlab: mex: NO

Documentation: Doxygen: NO PlantUML: NO

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

Install path: C:/Users/Miroslav/Downloads/opencv/build/install

cvconfig.h is in: C:/Users/Miroslav/Downloads/opencv/build

Configuring done Generating done