I need opencv_contrib's tracking module for my app.
I tried building extra modules using the instructions here https://github.com/opencv/opencv_contrib
I can configure opencv 320 successfully in cmake-gui. But pressing Configure after setting OPENCV_EXTRA_MODULES_PATH, I get the error Lost of it!
FP16: Compiler support is available
Could NOT find ZLIB (missing:
ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
(Required is at least version "1.2.3")
found IPP (ICV version): 9.0.1 [9.0.1]
at:
C:/opencv320/build/3rdparty/ippicv/ippicv_win
CUDA detected: 8.0 CUDA NVCC target
flags:
-gencode;arch=compute_20,code=sm_20;-gencode;arch=compute_30,code=sm_30;-gencode;arch=compute_35,code=sm_35;-gencode;arch=compute_37,code=sm_37;-gencode;arch=compute_50,code=sm_50;-gencode;arch=compute_52,code=sm_52;-gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_61,code=sm_61;-D_FORCE_INLINES
Could not find OpenBLAS include.
Turning OpenBLAS_FOUND off Could not
find OpenBLAS lib. Turning
OpenBLAS_FOUND off Could NOT find
Doxygen (missing: DOXYGEN_EXECUTABLE)
Could NOT find JNI (missing:
JAVA_AWT_LIBRARY JAVA_JVM_LIBRARY
JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2
JAVA_AWT_INCLUDE_PATH) VTK is not
found. Please set -DVTK_DIR in CMake
to VTK build directory, or to VTK
install subdirectory with
VTKConfig.cmake file Caffe: NO
Protobuf: NO Glog: NO CMake
Deprecation Warning at
C:/opencv_contrib/modules/dnn_modern/CMakeLists.txt:9
(cmake_policy): The OLD behavior for
policy CMP0028 will be removed from a
future version of CMake.
The cmake-policies(7) manual
explains that the OLD behaviors of all
policies are deprecated and that a
policy should be set to OLD only under
specific short-term circumstances.
Projects should be ported to the NEW
behavior and not rely on setting a
policy to OLD.
Downloading ... CMake Error at
C:/opencv320/sources/cmake/OpenCVUtils.cmake:1043
(file): file DOWNLOAD cannot open
file for write. Call Stack (most
recent call first):
C:/opencv_contrib/modules/dnn_modern/CMakeLists.txt:20
(ocv_download)
CMake Error at
C:/opencv320/sources/cmake/OpenCVUtils.cmake:1047
(message): Failed to download .
Status= Call Stack (most recent call
first):
C:/opencv_contrib/modules/dnn_modern/CMakeLists.txt:20
(ocv_download)
Configuring incomplete, errors
occurred! See also
"C:/opencv320/build/CMakeFiles/CMakeOutput.log".
See also
"C:/opencv320/build/CMakeFiles/CMakeError.log".
My Environment:
Windows 10 x64
VS 2017
(Anaconda) Python 3
Could anybody help me on getting 'tracking' module work with opencv please?
I am pasting the content of
"C:/opencv320/build/CMakeFiles/CMakeError.log".
Build output check failed:
Regex: 'unknown .*option'
Output line: 'cl : Command line warning D9002: ignoring unknown option
'-fsigned-char'
[C:\opencv320\build\CMakeFiles\CMakeTmp\cmTC_0735a.vcxproj]
' Compilation failed:
source file: 'C:/opencv320/build/CMakeFiles/CMakeTmp/src.cxx'
check option: ' -fsigned-char'
===== BUILD LOG ===== Change Dir: C:/opencv320/build/CMakeFiles/CMakeTmp
Run Build Command:"C:\Program Files
(x86)\Microsoft Visual
Studio\2017\Community/MSBuild/15.0/Bin/MSBuild.exe"
"cmTC_0735a.vcxproj"
"/p:Configuration=Debug"
"/p:VisualStudioVersion=15.0"
Microsoft (R) Build Engine version
15.1.1012.6693
Copyright (C) Microsoft Corporation.
All rights reserved.
Build started 8/10/2017 7:39:57 PM.
Project
"C:\opencv320\build\CMakeFiles\CMakeTmp\cmTC_0735a.vcxproj"
on node 1 (default targets).
PrepareForBuild:
Creating directory
"cmTC_0735a.dir\Debug\".
Creating directory
"C ...
(more)