cant add tracking modules to opencv solution [closed]

asked 2017-05-23 11:47:57 -0500

aligoglos gravatar image

updated 2017-05-23 13:08:48 -0500

i use cmake GUI to create OpenCV.sln and build it. i set OPENCV_EXTRA_MODULES_PATH to opencv_contrib-3.2.0\modules and tick BUILD_opencv_tracking in BUILD but when i configure and generate solution and opened it with visual studio 14 all modules exist like xphoto , surface_matching , ... Except tracking module !!! i cant find why tracking project not add in opencv solution. anybody have idea ? my cmake options :

cmake output :

FP16: Compiler support is available
Found TBB: C:/Users/127051/Documents/Visual Studio 2015/Lib/tbb2017_20170118oss_win/tbb2017_20170118oss/lib/intel64/vc14/tbb.lib
found IPP (ICV version): 9.0.1 [9.0.1]
at: D:/SoftwareInstaltion/Opencv3.2/opencv/sources/Build2/3rdparty/ippicv/ippicv_win
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) 
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
freetype2:   NO
harfbuzz:    NO
Warning: Matlab bindings will only be built in Release configurations
Module opencv_sfm disabled because the following dependencies are not found: Eigen Glog/Gflags
Module opencv_tracking disabled because opencv_dnn dependency can't be resolved!
Tesseract:   NO
Check contents of vgg_generated_48.i ...
Check contents of vgg_generated_64.i ...
Check contents of vgg_generated_80.i ...
Check contents of vgg_generated_120.i ...
Check contents of boostdesc_bgm.i ...
Check contents of boostdesc_bgm_bi.i ...
Check contents of boostdesc_bgm_hd.i ...
Check contents of boostdesc_binboost_064.i ...
Check contents of boostdesc_binboost_128.i ...
Check contents of boostdesc_binboost_256.i ...
Check contents of boostdesc_lbgm.i ...
Warning: Matlab bindings will only be built in Release configurations

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

  Extra modules:
    Location (extra):            D:/SoftwareInstaltion/Opencv3.2/opencv_contrib-3.2.0/opencv_contrib-3.2.0/modules
    Version control (extra):     unknown

  Platform:
    Timestamp:                   2017-05-23T18:07:35Z
    Host:                        Windows 10.0.14393 AMD64
    CMake:                       3.5.2
    CMake generator:             Visual Studio 14 2015 Win64
    CMake build tool:            C:/Program Files (x86)/MSBuild/14.0/bin/MSBuild.exe
    MSVC:                        1900

  C/C++:
    Built as dynamic libs?:      YES
    C++ Compiler:                C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe  (ver 19.0.24210.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 /wd4324 /wd4275 /wd4589 /MP8  /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 /wd4324 /wd4275 /wd4589 /MP8  /D_DEBUG /MDd /Zi /Ob0 /Od /RTC1 
    C Compiler:                  C:/Program Files (x86)/Microsoft Visual Studio 14.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    /MP8  /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    /MP8  /D_DEBUG /MDd /Zi /Ob0 /Od /RTC1 
    Linker flags (Release):      /machine:x64  /INCREMENTAL:NO  /debug
    Linker flags (Debug):        /machine:x64  /debug /INCREMENTAL 
    ccache:                      NO
    Precompiled headers:         YES
    Extra dependencies:          comctl32 gdi32 ole32 setupapi ws2_32 ...
(more)
edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by berak
close date 2017-05-24 08:35:49.639675

Comments

probably the cmake output contains some hints, could you add it `? (but please NOT as a screenshot, , plain text , please.)

berak gravatar imageberak ( 2017-05-23 12:14:56 -0500 )edit
1

"Module opencv_tracking disabled because opencv_dnn dependency can't be resolved!"

so, you need BUILD_opencv_dnn=ON (the goturn tracker depends on dnn)

berak gravatar imageberak ( 2017-05-23 23:57:51 -0500 )edit

thanks works. but i think must write in tracking README file that tracking depend on dnn.

aligoglos gravatar imagealigoglos ( 2017-05-24 07:04:38 -0500 )edit

There is no such option in OpenCV 3.2. Is there an other workaround?

arvids.p gravatar imagearvids.p ( 2017-08-31 09:13:17 -0500 )edit

@arvids.p : sure there is ! but i doubt, you really have the same problem as in the question.

berak gravatar imageberak ( 2017-08-31 09:37:03 -0500 )edit
1

Well i have this problem: Module opencv_tracking disabled because opencv_dnn dependency can't be resolved!

arvids.p gravatar imagearvids.p ( 2017-09-01 00:14:19 -0500 )edit

@arvids.p , still, cmake -DBUILD_opencv_dnn=ON

if you cannot solve it, maybe it's a good idea, to start a new question with your cmdline and cmake output (there's not enough space in the comments for that)

berak gravatar imageberak ( 2017-09-01 00:22:14 -0500 )edit