Ask Your Question

Revision history [back]

Error building opencv with extra modules in Visual Studio

I have configured and generated opencv 3.2 with extra modules on CMAKE successfully using a 32-bit compiler of Visual Studio 2015 (vs14). However, when building this project in Visual Studio I get several errors. Below, you could find: small sample of the errors, the CMake ouput , the set of all errors,

Error Sample

LNK1120 50 unresolved externals opencv_hdf  C:\OpenCV3_02_Custom\build\bin\Debug\opencv_hdf320d.dll 1   
LNK1112 module machine type 'x64' conflicts with target machine type 'X86'  opencv_python3  C:\OpenCV3_02_Custom\build\modules\python3\python35.lib(python35.dll)   1

CMake Ouput:

FP16: Compiler support is available
found IPP (ICV version): 9.0.1 [9.0.1]
at: C:/OpenCV3_02_Custom/build/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) 
Found PythonInterp: C:/Users/Ibrahim/Anaconda3/python.exe (found suitable version "3.5.2", minimum required is "2.7") 
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
freetype2:   NO
harfbuzz:    NO
CMake Warning at C:/OpenCV3_Custom/source/opencv_contrib/modules/matlab/CMakeLists.txt:58 (message):
  Your compiler is 32-bit but your version of Matlab is 64-bit.  To build
  Matlab bindings, please switch to a 64-bit compiler.
Call Stack (most recent call first):
  C:/OpenCV3_Custom/source/opencv_contrib/modules/matlab/CMakeLists.txt:67 (warn_mixed_precision)

Module opencv_sfm disabled because the following dependencies are not found: Eigen Glog/Gflags
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 ...

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

  Extra modules:
    Location (extra):            C:/OpenCV3_Custom/source/opencv_contrib/modules
    Version control (extra):     unknown

  Platform:
    Timestamp:                   2017-02-28T15:51:02Z
    Host:                        Windows 10.0.14393 AMD64
    CMake:                       3.7.1
    CMake generator:             Visual Studio 14 2015
    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/cl.exe  (ver 19.0.23506.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 /arch:SSE2 /Oi /fp:fast  /wd4251 /wd4324 /wd4275 /wd4589 /MP4  /MD /O2 /Ob2 /DNDEBUG  /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 /arch:SSE2 /Oi /fp:fast  /wd4251 /wd4324 /wd4275 /wd4589 /MP4  /D_DEBUG /MDd /Zi /Ob0 /Od /RTC1 
    C Compiler:                  C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/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 /arch:SSE2 /Oi /fp:fast    /MP4  /MD /O2 /Ob2 /DNDEBUG  /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 /arch:SSE2 /Oi /fp:fast    /MP4  /D_DEBUG /MDd /Zi /Ob0 /Od /RTC1 
    Linker flags (Release):      /machine:X86  /INCREMENTAL:NO  /debug
    Linker flags (Debug):        /machine:X86  /debug /INCREMENTAL 
    ccache:                      NO
    Precompiled headers:         YES
    Extra dependencies:          comctl32 gdi32 ole32 setupapi ws2_32 vfw32 C:/Users/Ibrahim/Anaconda3/Library/lib/hdf5.lib
    3rdparty dependencies:       zlib libjpeg libwebp libpng libtiff libjasper IlmImf libprotobuf

  OpenCV modules:
    To be built:                 core flann hdf imgproc ml photo reg surface_matching video dnn fuzzy imgcodecs shape videoio highgui objdetect plot superres ts xobjdetect xphoto bgsegm bioinspired dpm face features2d line_descriptor saliency text calib3d ccalib datasets rgbd stereo tracking videostab xfeatures2d ximgproc aruco optflow phase_unwrapping stitching structured_light python3
    Disabled:                    world contrib_world
    Disabled by dependency:      -
    Unavailable:                 cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev java python2 viz cnn_3dobj cvv freetype matlab sfm

  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.6.24)
    TIFF:                        build (ver 42 - 4.0.2)
    JPEG 2000:                   build (ver 1.900.1)
    OpenEXR:                     build (ver 1.7.1)
    GDAL:                        NO
    GDCM:                        NO

  Video I/O:
    Video for Windows:           YES
    DC1394 1.x:                  NO
    DC1394 2.x:                  NO
    FFMPEG:                      YES (prebuilt binaries)
      avcodec:                   YES (ver 57.64.101)
      avformat:                  YES (ver 57.56.100)
      avutil:                    YES (ver 55.34.100)
      swscale:                   YES (ver 4.2.100)
      avresample:                YES (ver 3.1.0)
    GStreamer:                   NO
    OpenNI:                      NO
    OpenNI PrimeSensor Modules:  NO
    OpenNI2:                     NO
    PvAPI:                       NO
    GigEVisionSDK:               NO
    DirectShow:                  YES
    Media Foundation:            NO
    XIMEA:                       NO
    Intel PerC:                  NO

  Parallel framework:            Concurrency

  Other third-party libraries:
    Use IPP:                     9.0.1 [9.0.1]
         at:                     C:/OpenCV3_02_Custom/build/3rdparty/ippicv/ippicv_win
    Use IPP Async:               NO
    Use Lapack:                  NO
    Use Eigen:                   NO
    Use Cuda:                    NO
    Use OpenCL:                  YES
    Use OpenVX:                  NO
    Use custom HAL:              NO

  OpenCL:                        <Dynamic loading of OpenCL library>
    Include path:                C:/OpenCV3_02_Custom/source/opencv/3rdparty/include/opencl/1.2
    Use AMDFFT:                  NO
    Use AMDBLAS:                 NO

  Python 2:
    Interpreter:                 NO

  Python 3:
    Interpreter:                 C:/Users/Ibrahim/Anaconda3/python.exe (ver 3.5.2)
    Libraries:                   C:/Users/Ibrahim/Anaconda3/libs/python35.lib (ver 3.5.2)
    numpy:                       C:/Users/Ibrahim/Anaconda3/lib/site-packages/numpy/core/include (ver 1.11.1)
    packages path:               C:/Users/Ibrahim/Anaconda3/Lib/site-packages

  Python (for build):            C:/Users/Ibrahim/Anaconda3/python.exe

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

  Matlab:
    mex:                         C:/Program Files/MATLAB/R2016a/bin/mex.bat
    Compiler/generator:          Not working (bindings will not be generated)

  Documentation:
    Doxygen:                     NO

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

  Install path:                  C:/OpenCV3_02_Custom/build/install

  cvconfig.h is in:              C:/OpenCV3_02_Custom/build
-----------------------------------------------------------------
Configuring done
Generating done

All Erros in Visual Studio:

    Code    Description Project File    Line    Suppression State
LNK2019 unresolved external symbol __imp__H5open referenced in function "private: int __thiscall cv::hdf::HDF5Impl::GetCVtype(int)const " (?GetCVtype@HDF5Impl@hdf@cv@@ABEHH@Z) opencv_hdf  C:\OpenCV3_02_Custom\build\modules\hdf\hdf5.obj 1   
LNK2019 unresolved external symbol __imp__H5check_version referenced in function "public: __thiscall cv::hdf::HDF5Impl::HDF5Impl(class cv::String)" (??0HDF5Impl@hdf@cv@@QAE@VString@2@@Z)  opencv_hdf  C:\OpenCV3_02_Custom\build\modules\hdf\hdf5.obj 1   
LNK2019 unresolved external symbol __imp__H5Tcreate referenced in function "public: virtual void __thiscall cv::hdf::HDF5Impl::kpcreate(int,class cv::String,int,int)const " (?kpcreate@HDF5Impl@hdf@cv@@UBEXHVString@3@HH@Z)   opencv_hdf  C:\OpenCV3_02_Custom\build\modules\hdf\hdf5.obj 1   
LNK2019 unresolved external symbol __imp__H5Tclose referenced in function "public: virtual void __thiscall cv::hdf::HDF5Impl::dscreate(int,int const *,int,class cv::String,int,int const *)const " (?dscreate@HDF5Impl@hdf@cv@@UBEXHPBHHVString@3@H0@Z)    opencv_hdf  C:\OpenCV3_02_Custom\build\modules\hdf\hdf5.obj 1   
LNK2019 unresolved external symbol __imp__H5Tequal referenced in function "private: int __thiscall cv::hdf::HDF5Impl::GetCVtype(int)const " (?GetCVtype@HDF5Impl@hdf@cv@@ABEHH@Z)   opencv_hdf  C:\OpenCV3_02_Custom\build\modules\hdf\hdf5.obj 1   
LNK2019 unresolved external symbol __imp__H5Tinsert referenced in function "public: virtual void __thiscall cv::hdf::HDF5Impl::kpcreate(int,class cv::String,int,int)const " (?kpcreate@HDF5Impl@hdf@cv@@UBEXHVString@3@HH@Z)   opencv_hdf  C:\OpenCV3_02_Custom\build\modules\hdf\hdf5.obj 1   
LNK2019 unresolved external symbol __imp__H5Tarray_create2 referenced in function "public: virtual void __thiscall cv::hdf::HDF5Impl::dscreate(int,int const *,int,class cv::String,int,int const *)const " (?dscreate@HDF5Impl@hdf@cv@@UBEXHPBHHVString@3@H0@Z)    opencv_hdf  C:\OpenCV3_02_Custom\build\modules\hdf\hdf5.obj 1   
LNK2019 unresolved external symbol __imp__H5Tget_array_dims2 referenced in function "public: virtual int __thiscall cv::hdf::HDF5Impl::dsgettype(class cv::String)const " (?dsgettype@HDF5Impl@hdf@cv@@UBEHVString@3@@Z)    opencv_hdf  C:\OpenCV3_02_Custom\build\modules\hdf\hdf5.obj 1   
LNK2019 unresolved external symbol __imp__H5Tget_super referenced in function "public: virtual int __thiscall cv::hdf::HDF5Impl::dsgettype(class cv::String)const " (?dsgettype@HDF5Impl@hdf@cv@@UBEHVString@3@@Z)  opencv_hdf  C:\OpenCV3_02_Custom\build\modules\hdf\hdf5.obj 1   
LNK2019 unresolved external symbol __imp__H5Tget_class referenced in function "public: virtual int __thiscall cv::hdf::HDF5Impl::dsgettype(class cv::String)const " (?dsgettype@HDF5Impl@hdf@cv@@UBEHVString@3@@Z)  opencv_hdf  C:\OpenCV3_02_Custom\build\modules\hdf\hdf5.obj 1   
LNK2019 unresolved external symbol __imp__H5Tget_native_type referenced in function "public: virtual int __thiscall cv::hdf::HDF5Impl::dsgettype(class cv::String)const " (?dsgettype@HDF5Impl@hdf@cv@@UBEHVString@3@@Z)    opencv_hdf  C:\OpenCV3_02_Custom\build\modules\hdf\hdf5.obj 1   
LNK2019 unresolved external symbol __imp__H5Lexists referenced in function "public: virtual bool __thiscall cv::hdf::HDF5Impl::hlexists(class cv::String)const " (?hlexists@HDF5Impl@hdf@cv@@UBE_NVString@3@@Z) opencv_hdf  C:\OpenCV3_02_Custom\build\modules\hdf\hdf5.obj 1   
LNK2019 unresolved external symbol __imp__H5Dcreate2 referenced in function "public: virtual void __thiscall cv::hdf::HDF5Impl::dscreate(int,int const *,int,class cv::String,int,int const *)const " (?dscreate@HDF5Impl@hdf@cv@@UBEXHPBHHVString@3@H0@Z)  opencv_hdf  C:\OpenCV3_02_Custom\build\modules\hdf\hdf5.obj 1   
LNK2019 unresolved external symbol __imp__H5Dopen2 referenced in function "public: virtual class std::vector<int,class std::allocator<int> > __thiscall cv::hdf::HDF5Impl::dsgetsize(class cv::String,int)const " (?dsgetsize@HDF5Impl@hdf@cv@@UBE?AV?$vector@HV?$allocator@H@std@@@std@@VString@3@H@Z) opencv_hdf  C:\OpenCV3_02_Custom\build\modules\hdf\hdf5.obj 1   
LNK2019 unresolved external symbol __imp__H5Dclose referenced in function "public: virtual void __thiscall cv::hdf::HDF5Impl::dscreate(int,int const *,int,class cv::String,int,int const *)const " (?dscreate@HDF5Impl@hdf@cv@@UBEXHPBHHVString@3@H0@Z)    opencv_hdf  C:\OpenCV3_02_Custom\build\modules\hdf\hdf5.obj 1   
LNK2019 unresolved external symbol __imp__H5Dget_space referenced in function "public: virtual class std::vector<int,class std::allocator<int> > __thiscall cv::hdf::HDF5Impl::dsgetsize(class cv::String,int)const " (?dsgetsize@HDF5Impl@hdf@cv@@UBE?AV?$vector@HV?$allocator@H@std@@@std@@VString@3@H@Z) opencv_hdf  C:\OpenCV3_02_Custom\build\modules\hdf\hdf5.obj 1   
LNK2019 unresolved external symbol __imp__H5Dget_type referenced in function "public: virtual int __thiscall cv::hdf::HDF5Impl::dsgettype(class cv::String)const " (?dsgettype@HDF5Impl@hdf@cv@@UBEHVString@3@@Z)   opencv_hdf  C:\OpenCV3_02_Custom\build\modules\hdf\hdf5.obj 1   
LNK2019 unresolved external symbol __imp__H5Dget_create_plist referenced in function "public: virtual class std::vector<int,class std::allocator<int> > __thiscall cv::hdf::HDF5Impl::dsgetsize(class cv::String,int)const " (?dsgetsize@HDF5Impl@hdf@cv@@UBE?AV?$vector@HV?$allocator@H@std@@@std@@VString@3@H@Z)  opencv_hdf  C:\OpenCV3_02_Custom\build\modules\hdf\hdf5.obj 1   
LNK2019 unresolved external symbol __imp__H5Dread referenced in function "public: virtual void __thiscall cv::hdf::HDF5Impl::dsread(class cv::_OutputArray const &,class cv::String,int const *,int const *)const " (?dsread@HDF5Impl@hdf@cv@@UBEXABV_OutputArray@3@VString@3@PBH2@Z)   opencv_hdf  C:\OpenCV3_02_Custom\build\modules\hdf\hdf5.obj 1   
LNK2019 unresolved external symbol __imp__H5Dwrite referenced in function "public: virtual void __thiscall cv::hdf::HDF5Impl::dsinsert(class cv::_InputArray const &,class cv::String,int const *,int const *)const " (?dsinsert@HDF5Impl@hdf@cv@@UBEXABV_InputArray@3@VString@3@PBH2@Z)    opencv_hdf  C:\OpenCV3_02_Custom\build\modules\hdf\hdf5.obj 1   
LNK2019 unresolved external symbol __imp__H5Dextend referenced in function "public: virtual void __thiscall cv::hdf::HDF5Impl::dsinsert(class cv::_InputArray const &,class cv::String,int const *,int const *)const " (?dsinsert@HDF5Impl@hdf@cv@@UBEXABV_InputArray@3@VString@3@PBH2@Z)   opencv_hdf  C:\OpenCV3_02_Custom\build\modules\hdf\hdf5.obj 1   
LNK2019 unresolved external symbol __imp__H5Eget_auto2 referenced in function "public: __thiscall cv::hdf::HDF5Impl::HDF5Impl(class cv::String)" (??0HDF5Impl@hdf@cv@@QAE@VString@2@@Z) opencv_hdf  C:\OpenCV3_02_Custom\build\modules\hdf\hdf5.obj 1   
LNK2019 unresolved external symbol __imp__H5Eset_auto2 referenced in function "public: __thiscall cv::hdf::HDF5Impl::HDF5Impl(class cv::String)" (??0HDF5Impl@hdf@cv@@QAE@VString@2@@Z) opencv_hdf  C:\OpenCV3_02_Custom\build\modules\hdf\hdf5.obj 1   
LNK2019 unresolved external symbol __imp__H5Fis_hdf5 referenced in function "public: __thiscall cv::hdf::HDF5Impl::HDF5Impl(class cv::String)" (??0HDF5Impl@hdf@cv@@QAE@VString@2@@Z)   opencv_hdf  C:\OpenCV3_02_Custom\build\modules\hdf\hdf5.obj 1   
LNK2019 unresolved external symbol __imp__H5Fcreate referenced in function "public: __thiscall cv::hdf::HDF5Impl::HDF5Impl(class cv::String)" (??0HDF5Impl@hdf@cv@@QAE@VString@2@@Z)    opencv_hdf  C:\OpenCV3_02_Custom\build\modules\hdf\hdf5.obj 1   
LNK2019 unresolved external symbol __imp__H5Fopen referenced in function "public: __thiscall cv::hdf::HDF5Impl::HDF5Impl(class cv::String)" (??0HDF5Impl@hdf@cv@@QAE@VString@2@@Z)  opencv_hdf  C:\OpenCV3_02_Custom\build\modules\hdf\hdf5.obj 1   
LNK2019 unresolved external symbol __imp__H5Fclose referenced in function "public: virtual void __thiscall cv::hdf::HDF5Impl::close(void)" (?close@HDF5Impl@hdf@cv@@UAEXXZ) opencv_hdf  C:\OpenCV3_02_Custom\build\modules\hdf\hdf5.obj 1   
LNK2019 unresolved external symbol __imp__H5Gcreate2 referenced in function "public: virtual void __thiscall cv::hdf::HDF5Impl::grcreate(class cv::String)" (?grcreate@HDF5Impl@hdf@cv@@UAEXVString@3@@Z)   opencv_hdf  C:\OpenCV3_02_Custom\build\modules\hdf\hdf5.obj 1   
LNK2019 unresolved external symbol __imp__H5Gclose referenced in function "public: virtual void __thiscall cv::hdf::HDF5Impl::grcreate(class cv::String)" (?grcreate@HDF5Impl@hdf@cv@@UAEXVString@3@@Z) opencv_hdf  C:\OpenCV3_02_Custom\build\modules\hdf\hdf5.obj 1   
LNK2019 unresolved external symbol __imp__H5Pcreate referenced in function "public: virtual void __thiscall cv::hdf::HDF5Impl::dscreate(int,int const *,int,class cv::String,int,int const *)const " (?dscreate@HDF5Impl@hdf@cv@@UBEXHPBHHVString@3@H0@Z)   opencv_hdf  C:\OpenCV3_02_Custom\build\modules\hdf\hdf5.obj 1   
LNK2019 unresolved external symbol __imp__H5Pclose referenced in function "public: virtual void __thiscall cv::hdf::HDF5Impl::dscreate(int,int const *,int,class cv::String,int,int const *)const " (?dscreate@HDF5Impl@hdf@cv@@UBEXHPBHHVString@3@H0@Z)    opencv_hdf  C:\OpenCV3_02_Custom\build\modules\hdf\hdf5.obj 1   
LNK2019 unresolved external symbol __imp__H5Pset_deflate referenced in function "public: virtual void __thiscall cv::hdf::HDF5Impl::dscreate(int,int const *,int,class cv::String,int,int const *)const " (?dscreate@HDF5Impl@hdf@cv@@UBEXHPBHHVString@3@H0@Z)  opencv_hdf  C:\OpenCV3_02_Custom\build\modules\hdf\hdf5.obj 1   
LNK2019 unresolved external symbol __imp__H5Pget_layout referenced in function "public: virtual class std::vector<int,class std::allocator<int> > __thiscall cv::hdf::HDF5Impl::dsgetsize(class cv::String,int)const " (?dsgetsize@HDF5Impl@hdf@cv@@UBE?AV?$vector@HV?$allocator@H@std@@@std@@VString@3@H@Z)    opencv_hdf  C:\OpenCV3_02_Custom\build\modules\hdf\hdf5.obj 1   
LNK2019 unresolved external symbol __imp__H5Pset_chunk referenced in function "public: virtual void __thiscall cv::hdf::HDF5Impl::dscreate(int,int const *,int,class cv::String,int,int const *)const " (?dscreate@HDF5Impl@hdf@cv@@UBEXHPBHHVString@3@H0@Z)    opencv_hdf  C:\OpenCV3_02_Custom\build\modules\hdf\hdf5.obj 1   
LNK2019 unresolved external symbol __imp__H5Pget_chunk referenced in function "public: virtual class std::vector<int,class std::allocator<int> > __thiscall cv::hdf::HDF5Impl::dsgetsize(class cv::String,int)const " (?dsgetsize@HDF5Impl@hdf@cv@@UBE?AV?$vector@HV?$allocator@H@std@@@std@@VString@3@H@Z) opencv_hdf  C:\OpenCV3_02_Custom\build\modules\hdf\hdf5.obj 1   
LNK2019 unresolved external symbol __imp__H5Screate_simple referenced in function "public: virtual void __thiscall cv::hdf::HDF5Impl::dscreate(int,int const *,int,class cv::String,int,int const *)const " (?dscreate@HDF5Impl@hdf@cv@@UBEXHPBHHVString@3@H0@Z)    opencv_hdf  C:\OpenCV3_02_Custom\build\modules\hdf\hdf5.obj 1   
LNK2019 unresolved external symbol __imp__H5Sclose referenced in function "public: virtual void __thiscall cv::hdf::HDF5Impl::dscreate(int,int const *,int,class cv::String,int,int const *)const " (?dscreate@HDF5Impl@hdf@cv@@UBEXHPBHHVString@3@H0@Z)    opencv_hdf  C:\OpenCV3_02_Custom\build\modules\hdf\hdf5.obj 1   
LNK2019 unresolved external symbol __imp__H5Sget_simple_extent_ndims referenced in function "public: virtual class std::vector<int,class std::allocator<int> > __thiscall cv::hdf::HDF5Impl::dsgetsize(class cv::String,int)const " (?dsgetsize@HDF5Impl@hdf@cv@@UBE?AV?$vector@HV?$allocator@H@std@@@std@@VString@3@H@Z)   opencv_hdf  C:\OpenCV3_02_Custom\build\modules\hdf\hdf5.obj 1   
LNK2019 unresolved external symbol __imp__H5Sget_simple_extent_dims referenced in function "public: virtual class std::vector<int,class std::allocator<int> > __thiscall cv::hdf::HDF5Impl::dsgetsize(class cv::String,int)const " (?dsgetsize@HDF5Impl@hdf@cv@@UBE?AV?$vector@HV?$allocator@H@std@@@std@@VString@3@H@Z)    opencv_hdf  C:\OpenCV3_02_Custom\build\modules\hdf\hdf5.obj 1   
LNK2019 unresolved external symbol __imp__H5Sselect_hyperslab referenced in function "public: virtual void __thiscall cv::hdf::HDF5Impl::dsinsert(class cv::_InputArray const &,class cv::String,int const *,int const *)const " (?dsinsert@HDF5Impl@hdf@cv@@UBEXABV_InputArray@3@VString@3@PBH2@Z) opencv_hdf  C:\OpenCV3_02_Custom\build\modules\hdf\hdf5.obj 1   
LNK2001 unresolved external symbol __imp__H5T_NATIVE_SCHAR_g    opencv_hdf  C:\OpenCV3_02_Custom\build\modules\hdf\hdf5.obj 1   
LNK2001 unresolved external symbol __imp__H5T_NATIVE_UCHAR_g    opencv_hdf  C:\OpenCV3_02_Custom\build\modules\hdf\hdf5.obj 1   
LNK2001 unresolved external symbol __imp__H5T_NATIVE_SHORT_g    opencv_hdf  C:\OpenCV3_02_Custom\build\modules\hdf\hdf5.obj 1   
LNK2001 unresolved external symbol __imp__H5T_NATIVE_USHORT_g   opencv_hdf  C:\OpenCV3_02_Custom\build\modules\hdf\hdf5.obj 1   
LNK2001 unresolved external symbol __imp__H5T_NATIVE_INT_g  opencv_hdf  C:\OpenCV3_02_Custom\build\modules\hdf\hdf5.obj 1   
LNK2001 unresolved external symbol __imp__H5T_NATIVE_FLOAT_g    opencv_hdf  C:\OpenCV3_02_Custom\build\modules\hdf\hdf5.obj 1   
LNK2001 unresolved external symbol __imp__H5T_NATIVE_DOUBLE_g   opencv_hdf  C:\OpenCV3_02_Custom\build\modules\hdf\hdf5.obj 1   
LNK2001 unresolved external symbol __imp__H5T_NATIVE_INT32_g    opencv_hdf  C:\OpenCV3_02_Custom\build\modules\hdf\hdf5.obj 1   
LNK2001 unresolved external symbol __imp__H5P_CLS_DATASET_CREATE_ID_g   opencv_hdf  C:\OpenCV3_02_Custom\build\modules\hdf\hdf5.obj 1   
LNK2001 unresolved external symbol __imp__H5P_CLS_LINK_ACCESS_ID_g  opencv_hdf  C:\OpenCV3_02_Custom\build\modules\hdf\hdf5.obj 1   
Warning LNK4272 library machine type 'x64' conflicts with target machine type 'X86' opencv_hdf  C:\Users\Ibrahim\Anaconda3\Library\lib\hdf5.lib 1   
LNK1120 50 unresolved externals opencv_hdf  C:\OpenCV3_02_Custom\build\bin\Debug\opencv_hdf320d.dll 1   
LNK1112 module machine type 'x64' conflicts with target machine type 'X86'  opencv_python3  C:\OpenCV3_02_Custom\build\modules\python3\python35.lib(python35.dll)   1