opencv_sfm module installation on windows 10

asked 2019-06-16 22:35:44 -0600

Arr Yone gravatar image

updated 2019-06-16 22:37:27 -0600

Hello, I already installed opencv on windows. It is fine. Now, I want to use opencv_sfm module. So, I do this under this instruction http://www.siddharth-agrawal.com/buil.... In CMake, it seems fine. In Microsoft VS 2015, it shows errors. Here is my cmake_build output.

**Selecting Windows SDK version to target Windows 10.0.17763. Could NOT find PythonInterp: Found unsuitable version "2.7.14", but required is at least "3.4" (found D:/Python2.7.7/python.exe) Could NOT find PythonInterp: Found unsuitable version "2.7.14", but required is at least "3.2" (found D:/Python2.7.7/python.exe) AVX_512F is not supported by C++ compiler AVX512_SKX is not supported by C++ compiler Dispatch optimization AVX512_SKX is not available, skipped libjpeg-turbo: VERSION = 1.5.3, BUILD = opencv-3.4.3-libjpeg-turbo Looking for Mfapi.h Looking for Mfapi.h - found found Intel IPP (ICV version): 2017.0.3 [2017.0.3] at: C:/Users/Yone/Documents/openCV/opencv-3.4.3/build/3rdparty/ippicv/ippicv_win found Intel IPP IW sources: 2017.0.3 at: C:/Users/Yone/Documents/openCV/opencv-3.4.3/build/3rdparty/ippicv/ippiw_win Could not find OpenBLAS include. Turning OpenBLAS_FOUND off Could not find OpenBLAS lib. Turning OpenBLAS_FOUND off Could NOT find BLAS (missing: BLAS_LIBRARIES) LAPACK requires BLAS A library with LAPACK API not found. Please specify library location. 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_LIBRARIES MATLAB_LIBRARY_DIRS MATLAB_MEXEXT MATLAB_ARCH MATLAB_BIN) Found VTK 6.3.0 (C:/Program Files (x86)/VTK/lib/cmake/vtk-6.3/UseVTK.cmake) Caffe: NO Protobuf: NO Glog: NO freetype2: NO harfbuzz: NO Module opencv_ovis disabled because OGRE3D was not found No preference for use of exported gflags CMake configuration set, and no hints for include/library directories provided. Defaulting to preferring an installed/exported gflags CMake configuration if available. Found installed version of gflags: C:/Program Files (x86)/gflags/lib/cmake/gflags Detected gflags version: 2.2.2 CMake Warning (dev) at D:/dev/ceres/ceres-solver-1.13.0/ceres-bin/CeresConfig.cmake:267: Syntax Warning in cmake code at column 40

Argument not separated from preceding token by whitespace. Call Stack (most recent call first): C:/Users/Yone/Documents/openCV/opencv_contrib-3.4.3/modules/sfm/CMakeLists.txt:8 (find_package) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at D:/dev/ceres/ceres-solver-1.13.0/ceres-bin/CeresConfig.cmake:299: Syntax Warning in cmake code at column 44

Argument not separated from preceding token by whitespace. Call Stack (most recent call first): C:/Users/Yone/Documents/openCV/opencv_contrib-3.4.3/modules/sfm/CMakeLists.txt:8 (find_package) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at D:/dev/ceres/ceres-solver-1.13.0/ceres-bin/CeresConfig.cmake:302: Syntax Warning in cmake code at column 66

Argument not separated from preceding token by whitespace. Call Stack (most recent call first): C:/Users/Yone/Documents/openCV/opencv_contrib-3.4.3/modules/sfm/CMakeLists.txt:8 (find_package ... (more)

edit retag flag offensive close merge delete

Comments

Did you compile ceres?

LBerger gravatar imageLBerger ( 2019-06-17 01:52:17 -0600 )edit

Yes, I already compile ceres. It seems fine.

Arr Yone gravatar imageArr Yone ( 2019-06-17 03:38:55 -0600 )edit

Did you install ceres using INSTALL project inside VS project?

LBerger gravatar imageLBerger ( 2019-06-17 04:03:51 -0600 )edit

Yes, I did INSTALL project. They are in the C:\Program Files (x86)\Ceres with CMake, include and lib folders.

Arr Yone gravatar imageArr Yone ( 2019-06-18 02:54:43 -0600 )edit