swarm-lab / ROpenCVLite

Utility package to install OpenCV in R
https://swarm-lab.github.io/ROpenCVLite/
GNU General Public License v3.0
53 stars 17 forks source link

ROpenCV Lite Builds but does not finish install #19

Closed matiasandina closed 4 years ago

matiasandina commented 4 years ago

I have tried Rtools35 and Rtools34. The build seems to be working but it exists here

....
-- Up-to-date: C:/Program/x64/mingw/bin/opencv_version.exe
-- Up-to-date: C:/Program/x64/mingw/bin/opencv_version_win32.exe
MINGW3~1.EXE: Leaving directory 'C:/Users/LIGHTS~1/AppData/Local/Temp/Rtmpa2hc0p/opencv-4.1.2/build64'
[1] FALSE

Any advice appreciated.

sjmgarnier commented 4 years ago

@matiasandina Can you please post the procedure that you have followed to install and build ROpenCVLite and the entire error message? This is not enough for me to figure out what is happening here.

matiasandina commented 4 years ago

Yes, I'm sorry @sjmgarnier. I try to include info below. Please let me know if sufficient.

I did

Rtools

installr::install.rtools()

I did this for Rtools35 first (and tried the whole install), later uninstalled things and then tried with Rtools34. I did not install the tools for 32 bits.

Cmake

installr::install.URL("https://github.com/Kitware/CMake/releases/download/v3.16.5/cmake-3.16.5-win64-x64.msi
")

I checked that things were alright.

pkgbuild::check_build_tools()
Your system is ready to build packages!
pkgbuild::check_compiler()
[1] TRUE

I then went to ROpenCVLite

ROpenCVLite::isCmakeInstalled()
[1] TRUE

And the OpenCv install

ROpenCVLite::installOpenCV()

Which goes into the install

OpenCV will be installed in c:/Program Files/R/R-3.6.3/library/opencv
trying URL 'https://github.com/opencv/opencv/archive/4.1.2.tar.gz'
Content type 'application/x-gzip' length unknown
downloaded 83.4 MB

-- The CXX compiler identification is GNU 4.9.3
-- The C compiler identification is GNU 4.9.3
-- Check for working CXX compiler: c:/Rtools/mingw_64/bin/g++.exe
-- Check for working CXX compiler: c:/Rtools/mingw_64/bin/g++.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: c:/Rtools/mingw_64/bin/gcc.exe
-- Check for working C compiler: c:/Rtools/mingw_64/bin/gcc.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Detected processor: AMD64
-- Found PythonInterp: C:/Users/Lightsheet/AppData/Local/Programs/Python/Python38/python.exe (found suitable version "3.8.2", minimum required is "2.7") 
CMake Warning at cmake/OpenCVDetectPython.cmake:81 (message):
  CMake's 'find_host_package(PythonInterp 2.7)' founds wrong Python version:

  PYTHON_EXECUTABLE=C:/Users/Lightsheet/AppData/Local/Programs/Python/Python38/python.exe

  PYTHON_VERSION_STRING=3.8.2

  Consider specify 'PYTHON2_EXECUTABLE' variable via CMake command line or
  environment variables

Call Stack (most recent call first):
  cmake/OpenCVDetectPython.cmake:271 (find_python)
  CMakeLists.txt:582 (include)

-- Found Python2: C:/Python27/python.exe (found version "2.7.17") found components: Interpreter 
-- Found PythonInterp: C:/Python27/python.exe (found version "2.7.17") 
-- Found PythonLibs: C:/Python27/libs/libpython27.a (found suitable exact version "2.7.17") 
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named numpy.distutils
-- Found PythonInterp: C:/Users/Lightsheet/AppData/Local/Programs/Python/Python38/python.exe (found suitable version "3.8.2", minimum required is "3.2") 
-- Found PythonLibs: C:/Users/Lightsheet/AppData/Local/Programs/Python/Python38/python38.dll (found suitable exact version "3.8.2") 
-- Performing Test HAVE_CXX_FSIGNED_CHAR
-- Performing Test HAVE_CXX_FSIGNED_CHAR - Success
-- Performing Test HAVE_C_FSIGNED_CHAR
-- Performing Test HAVE_C_FSIGNED_CHAR - Success
-- Performing Test HAVE_CXX_W
-- Performing Test HAVE_CXX_W - Success
-- Performing Test HAVE_C_W
-- Performing Test HAVE_C_W - Success
-- Performing Test HAVE_CXX_WALL
-- Performing Test HAVE_CXX_WALL - Success
-- Performing Test HAVE_C_WALL
-- Performing Test HAVE_C_WALL - Success
-- Performing Test HAVE_CXX_WERROR_RETURN_TYPE
-- Performing Test HAVE_CXX_WERROR_RETURN_TYPE - Success
-- Performing Test HAVE_C_WERROR_RETURN_TYPE
-- Performing Test HAVE_C_WERROR_RETURN_TYPE - Success
-- Performing Test HAVE_CXX_WERROR_NON_VIRTUAL_DTOR
-- Performing Test HAVE_CXX_WERROR_NON_VIRTUAL_DTOR - Success
-- Performing Test HAVE_C_WERROR_NON_VIRTUAL_DTOR
-- Performing Test HAVE_C_WERROR_NON_VIRTUAL_DTOR - Success
-- Performing Test HAVE_CXX_WERROR_ADDRESS
-- Performing Test HAVE_CXX_WERROR_ADDRESS - Success
-- Performing Test HAVE_C_WERROR_ADDRESS
-- Performing Test HAVE_C_WERROR_ADDRESS - Success
-- Performing Test HAVE_CXX_WERROR_SEQUENCE_POINT
-- Performing Test HAVE_CXX_WERROR_SEQUENCE_POINT - Success
-- Performing Test HAVE_C_WERROR_SEQUENCE_POINT
-- Performing Test HAVE_C_WERROR_SEQUENCE_POINT - Success
-- Performing Test HAVE_CXX_WFORMAT
-- Performing Test HAVE_CXX_WFORMAT - Success
-- Performing Test HAVE_C_WFORMAT
-- Performing Test HAVE_C_WFORMAT - Success
-- Performing Test HAVE_CXX_WERROR_FORMAT_SECURITY
-- Performing Test HAVE_CXX_WERROR_FORMAT_SECURITY - Success
-- Performing Test HAVE_C_WERROR_FORMAT_SECURITY
-- Performing Test HAVE_C_WERROR_FORMAT_SECURITY - Success
-- Performing Test HAVE_CXX_WMISSING_DECLARATIONS
-- Performing Test HAVE_CXX_WMISSING_DECLARATIONS - Success
-- Performing Test HAVE_C_WMISSING_DECLARATIONS
-- Performing Test HAVE_C_WMISSING_DECLARATIONS - Success
-- Performing Test HAVE_CXX_WMISSING_PROTOTYPES
-- Performing Test HAVE_CXX_WMISSING_PROTOTYPES - Failed
-- Performing Test HAVE_C_WMISSING_PROTOTYPES
-- Performing Test HAVE_C_WMISSING_PROTOTYPES - Success
-- Performing Test HAVE_CXX_WSTRICT_PROTOTYPES
-- Performing Test HAVE_CXX_WSTRICT_PROTOTYPES - Failed
-- Performing Test HAVE_C_WSTRICT_PROTOTYPES
-- Performing Test HAVE_C_WSTRICT_PROTOTYPES - Success
-- Performing Test HAVE_CXX_WUNDEF
-- Performing Test HAVE_CXX_WUNDEF - Success
-- Performing Test HAVE_C_WUNDEF
-- Performing Test HAVE_C_WUNDEF - Success
-- Performing Test HAVE_CXX_WINIT_SELF
-- Performing Test HAVE_CXX_WINIT_SELF - Success
-- Performing Test HAVE_C_WINIT_SELF
-- Performing Test HAVE_C_WINIT_SELF - Success
-- Performing Test HAVE_CXX_WPOINTER_ARITH
-- Performing Test HAVE_CXX_WPOINTER_ARITH - Success
-- Performing Test HAVE_C_WPOINTER_ARITH
-- Performing Test HAVE_C_WPOINTER_ARITH - Success
-- Performing Test HAVE_CXX_WSIGN_PROMO
-- Performing Test HAVE_CXX_WSIGN_PROMO - Success
-- Performing Test HAVE_C_WSIGN_PROMO
-- Performing Test HAVE_C_WSIGN_PROMO - Failed
-- Performing Test HAVE_CXX_WUNINITIALIZED
-- Performing Test HAVE_CXX_WUNINITIALIZED - Success
-- Performing Test HAVE_C_WUNINITIALIZED
-- Performing Test HAVE_C_WUNINITIALIZED - Success
-- Performing Test HAVE_CXX_WSUGGEST_OVERRIDE
-- Performing Test HAVE_CXX_WSUGGEST_OVERRIDE - Failed
-- Performing Test HAVE_C_WSUGGEST_OVERRIDE
-- Performing Test HAVE_C_WSUGGEST_OVERRIDE - Failed
-- Performing Test HAVE_CXX_WNO_DELETE_NON_VIRTUAL_DTOR
-- Performing Test HAVE_CXX_WNO_DELETE_NON_VIRTUAL_DTOR - Success
-- Performing Test HAVE_C_WNO_DELETE_NON_VIRTUAL_DTOR
-- Performing Test HAVE_C_WNO_DELETE_NON_VIRTUAL_DTOR - Failed
-- Performing Test HAVE_CXX_WNO_UNNAMED_TYPE_TEMPLATE_ARGS
-- Performing Test HAVE_CXX_WNO_UNNAMED_TYPE_TEMPLATE_ARGS - Failed
-- Performing Test HAVE_C_WNO_UNNAMED_TYPE_TEMPLATE_ARGS
-- Performing Test HAVE_C_WNO_UNNAMED_TYPE_TEMPLATE_ARGS - Failed
-- Performing Test HAVE_CXX_WNO_COMMENT
-- Performing Test HAVE_CXX_WNO_COMMENT - Success
-- Performing Test HAVE_C_WNO_COMMENT
-- Performing Test HAVE_C_WNO_COMMENT - Success
-- Performing Test HAVE_CXX_WNO_MISSING_FIELD_INITIALIZERS
-- Performing Test HAVE_CXX_WNO_MISSING_FIELD_INITIALIZERS - Success
-- Performing Test HAVE_C_WNO_MISSING_FIELD_INITIALIZERS
-- Performing Test HAVE_C_WNO_MISSING_FIELD_INITIALIZERS - Success
-- Performing Test HAVE_CXX_FDIAGNOSTICS_SHOW_OPTION
-- Performing Test HAVE_CXX_FDIAGNOSTICS_SHOW_OPTION - Success
-- Performing Test HAVE_C_FDIAGNOSTICS_SHOW_OPTION
-- Performing Test HAVE_C_FDIAGNOSTICS_SHOW_OPTION - Success
-- Performing Test HAVE_CXX_WNO_LONG_LONG
-- Performing Test HAVE_CXX_WNO_LONG_LONG - Success
-- Performing Test HAVE_C_WNO_LONG_LONG
-- Performing Test HAVE_C_WNO_LONG_LONG - Success
-- Performing Test HAVE_CXX_FOMIT_FRAME_POINTER
-- Performing Test HAVE_CXX_FOMIT_FRAME_POINTER - Success
-- Performing Test HAVE_C_FOMIT_FRAME_POINTER
-- Performing Test HAVE_C_FOMIT_FRAME_POINTER - Success
-- Performing Test HAVE_CXX_FFUNCTION_SECTIONS
-- Performing Test HAVE_CXX_FFUNCTION_SECTIONS - Success
-- Performing Test HAVE_C_FFUNCTION_SECTIONS
-- Performing Test HAVE_C_FFUNCTION_SECTIONS - Success
-- Performing Test HAVE_CXX_FDATA_SECTIONS
-- Performing Test HAVE_CXX_FDATA_SECTIONS - Success
-- Performing Test HAVE_C_FDATA_SECTIONS
-- Performing Test HAVE_C_FDATA_SECTIONS - Success
-- Performing Test HAVE_CXX_MSSE (check file: cmake/checks/cpu_sse.cpp)
-- Performing Test HAVE_CXX_MSSE - Success
-- Performing Test HAVE_CXX_MSSE2 (check file: cmake/checks/cpu_sse2.cpp)
-- Performing Test HAVE_CXX_MSSE2 - Success
-- Performing Test HAVE_CXX_MSSE3 (check file: cmake/checks/cpu_sse3.cpp)
-- Performing Test HAVE_CXX_MSSE3 - Success
-- Performing Test HAVE_CXX_MSSSE3 (check file: cmake/checks/cpu_ssse3.cpp)
-- Performing Test HAVE_CXX_MSSSE3 - Success
-- Performing Test HAVE_CXX_MSSE4_1 (check file: cmake/checks/cpu_sse41.cpp)
-- Performing Test HAVE_CXX_MSSE4_1 - Success
-- Performing Test HAVE_CXX_MPOPCNT (check file: cmake/checks/cpu_popcnt.cpp)
-- Performing Test HAVE_CXX_MPOPCNT - Success
-- Performing Test HAVE_CXX_MSSE4_2 (check file: cmake/checks/cpu_sse42.cpp)
-- Performing Test HAVE_CXX_MSSE4_2 - Success
-- Performing Test HAVE_CXX_MF16C (check file: cmake/checks/cpu_fp16.cpp)
-- Performing Test HAVE_CXX_MF16C - Success
-- Performing Test HAVE_CXX_MFMA
-- Performing Test HAVE_CXX_MFMA - Success
-- Performing Test HAVE_CXX_MAVX (check file: cmake/checks/cpu_avx.cpp)
-- Performing Test HAVE_CXX_MAVX - Success
-- Performing Test HAVE_CXX_MAVX2 (check file: cmake/checks/cpu_avx2.cpp)
-- Performing Test HAVE_CXX_MAVX2 - Success
-- Dispatch optimization AVX512_SKX is not available, skipped
-- Performing Test HAVE_CPU_BASELINE_FLAGS
-- Performing Test HAVE_CPU_BASELINE_FLAGS - Success
-- Performing Test HAVE_CPU_DISPATCH_FLAGS_SSE4_1
-- Performing Test HAVE_CPU_DISPATCH_FLAGS_SSE4_1 - Success
-- Performing Test HAVE_CPU_DISPATCH_FLAGS_SSE4_2
-- Performing Test HAVE_CPU_DISPATCH_FLAGS_SSE4_2 - Success
-- Performing Test HAVE_CPU_DISPATCH_FLAGS_FP16
-- Performing Test HAVE_CPU_DISPATCH_FLAGS_FP16 - Success
-- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX
-- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX - Success
-- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX2
-- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX2 - Success
-- Performing Test HAVE_CXX_FVISIBILITY_HIDDEN
-- Performing Test HAVE_CXX_FVISIBILITY_HIDDEN - Success
-- Performing Test HAVE_C_FVISIBILITY_HIDDEN
-- Performing Test HAVE_C_FVISIBILITY_HIDDEN - Success
-- Performing Test HAVE_CXX_FVISIBILITY_INLINES_HIDDEN
-- Performing Test HAVE_CXX_FVISIBILITY_INLINES_HIDDEN - Success
-- Performing Test HAVE_C_FVISIBILITY_INLINES_HIDDEN
-- Performing Test HAVE_C_FVISIBILITY_INLINES_HIDDEN - Failed
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
-- Looking for fseeko
-- Looking for fseeko - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Check size of off64_t
-- Check size of off64_t - done
-- Performing Test HAVE_C_WNO_SHORTEN_64_TO_32
-- Performing Test HAVE_C_WNO_SHORTEN_64_TO_32 - Failed
-- Performing Test HAVE_C_WNO_ATTRIBUTES
-- Performing Test HAVE_C_WNO_ATTRIBUTES - Success
-- Performing Test HAVE_C_WNO_STRICT_PROTOTYPES
-- Performing Test HAVE_C_WNO_STRICT_PROTOTYPES - Success
-- Performing Test HAVE_C_WNO_MISSING_PROTOTYPES
-- Performing Test HAVE_C_WNO_MISSING_PROTOTYPES - Success
-- Performing Test HAVE_C_WNO_MISSING_DECLARATIONS
-- Performing Test HAVE_C_WNO_MISSING_DECLARATIONS - Success
-- Performing Test HAVE_C_WNO_SHIFT_NEGATIVE_VALUE
-- Performing Test HAVE_C_WNO_SHIFT_NEGATIVE_VALUE - Failed
-- Performing Test HAVE_C_WNO_UNDEF
-- Performing Test HAVE_C_WNO_UNDEF - Success
-- Performing Test HAVE_C_WNO_IMPLICIT_FALLTHROUGH
-- Performing Test HAVE_C_WNO_IMPLICIT_FALLTHROUGH - Failed
-- Performing Test HAVE_C_WNO_UNUSED_PARAMETER
-- Performing Test HAVE_C_WNO_UNUSED_PARAMETER - Success
-- Performing Test HAVE_C_WNO_SIGN_COMPARE
-- Performing Test HAVE_C_WNO_SIGN_COMPARE - Success
-- libjpeg-turbo: VERSION = 2.0.2, BUILD = opencv-4.1.2-libjpeg-turbo
-- Check size of size_t
-- Check size of size_t - done
-- Check size of unsigned long
-- Check size of unsigned long - done
-- Looking for assert.h
-- Looking for assert.h - found
-- Looking for dlfcn.h
-- Looking for dlfcn.h - not found
-- Looking for fcntl.h
-- Looking for fcntl.h - found
-- Looking for inttypes.h
-- Looking for inttypes.h - found
-- Looking for io.h
-- Looking for io.h - found
-- Looking for limits.h
-- Looking for limits.h - found
-- Looking for malloc.h
-- Looking for malloc.h - found
-- Looking for memory.h
-- Looking for memory.h - found
-- Looking for search.h
-- Looking for search.h - found
-- Looking for string.h
-- Looking for string.h - found
-- Looking for strings.h
-- Looking for strings.h - found
-- Looking for sys/time.h
-- Looking for sys/time.h - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Performing Test C_HAS_inline
-- Performing Test C_HAS_inline - Success
-- Check size of signed short
-- Check size of signed short - done
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Check size of signed int
-- Check size of signed int - done
-- Check size of unsigned int
-- Check size of unsigned int - done
-- Check size of signed long
-- Check size of signed long - done
-- Check size of signed long long
-- Check size of signed long long - done
-- Check size of unsigned long long
-- Check size of unsigned long long - done
-- Check size of unsigned char *
-- Check size of unsigned char * - done
-- Check size of ptrdiff_t
-- Check size of ptrdiff_t - done
-- Check size of INT8
-- Check size of INT8 - failed
-- Check size of INT16
-- Check size of INT16 - failed
-- Check size of INT32
-- Check size of INT32 - failed
-- Looking for floor
-- Looking for floor - found
-- Looking for pow
-- Looking for pow - found
-- Looking for sqrt
-- Looking for sqrt - found
-- Looking for isascii
-- Looking for isascii - found
-- Looking for memset
-- Looking for memset - found
-- Looking for mmap
-- Looking for mmap - not found
-- Looking for getopt
-- Looking for getopt - found
-- Looking for memmove
-- Looking for memmove - found
-- Looking for setmode
-- Looking for setmode - found
-- Looking for strcasecmp
-- Looking for strcasecmp - found
-- Looking for strchr
-- Looking for strchr - found
-- Looking for strrchr
-- Looking for strrchr - found
-- Looking for strstr
-- Looking for strstr - found
-- Looking for strtol
-- Looking for strtol - found
-- Looking for strtol
-- Looking for strtol - found
-- Looking for strtoull
-- Looking for strtoull - found
-- Looking for lfind
-- Looking for lfind - found
-- Performing Test HAVE_SNPRINTF
-- Performing Test HAVE_SNPRINTF - Success
-- Check if the system is big endian
-- Searching 16 bit integer
-- Using unsigned short
-- Check if the system is big endian - little endian
-- Performing Test HAVE_C_WNO_UNUSED_BUT_SET_VARIABLE
-- Performing Test HAVE_C_WNO_UNUSED_BUT_SET_VARIABLE - Success
-- Performing Test HAVE_C_WNO_UNUSED
-- Performing Test HAVE_C_WNO_UNUSED - Success
-- Performing Test HAVE_C_WNO_CAST_ALIGN
-- Performing Test HAVE_C_WNO_CAST_ALIGN - Success
-- Performing Test HAVE_C_WNO_SHADOW
-- Performing Test HAVE_C_WNO_SHADOW - Success
-- Performing Test HAVE_C_WNO_MAYBE_UNINITIALIZED
-- Performing Test HAVE_C_WNO_MAYBE_UNINITIALIZED - Success
-- Performing Test HAVE_C_WNO_POINTER_TO_INT_CAST
-- Performing Test HAVE_C_WNO_POINTER_TO_INT_CAST - Success
-- Performing Test HAVE_C_WNO_INT_TO_POINTER_CAST
-- Performing Test HAVE_C_WNO_INT_TO_POINTER_CAST - Success
-- Performing Test HAVE_C_WNO_MISLEADING_INDENTATION
-- Performing Test HAVE_C_WNO_MISLEADING_INDENTATION - Failed
-- Performing Test HAVE_CXX_WNO_MISSING_DECLARATIONS
-- Performing Test HAVE_CXX_WNO_MISSING_DECLARATIONS - Success
-- Performing Test HAVE_CXX_WNO_UNUSED_PARAMETER
-- Performing Test HAVE_CXX_WNO_UNUSED_PARAMETER - Success
-- Performing Test HAVE_CXX_WNO_MISSING_PROTOTYPES
-- Performing Test HAVE_CXX_WNO_MISSING_PROTOTYPES - Failed
-- Performing Test HAVE_CXX_WNO_UNDEF
-- Performing Test HAVE_CXX_WNO_UNDEF - Success
-- Performing Test HAVE_C_STD_C99
-- Performing Test HAVE_C_STD_C99 - Success
-- Performing Test HAVE_C_WNO_UNUSED_VARIABLE
-- Performing Test HAVE_C_WNO_UNUSED_VARIABLE - Success
-- Performing Test HAVE_C_WNO_UNUSED_FUNCTION
-- Performing Test HAVE_C_WNO_UNUSED_FUNCTION - Success
-- Performing Test HAVE_C_WNO_IMPLICIT_FUNCTION_DECLARATION
-- Performing Test HAVE_C_WNO_IMPLICIT_FUNCTION_DECLARATION - Success
-- Performing Test HAVE_C_WNO_UNINITIALIZED
-- Performing Test HAVE_C_WNO_UNINITIALIZED - Success
-- Performing Test HAVE_C_WNO_UNUSED_BUT_SET_PARAMETER
-- Performing Test HAVE_C_WNO_UNUSED_BUT_SET_PARAMETER - Success
-- Performing Test HAVE_C_WNO_STRICT_OVERFLOW
-- Performing Test HAVE_C_WNO_STRICT_OVERFLOW - Success
-- Performing Test HAVE_C_WNO_POINTER_COMPARE
-- Performing Test HAVE_C_WNO_POINTER_COMPARE - Failed
-- Performing Test HAVE_C_WNO_ABSOLUTE_VALUE
-- Performing Test HAVE_C_WNO_ABSOLUTE_VALUE - Failed
-- Performing Test HAVE_CXX_WNO_SHADOW
-- Performing Test HAVE_CXX_WNO_SHADOW - Success
-- Performing Test HAVE_CXX_WNO_UNUSED
-- Performing Test HAVE_CXX_WNO_UNUSED - Success
-- Performing Test HAVE_CXX_WNO_SIGN_COMPARE
-- Performing Test HAVE_CXX_WNO_SIGN_COMPARE - Success
-- Performing Test HAVE_CXX_WNO_UNINITIALIZED
-- Performing Test HAVE_CXX_WNO_UNINITIALIZED - Success
-- Performing Test HAVE_CXX_WNO_SWITCH
-- Performing Test HAVE_CXX_WNO_SWITCH - Success
-- Performing Test HAVE_CXX_WNO_PARENTHESES
-- Performing Test HAVE_CXX_WNO_PARENTHESES - Success
-- Performing Test HAVE_CXX_WNO_ARRAY_BOUNDS
-- Performing Test HAVE_CXX_WNO_ARRAY_BOUNDS - Success
-- Performing Test HAVE_CXX_WNO_EXTRA
-- Performing Test HAVE_CXX_WNO_EXTRA - Success
-- Performing Test HAVE_CXX_WNO_DEPRECATED_DECLARATIONS
-- Performing Test HAVE_CXX_WNO_DEPRECATED_DECLARATIONS - Success
-- Performing Test HAVE_CXX_WNO_MISLEADING_INDENTATION
-- Performing Test HAVE_CXX_WNO_MISLEADING_INDENTATION - Failed
-- Performing Test HAVE_CXX_WNO_DEPRECATED
-- Performing Test HAVE_CXX_WNO_DEPRECATED - Success
-- Performing Test HAVE_CXX_WNO_SUGGEST_OVERRIDE
-- Performing Test HAVE_CXX_WNO_SUGGEST_OVERRIDE - Failed
-- Performing Test HAVE_CXX_WNO_INCONSISTENT_MISSING_OVERRIDE
-- Performing Test HAVE_CXX_WNO_INCONSISTENT_MISSING_OVERRIDE - Failed
-- Performing Test HAVE_CXX_WNO_IMPLICIT_FALLTHROUGH
-- Performing Test HAVE_CXX_WNO_IMPLICIT_FALLTHROUGH - Failed
-- Performing Test HAVE_CXX_WNO_TAUTOLOGICAL_COMPARE
-- Performing Test HAVE_CXX_WNO_TAUTOLOGICAL_COMPARE - Failed
-- Performing Test HAVE_CXX_WNO_REORDER
-- Performing Test HAVE_CXX_WNO_REORDER - Success
-- Performing Test HAVE_CXX_WNO_UNUSED_RESULT
-- Performing Test HAVE_CXX_WNO_UNUSED_RESULT - Success
-- Could not find OpenBLAS include. Turning OpenBLAS_FOUND off
-- Could not find OpenBLAS lib. Turning OpenBLAS_FOUND off
-- Looking for sgemm_
-- Looking for sgemm_ - not found
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- Could NOT find BLAS (missing: BLAS_LIBRARIES) 
-- LAPACK requires BLAS
-- A library with LAPACK API not found. Please specify library location.
-- Found JNI: C:/Program Files/AdoptOpenJDK/jdk-8.0.242.08-hotspot/lib/jawt.lib  

keeps going

-- FFMPEG: Download: opencv_videoio_ffmpeg.dll
-- FFMPEG: Download: opencv_videoio_ffmpeg_64.dll
-- FFMPEG: Download: ffmpeg_version.cmake
-- Looking for dshow.h
-- Looking for dshow.h - found
-- Excluding from source files list: modules/imgproc/src/sumpixels.avx512_skx.cpp
-- 
-- General configuration for OpenCV 4.1.2 =====================================
--   Version control:               unknown
-- 
--   Platform:
--     Timestamp:                   2020-03-18T23:23:25Z
--     Host:                        Windows 6.1.7601 AMD64
--     CMake:                       3.16.5
--     CMake generator:             Unix Makefiles
--     CMake build tool:            c:/Rtools/mingw_64/bin/mingw32-make.exe
--     Configuration:               RELEASE
-- 
--   CPU/HW features:
--     Baseline:                    SSE SSE2 SSE3
--       requested:                 SSE3
--     Dispatched code generation:  SSE4_1 SSE4_2 FP16 AVX AVX2
--       requested:                 SSE4_1 SSE4_2 AVX FP16 AVX2 AVX512_SKX
--       SSE4_1 (14 files):         + SSSE3 SSE4_1
--       SSE4_2 (1 files):          + SSSE3 SSE4_1 POPCNT SSE4_2
--       FP16 (0 files):            + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 AVX
--       AVX (3 files):             + SSSE3 SSE4_1 POPCNT SSE4_2 AVX
--       AVX2 (26 files):           + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 FMA3 AVX AVX2
-- 
--   C/C++:
--     Built as dynamic libs?:      YES
--     C++ Compiler:                c:/Rtools/mingw_64/bin/g++.exe  (ver 4.9.3)
--     C++ flags (Release):         -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wsign-promo -Wuninitialized -Winit-self -Wno-delete-non-virtual-dtor -Wno-comment -Wno-missing-field-initializers -fdiagnostics-show-option -Wno-long-long -fomit-frame-pointer -ffunction-sections -fdata-sections  -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -O3 -DNDEBUG  -DNDEBUG
--     C++ flags (Debug):           -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wsign-promo -Wuninitialized -Winit-self -Wno-delete-non-virtual-dtor -Wno-comment -Wno-missing-field-initializers -fdiagnostics-show-option -Wno-long-long -fomit-frame-pointer -ffunction-sections -fdata-sections  -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -g  -O0 -DDEBUG -D_DEBUG
--     C Compiler:                  c:/Rtools/mingw_64/bin/gcc.exe
--     C flags (Release):           -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wuninitialized -Winit-self -Wno-comment -Wno-missing-field-initializers -fdiagnostics-show-option -Wno-long-long -fomit-frame-pointer -ffunction-sections -fdata-sections  -msse -msse2 -msse3 -fvisibility=hidden -O3 -DNDEBUG  -DNDEBUG
--     C flags (Debug):             -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wuninitialized -Winit-self -Wno-comment -Wno-missing-field-initializers -fdiagnostics-show-option -Wno-long-long -fomit-frame-pointer -ffunction-sections -fdata-sections  -msse -msse2 -msse3 -fvisibility=hidden -g  -O0 -DDEBUG -D_DEBUG
--     Linker flags (Release):      -Wl,--gc-sections  
--     Linker flags (Debug):        -Wl,--gc-sections  
--     ccache:                      NO
--     Precompiled headers:         NO
--     Extra dependencies:
--     3rdparty dependencies:
-- 
--   OpenCV modules:
--     To be built:                 calib3d core features2d flann gapi highgui imgcodecs imgproc ml objdetect photo stitching video videoio
--     Disabled:                    python3 world
--     Disabled by dependency:      -
--     Unavailable:                 dnn java js python2 ts
--     Applications:                apps
--     Documentation:               NO
--     Non-free algorithms:         NO
-- 
--   Windows RT support:            NO
-- 
--   GUI: 
--     Win32 UI:                    YES
--     VTK support:                 NO
-- 
--   Media I/O: 
--     ZLib:                        build (ver 1.2.11)
--     JPEG:                        build-libjpeg-turbo (ver 2.0.2-62)
--     WEBP:                        build (ver encoder: 0x020e)
--     PNG:                         build (ver 1.6.37)
--     TIFF:                        build (ver 42 - 4.0.10)
--     JPEG 2000:                   build (ver 1.900.1)
--     OpenEXR:                     build (ver 2.3.0)
--     HDR:                         YES
--     SUNRASTER:                   YES
--     PXM:                         YES
--     PFM:                         YES
-- 
--   Video I/O:
--     DC1394:                      NO
--     FFMPEG:                      YES (prebuilt binaries)
--       avcodec:                   YES (58.54.100)
--       avformat:                  YES (58.29.100)
--       avutil:                    YES (56.31.100)
--       swscale:                   YES (5.5.100)
--       avresample:                YES (4.0.0)
--     GStreamer:                   NO
--     DirectShow:                  YES
-- 
--   Parallel framework:            none
-- 
--   Trace:                         YES (built-in)
-- 
--   Other third-party libraries:
--     Lapack:                      NO
--     Eigen:                       NO
--     Custom HAL:                  NO
-- 
--   OpenCL:                        YES (no extra features)
--     Include path:                C:/Users/Lightsheet/AppData/Local/Temp/RtmpwrsD9R/opencv-4.1.2/3rdparty/include/opencl/1.2
--     Link libraries:              Dynamic load
-- 
--   Python (for build):            C:/Python27/python.exe
-- 
--   Java:                          
--     ant:                         NO
--     JNI:                         C:/Program Files/AdoptOpenJDK/jdk-8.0.242.08-hotspot/include C:/Program Files/AdoptOpenJDK/jdk-8.0.242.08-hotspot/include/win32 C:/Program Files/AdoptOpenJDK/jdk-8.0.242.08-hotspot/include
--     Java wrappers:               NO
--     Java tests:                  NO
-- 
--   Install to:                    C:/Program
-- -----------------------------------------------------------------
-- 
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/Lightsheet/AppData/Local/Temp/RtmpwrsD9R/opencv-4.1.2/build64
MINGW3~1.EXE: Entering directory 'C:/Users/LIGHTS~1/AppData/Local/Temp/RtmpwrsD9R/opencv-4.1.2/build64'
MINGW3~1.EXE[1]: Entering directory 'C:/Users/LIGHTS~1/AppData/Local/Temp/RtmpwrsD9R/opencv-4.1.2/build64'
MINGW3~1.EXE[2]: Entering directory 'C:/Users/LIGHTS~1/AppData/Local/Temp/RtmpwrsD9R/opencv-4.1.2/build64'
MINGW3~1.EXE[2]: Entering directory 'C:/Users/LIGHTS~1/AppData/Local/Temp/RtmpwrsD9R/opencv-4.1.2/build64'
MINGW3~1.EXE[2]: Entering directory 'C:/Users/LIGHTS~1/AppData/Local/Temp/RtmpwrsD9R/opencv-4.1.2/build64'
MINGW3~1.EXE[2]: Entering directory 'C:/Users/LIGHTS~1/AppData/Local/Temp/RtmpwrsD9R/opencv-4.1.2/build64'
MINGW3~1.EXE[2]: Entering directory 'C:/Users/LIGHTS~1/AppData/Local/Temp/RtmpwrsD9R/opencv-4.1.2/build64'
MINGW3~1.EXE[2]: Entering directory 'C:/Users/LIGHTS~1/AppData/Local/Temp/RtmpwrsD9R/opencv-4.1.2/build64'
MINGW3~1.EXE[2]: Entering directory 'C:/Users/LIGHTS~1/AppData/Local/Temp/RtmpwrsD9R/opencv-4.1.2/build64'
Scanning dependencies of target opencv_videoio_plugins
MINGW3~1.EXE[2]: Leaving directory 'C:/Users/LIGHTS~1/AppData/Local/Temp/RtmpwrsD9R/opencv-4.1.2/build64'
Scanning dependencies of target quirc
MINGW3~1.EXE[2]: Leaving directory 'C:/Users/LIGHTS~1/AppData/Local/Temp/RtmpwrsD9R/opencv-4.1.2/build64'
Scanning dependencies of target zlib
MINGW3~1.EXE[2]: Entering directory 'C:/Users/LIGHTS~1/AppData/Local/Temp/RtmpwrsD9R/opencv-4.1.2/build64'
MINGW3~1.EXE[2]: Leaving directory 'C:/Users/LIGHTS~1/AppData/Local/Temp/RtmpwrsD9R/opencv-4.1.2/build64'
[  0%] Built target opencv_videoio_plugins
MINGW3~1.EXE[2]: Entering directory 'C:/Users/LIGHTS~1/AppData/Local/Temp/RtmpwrsD9R/opencv-4.1.2/build64'
[  0%] Building C object 3rdparty/quirc/CMakeFiles/quirc.dir/src/decode.c.obj
[  0%] Building C object 3rdparty/quirc/CMakeFiles/quirc.dir/src/quirc.c.obj
[  1%] Building C object 3rdparty/quirc/CMakeFiles/quirc.dir/src/version_db.c.obj
Scanning dependencies of target libjasper
MINGW3~1.EXE[2]: Leaving directory 'C:/Users/LIGHTS~1/AppData/Local/Temp/RtmpwrsD9R/opencv-4.1.2/build64'
[  1%] Building C object 3rdparty/zlib/CMakeFiles/zlib.dir/adler32.c.obj
[  1%] Building C object 3rdparty/zlib/CMakeFiles/zlib.dir/compress.c.obj
Scanning dependencies of target libjpeg-turbo
MINGW3~1.EXE[2]: Leaving directory 'C:/Users/LIGHTS~1/AppData/Local/Temp/RtmpwrsD9R/opencv-4.1.2/build64'
[  1%] Building C object 3rdparty/zlib/CMakeFiles/zlib.dir/deflate.c.obj
[  1%] Building C object 3rdparty/zlib/CMakeFiles/zlib.dir/crc32.c.obj
[  1%] Building C object 3rdparty/zlib/CMakeFiles/zlib.dir/gzclose.c.obj
[  1%] Building C object 3rdparty/zlib/CMakeFiles/zlib.dir/gzlib.c.obj
[  2%] Building C object 3rdparty/zlib/CMakeFiles/zlib.dir/gzwrite.c.obj
[  2%] Building C object 3rdparty/zlib/CMakeFiles/zlib.dir/gzread.c.obj
[  2%] Building C object 3rdparty/zlib/CMakeFiles/zlib.dir/inflate.c.obj
MINGW3~1.EXE[2]: Entering directory 'C:/Users/LIGHTS~1/AppData/Local/Temp/RtmpwrsD9R/opencv-4.1.2/build64'
[  2%] Building C object 3rdparty/zlib/CMakeFiles/zlib.dir/infback.c.obj
[  2%] Building C object 3rdparty/zlib/CMakeFiles/zlib.dir/inftrees.c.obj
MINGW3~1.EXE[2]: Entering directory 'C:/Users/LIGHTS~1/AppData/Local/Temp/RtmpwrsD9R/opencv-4.1.2/build64'
[  2%] Building C object 3rdparty/zlib/CMakeFiles/zlib.dir/inffast.c.obj
[  2%] Building C object 3rdparty/libjasper/CMakeFiles/libjasper.dir/jas_cm.c.obj
[  3%] Building C object 3rdparty/libjasper/CMakeFiles/libjasper.dir/jas_debug.c.obj
[  3%] Building C object 3rdparty/libjasper/CMakeFiles/libjasper.dir/jas_getopt.c.obj
[  3%] Building C object 3rdparty/libjpeg-turbo/CMakeFiles/libjpeg-turbo.dir/src/jcapimin.c.obj
[  3%] Building C object 3rdparty/libjasper/CMakeFiles/libjasper.dir/jas_icc.c.obj
Scanning dependencies of target libwebp
[  3%] Building C object 3rdparty/libjpeg-turbo/CMakeFiles/libjpeg-turbo.dir/src/jcapistd.c.obj
[  3%] Building C object 3rdparty/libjasper/CMakeFiles/libjasper.dir/jas_iccdata.c.obj

Goes all the way with building, most build is green with ocassional #pragma warning(default: 4244) warnings. And after 100% it gives this:

[ 99%] Built target opencv_interactive-calibration
MINGW3~1.EXE[2]: Entering directory 'C:/Users/LIGHTS~1/AppData/Local/Temp/RtmpwrsD9R/opencv-4.1.2/build64'
MINGW3~1.EXE[2]: Leaving directory 'C:/Users/LIGHTS~1/AppData/Local/Temp/RtmpwrsD9R/opencv-4.1.2/build64'
[ 99%] Built target opencv_version
MINGW3~1.EXE[2]: Entering directory 'C:/Users/LIGHTS~1/AppData/Local/Temp/RtmpwrsD9R/opencv-4.1.2/build64'
MINGW3~1.EXE[2]: Leaving directory 'C:/Users/LIGHTS~1/AppData/Local/Temp/RtmpwrsD9R/opencv-4.1.2/build64'
[100%] Built target opencv_version_win32
MINGW3~1.EXE[1]: Leaving directory 'C:/Users/LIGHTS~1/AppData/Local/Temp/RtmpwrsD9R/opencv-4.1.2/build64'
Install the project...
-- Install configuration: "RELEASE"
-- Up-to-date: C:/Program/etc/licenses/opencl-headers-LICENSE.txt
-- Installing: C:/Program/include/opencv2/cvconfig.h
-- Installing: C:/Program/include/opencv2/opencv_modules.hpp
-- Installing: C:/Program/x64/mingw/lib/OpenCVModules.cmake
-- Installing: C:/Program/x64/mingw/lib/OpenCVModules-release.cmake
-- Installing: C:/Program/x64/mingw/lib/OpenCVConfig-version.cmake
-- Installing: C:/Program/x64/mingw/lib/OpenCVConfig.cmake
-- Installing: C:/Program/./OpenCVConfig-version.cmake
-- Installing: C:/Program/./OpenCVConfig.cmake
-- Up-to-date: C:/Program/./LICENSE
-- Installing: C:/Program/./setup_vars_opencv4.cmd
-- Up-to-date: C:/Program/etc/licenses/zlib-README
-- Up-to-date: C:/Program/etc/licenses/libjpeg-turbo-README.md
-- Up-to-date: C:/Program/etc/licenses/libjpeg-turbo-LICENSE.md
-- Up-to-date: C:/Program/etc/licenses/libjpeg-turbo-README.ijg
-- Up-to-date: C:/Program/etc/licenses/libtiff-COPYRIGHT
-- Up-to-date: C:/Program/etc/licenses/jasper-LICENSE
-- Up-to-date: C:/Program/etc/licenses/jasper-README
-- Up-to-date: C:/Program/etc/licenses/jasper-copyright
-- Up-to-date: C:/Program/etc/licenses/libpng-LICENSE
-- Up-to-date: C:/Program/etc/licenses/libpng-README
-- Up-to-date: C:/Program/etc/licenses/openexr-LICENSE
-- Up-to-date: C:/Program/etc/licenses/openexr-AUTHORS.ilmbase
-- Up-to-date: C:/Program/etc/licenses/openexr-AUTHORS.openexr
-- Up-to-date: C:/Program/etc/licenses/quirc-LICENSE
-- Up-to-date: C:/Program/include/opencv2/opencv.hpp
-- Up-to-date: C:/Program/etc/licenses/ade-LICENSE
-- Up-to-date: C:/Program/etc/licenses/ffmpeg-license.txt
-- Up-to-date: C:/Program/etc/licenses/ffmpeg-readme.txt
-- Installing: C:/Program/x64/mingw/lib/libopencv_core412.dll.a
-- Installing: C:/Program/x64/mingw/bin/libopencv_core412.dll
-- Up-to-date: C:/Program/include/opencv2/core/opencl/ocl_defs.hpp
-- Up-to-date: C:/Program/include/opencv2/core/opencl/opencl_info.hpp
-- Up-to-date: C:/Program/include/opencv2/core/opencl/opencl_svm.hpp
-- Up-to-date: C:/Program/include/opencv2/core/opencl/runtime/autogenerated/opencl_clamdblas.hpp
-- Up-to-date: C:/Program/include/opencv2/core/opencl/runtime/autogenerated/opencl_clamdfft.hpp
-- Up-to-date: C:/Program/include/opencv2/core/opencl/runtime/autogenerated/opencl_core.hpp
-- Up-to-date: C:/Program/include/opencv2/core/opencl/runtime/autogenerated/opencl_core_wrappers.hpp
-- Up-to-date: C:/Program/include/opencv2/core/opencl/runtime/autogenerated/opencl_gl.hpp
-- Up-to-date: C:/Program/include/opencv2/core/opencl/runtime/autogenerated/opencl_gl_wrappers.hpp
-- Up-to-date: C:/Program/include/opencv2/core/opencl/runtime/opencl_clamdblas.hpp
-- Up-to-date: C:/Program/include/opencv2/core/opencl/runtime/opencl_clamdfft.hpp
-- Up-to-date: C:/Program/include/opencv2/core/opencl/runtime/opencl_core.hpp
-- Up-to-date: C:/Program/include/opencv2/core/opencl/runtime/opencl_core_wrappers.hpp
-- Up-to-date: C:/Program/include/opencv2/core/opencl/runtime/opencl_gl.hpp
-- Up-to-date: C:/Program/include/opencv2/core/opencl/runtime/opencl_gl_wrappers.hpp
-- Up-to-date: C:/Program/include/opencv2/core/opencl/runtime/opencl_svm_20.hpp
-- Up-to-date: C:/Program/include/opencv2/core/opencl/runtime/opencl_svm_definitions.hpp
-- Up-to-date: C:/Program/include/opencv2/core/opencl/runtime/opencl_svm_hsa_extension.hpp
-- Up-to-date: C:/Program/include/opencv2/core/cuda/block.hpp
-- Up-to-date: C:/Program/include/opencv2/core/cuda/border_interpolate.hpp
-- Up-to-date: C:/Program/include/opencv2/core/cuda/color.hpp
-- Up-to-date: C:/Program/include/opencv2/core/cuda/common.hpp
-- Up-to-date: C:/Program/include/opencv2/core/cuda/datamov_utils.hpp
-- Up-to-date: C:/Program/include/opencv2/core/cuda/dynamic_smem.hpp
-- Up-to-date: C:/Program/include/opencv2/core/cuda/emulation.hpp
-- Up-to-date: C:/Program/include/opencv2/core/cuda/filters.hpp
-- Up-to-date: C:/Program/include/opencv2/core/cuda/funcattrib.hpp
-- Up-to-date: C:/Program/include/opencv2/core/cuda/functional.hpp
-- Up-to-date: C:/Program/include/opencv2/core/cuda/limits.hpp
-- Up-to-date: C:/Program/include/opencv2/core/cuda/reduce.hpp
-- Up-to-date: C:/Program/include/opencv2/core/cuda/saturate_cast.hpp
-- Up-to-date: C:/Program/include/opencv2/core/cuda/scan.hpp
-- Up-to-date: C:/Program/include/opencv2/core/cuda/simd_functions.hpp
-- Up-to-date: C:/Program/include/opencv2/core/cuda/transform.hpp
-- Up-to-date: C:/Program/include/opencv2/core/cuda/type_traits.hpp
-- Up-to-date: C:/Program/include/opencv2/core/cuda/utility.hpp
-- Up-to-date: C:/Program/include/opencv2/core/cuda/vec_distance.hpp
-- Up-to-date: C:/Program/include/opencv2/core/cuda/vec_math.hpp
-- Up-to-date: C:/Program/include/opencv2/core/cuda/vec_traits.hpp
-- Up-to-date: C:/Program/include/opencv2/core/cuda/warp.hpp
-- Up-to-date: C:/Program/include/opencv2/core/cuda/warp_reduce.hpp
-- Up-to-date: C:/Program/include/opencv2/core/cuda/warp_shuffle.hpp
-- Up-to-date: C:/Program/include/opencv2/core/cuda/detail/color_detail.hpp
-- Up-to-date: C:/Program/include/opencv2/core/cuda/detail/reduce.hpp
-- Up-to-date: C:/Program/include/opencv2/core/cuda/detail/reduce_key_val.hpp
-- Up-to-date: C:/Program/include/opencv2/core/cuda/detail/transform_detail.hpp
-- Up-to-date: C:/Program/include/opencv2/core/cuda/detail/type_traits_detail.hpp
-- Up-to-date: C:/Program/include/opencv2/core/cuda/detail/vec_distance_detail.hpp
-- Up-to-date: C:/Program/include/opencv2/core.hpp
-- Up-to-date: C:/Program/include/opencv2/core/affine.hpp
-- Up-to-date: C:/Program/include/opencv2/core/async.hpp
-- Up-to-date: C:/Program/include/opencv2/core/base.hpp
-- Up-to-date: C:/Program/include/opencv2/core/bindings_utils.hpp
-- Up-to-date: C:/Program/include/opencv2/core/bufferpool.hpp
-- Up-to-date: C:/Program/include/opencv2/core/check.hpp
-- Up-to-date: C:/Program/include/opencv2/core/core.hpp
-- Up-to-date: C:/Program/include/opencv2/core/core_c.h
-- Up-to-date: C:/Program/include/opencv2/core/cuda.hpp
-- Up-to-date: C:/Program/include/opencv2/core/cuda.inl.hpp
-- Up-to-date: C:/Program/include/opencv2/core/cuda_stream_accessor.hpp
-- Up-to-date: C:/Program/include/opencv2/core/cuda_types.hpp
-- Up-to-date: C:/Program/include/opencv2/core/cv_cpu_dispatch.h
-- Up-to-date: C:/Program/include/opencv2/core/cv_cpu_helper.h
-- Up-to-date: C:/Program/include/opencv2/core/cvdef.h
-- Up-to-date: C:/Program/include/opencv2/core/cvstd.hpp
-- Up-to-date: C:/Program/include/opencv2/core/cvstd.inl.hpp
-- Up-to-date: C:/Program/include/opencv2/core/cvstd_wrapper.hpp
-- Up-to-date: C:/Program/include/opencv2/core/directx.hpp
-- Up-to-date: C:/Program/include/opencv2/core/eigen.hpp
-- Up-to-date: C:/Program/include/opencv2/core/fast_math.hpp
-- Up-to-date: C:/Program/include/opencv2/core/hal/hal.hpp
-- Up-to-date: C:/Program/include/opencv2/core/hal/interface.h
-- Up-to-date: C:/Program/include/opencv2/core/hal/intrin.hpp
-- Up-to-date: C:/Program/include/opencv2/core/hal/intrin_avx.hpp
-- Up-to-date: C:/Program/include/opencv2/core/hal/intrin_avx512.hpp
-- Up-to-date: C:/Program/include/opencv2/core/hal/intrin_cpp.hpp
-- Up-to-date: C:/Program/include/opencv2/core/hal/intrin_forward.hpp
-- Up-to-date: C:/Program/include/opencv2/core/hal/intrin_msa.hpp
-- Up-to-date: C:/Program/include/opencv2/core/hal/intrin_neon.hpp
-- Up-to-date: C:/Program/include/opencv2/core/hal/intrin_sse.hpp
-- Up-to-date: C:/Program/include/opencv2/core/hal/intrin_sse_em.hpp
-- Up-to-date: C:/Program/include/opencv2/core/hal/intrin_vsx.hpp
-- Up-to-date: C:/Program/include/opencv2/core/hal/intrin_wasm.hpp
-- Up-to-date: C:/Program/include/opencv2/core/hal/msa_macros.h
-- Up-to-date: C:/Program/include/opencv2/core/mat.hpp
-- Up-to-date: C:/Program/include/opencv2/core/mat.inl.hpp
-- Up-to-date: C:/Program/include/opencv2/core/matx.hpp
-- Up-to-date: C:/Program/include/opencv2/core/neon_utils.hpp
-- Up-to-date: C:/Program/include/opencv2/core/ocl.hpp
-- Up-to-date: C:/Program/include/opencv2/core/ocl_genbase.hpp
-- Up-to-date: C:/Program/include/opencv2/core/opengl.hpp
-- Up-to-date: C:/Program/include/opencv2/core/operations.hpp
-- Up-to-date: C:/Program/include/opencv2/core/optim.hpp
-- Up-to-date: C:/Program/include/opencv2/core/ovx.hpp
-- Up-to-date: C:/Program/include/opencv2/core/persistence.hpp
-- Up-to-date: C:/Program/include/opencv2/core/saturate.hpp
-- Up-to-date: C:/Program/include/opencv2/core/simd_intrinsics.hpp
-- Up-to-date: C:/Program/include/opencv2/core/softfloat.hpp
-- Up-to-date: C:/Program/include/opencv2/core/sse_utils.hpp
-- Up-to-date: C:/Program/include/opencv2/core/traits.hpp
-- Up-to-date: C:/Program/include/opencv2/core/types.hpp
-- Up-to-date: C:/Program/include/opencv2/core/types_c.h
-- Up-to-date: C:/Program/include/opencv2/core/utility.hpp
-- Up-to-date: C:/Program/include/opencv2/core/utils/allocator_stats.hpp
-- Up-to-date: C:/Program/include/opencv2/core/utils/allocator_stats.impl.hpp
-- Up-to-date: C:/Program/include/opencv2/core/utils/filesystem.hpp
-- Up-to-date: C:/Program/include/opencv2/core/utils/logger.defines.hpp
-- Up-to-date: C:/Program/include/opencv2/core/utils/logger.hpp
-- Up-to-date: C:/Program/include/opencv2/core/utils/logtag.hpp
-- Up-to-date: C:/Program/include/opencv2/core/utils/trace.hpp
-- Up-to-date: C:/Program/include/opencv2/core/va_intel.hpp
-- Up-to-date: C:/Program/include/opencv2/core/version.hpp
-- Up-to-date: C:/Program/include/opencv2/core/vsx_utils.hpp
-- Up-to-date: C:/Program/include/opencv2/core/detail/async_promise.hpp
-- Up-to-date: C:/Program/include/opencv2/core/detail/exception_ptr.hpp
-- Up-to-date: C:/Program/etc/licenses/SoftFloat-COPYING.txt
-- Installing: C:/Program/x64/mingw/lib/libopencv_flann412.dll.a
-- Installing: C:/Program/x64/mingw/bin/libopencv_flann412.dll
-- Up-to-date: C:/Program/include/opencv2/flann.hpp
-- Up-to-date: C:/Program/include/opencv2/flann/all_indices.h
-- Up-to-date: C:/Program/include/opencv2/flann/allocator.h
-- Up-to-date: C:/Program/include/opencv2/flann/any.h
-- Up-to-date: C:/Program/include/opencv2/flann/autotuned_index.h
-- Up-to-date: C:/Program/include/opencv2/flann/composite_index.h
-- Up-to-date: C:/Program/include/opencv2/flann/config.h
-- Up-to-date: C:/Program/include/opencv2/flann/defines.h
-- Up-to-date: C:/Program/include/opencv2/flann/dist.h
-- Up-to-date: C:/Program/include/opencv2/flann/dummy.h
-- Up-to-date: C:/Program/include/opencv2/flann/dynamic_bitset.h
-- Up-to-date: C:/Program/include/opencv2/flann/flann.hpp
-- Up-to-date: C:/Program/include/opencv2/flann/flann_base.hpp
-- Up-to-date: C:/Program/include/opencv2/flann/general.h
-- Up-to-date: C:/Program/include/opencv2/flann/ground_truth.h
-- Up-to-date: C:/Program/include/opencv2/flann/hdf5.h
-- Up-to-date: C:/Program/include/opencv2/flann/heap.h
-- Up-to-date: C:/Program/include/opencv2/flann/hierarchical_clustering_index.h
-- Up-to-date: C:/Program/include/opencv2/flann/index_testing.h
-- Up-to-date: C:/Program/include/opencv2/flann/kdtree_index.h
-- Up-to-date: C:/Program/include/opencv2/flann/kdtree_single_index.h
-- Up-to-date: C:/Program/include/opencv2/flann/kmeans_index.h
-- Up-to-date: C:/Program/include/opencv2/flann/linear_index.h
-- Up-to-date: C:/Program/include/opencv2/flann/logger.h
-- Up-to-date: C:/Program/include/opencv2/flann/lsh_index.h
-- Up-to-date: C:/Program/include/opencv2/flann/lsh_table.h
-- Up-to-date: C:/Program/include/opencv2/flann/matrix.h
-- Up-to-date: C:/Program/include/opencv2/flann/miniflann.hpp
-- Up-to-date: C:/Program/include/opencv2/flann/nn_index.h
-- Up-to-date: C:/Program/include/opencv2/flann/object_factory.h
-- Up-to-date: C:/Program/include/opencv2/flann/params.h
-- Up-to-date: C:/Program/include/opencv2/flann/random.h
-- Up-to-date: C:/Program/include/opencv2/flann/result_set.h
-- Up-to-date: C:/Program/include/opencv2/flann/sampling.h
-- Up-to-date: C:/Program/include/opencv2/flann/saving.h
-- Up-to-date: C:/Program/include/opencv2/flann/simplex_downhill.h
-- Up-to-date: C:/Program/include/opencv2/flann/timer.h
-- Installing: C:/Program/x64/mingw/lib/libopencv_imgproc412.dll.a
-- Installing: C:/Program/x64/mingw/bin/libopencv_imgproc412.dll
-- Up-to-date: C:/Program/include/opencv2/imgproc.hpp
-- Up-to-date: C:/Program/include/opencv2/imgproc/hal/hal.hpp
-- Up-to-date: C:/Program/include/opencv2/imgproc/hal/interface.h
-- Up-to-date: C:/Program/include/opencv2/imgproc/imgproc.hpp
-- Up-to-date: C:/Program/include/opencv2/imgproc/imgproc_c.h
-- Up-to-date: C:/Program/include/opencv2/imgproc/types_c.h
-- Up-to-date: C:/Program/include/opencv2/imgproc/detail/gcgraph.hpp
-- Installing: C:/Program/x64/mingw/lib/libopencv_ml412.dll.a
-- Installing: C:/Program/x64/mingw/bin/libopencv_ml412.dll
-- Up-to-date: C:/Program/include/opencv2/ml.hpp
-- Up-to-date: C:/Program/include/opencv2/ml/ml.hpp
-- Up-to-date: C:/Program/include/opencv2/ml/ml.inl.hpp
-- Installing: C:/Program/x64/mingw/lib/libopencv_photo412.dll.a
-- Installing: C:/Program/x64/mingw/bin/libopencv_photo412.dll
-- Up-to-date: C:/Program/include/opencv2/photo.hpp
-- Up-to-date: C:/Program/include/opencv2/photo/cuda.hpp
-- Up-to-date: C:/Program/include/opencv2/photo/legacy/constants_c.h
-- Up-to-date: C:/Program/include/opencv2/photo/photo.hpp
-- Installing: C:/Program/x64/mingw/lib/libopencv_features2d412.dll.a
-- Installing: C:/Program/x64/mingw/bin/libopencv_features2d412.dll
-- Up-to-date: C:/Program/include/opencv2/features2d.hpp
-- Up-to-date: C:/Program/include/opencv2/features2d/features2d.hpp
-- Up-to-date: C:/Program/include/opencv2/features2d/hal/interface.h
-- Installing: C:/Program/x64/mingw/lib/libopencv_gapi412.dll.a
-- Installing: C:/Program/x64/mingw/bin/libopencv_gapi412.dll
-- Up-to-date: C:/Program/include/opencv2/gapi.hpp
-- Up-to-date: C:/Program/include/opencv2/gapi/core.hpp
-- Up-to-date: C:/Program/include/opencv2/gapi/cpu/core.hpp
-- Up-to-date: C:/Program/include/opencv2/gapi/cpu/gcpukernel.hpp
-- Up-to-date: C:/Program/include/opencv2/gapi/cpu/imgproc.hpp
-- Up-to-date: C:/Program/include/opencv2/gapi/fluid/core.hpp
-- Up-to-date: C:/Program/include/opencv2/gapi/fluid/gfluidbuffer.hpp
-- Up-to-date: C:/Program/include/opencv2/gapi/fluid/gfluidkernel.hpp
-- Up-to-date: C:/Program/include/opencv2/gapi/fluid/imgproc.hpp
-- Up-to-date: C:/Program/include/opencv2/gapi/garg.hpp
-- Up-to-date: C:/Program/include/opencv2/gapi/garray.hpp
-- Up-to-date: C:/Program/include/opencv2/gapi/gasync_context.hpp
-- Up-to-date: C:/Program/include/opencv2/gapi/gcall.hpp
-- Up-to-date: C:/Program/include/opencv2/gapi/gcommon.hpp
-- Up-to-date: C:/Program/include/opencv2/gapi/gcompiled.hpp
-- Up-to-date: C:/Program/include/opencv2/gapi/gcompiled_async.hpp
-- Up-to-date: C:/Program/include/opencv2/gapi/gcompoundkernel.hpp
-- Up-to-date: C:/Program/include/opencv2/gapi/gcomputation.hpp
-- Up-to-date: C:/Program/include/opencv2/gapi/gcomputation_async.hpp
-- Up-to-date: C:/Program/include/opencv2/gapi/gkernel.hpp
-- Up-to-date: C:/Program/include/opencv2/gapi/gmat.hpp
-- Up-to-date: C:/Program/include/opencv2/gapi/gmetaarg.hpp
-- Up-to-date: C:/Program/include/opencv2/gapi/gproto.hpp
-- Up-to-date: C:/Program/include/opencv2/gapi/gpu/core.hpp
-- Up-to-date: C:/Program/include/opencv2/gapi/gpu/ggpukernel.hpp
-- Up-to-date: C:/Program/include/opencv2/gapi/gpu/imgproc.hpp
-- Up-to-date: C:/Program/include/opencv2/gapi/gscalar.hpp
-- Up-to-date: C:/Program/include/opencv2/gapi/gtransform.hpp
-- Up-to-date: C:/Program/include/opencv2/gapi/gtype_traits.hpp
-- Up-to-date: C:/Program/include/opencv2/gapi/gtyped.hpp
-- Up-to-date: C:/Program/include/opencv2/gapi/imgproc.hpp
-- Up-to-date: C:/Program/include/opencv2/gapi/infer.hpp
-- Up-to-date: C:/Program/include/opencv2/gapi/infer/ie.hpp
-- Up-to-date: C:/Program/include/opencv2/gapi/ocl/core.hpp
-- Up-to-date: C:/Program/include/opencv2/gapi/ocl/goclkernel.hpp
-- Up-to-date: C:/Program/include/opencv2/gapi/ocl/imgproc.hpp
-- Up-to-date: C:/Program/include/opencv2/gapi/opencv_includes.hpp
-- Up-to-date: C:/Program/include/opencv2/gapi/operators.hpp
-- Up-to-date: C:/Program/include/opencv2/gapi/own/assert.hpp
-- Up-to-date: C:/Program/include/opencv2/gapi/own/convert.hpp
-- Up-to-date: C:/Program/include/opencv2/gapi/own/cvdefs.hpp
-- Up-to-date: C:/Program/include/opencv2/gapi/own/exports.hpp
-- Up-to-date: C:/Program/include/opencv2/gapi/own/mat.hpp
-- Up-to-date: C:/Program/include/opencv2/gapi/own/saturate.hpp
-- Up-to-date: C:/Program/include/opencv2/gapi/own/scalar.hpp
-- Up-to-date: C:/Program/include/opencv2/gapi/own/types.hpp
-- Up-to-date: C:/Program/include/opencv2/gapi/render.hpp
-- Up-to-date: C:/Program/include/opencv2/gapi/util/any.hpp
-- Up-to-date: C:/Program/include/opencv2/gapi/util/compiler_hints.hpp
-- Up-to-date: C:/Program/include/opencv2/gapi/util/optional.hpp
-- Up-to-date: C:/Program/include/opencv2/gapi/util/throw.hpp
-- Up-to-date: C:/Program/include/opencv2/gapi/util/util.hpp
-- Up-to-date: C:/Program/include/opencv2/gapi/util/variant.hpp
-- Installing: C:/Program/x64/mingw/lib/libopencv_imgcodecs412.dll.a
-- Installing: C:/Program/x64/mingw/bin/libopencv_imgcodecs412.dll
-- Up-to-date: C:/Program/include/opencv2/imgcodecs.hpp
-- Up-to-date: C:/Program/include/opencv2/imgcodecs/imgcodecs.hpp
-- Up-to-date: C:/Program/include/opencv2/imgcodecs/imgcodecs_c.h
-- Up-to-date: C:/Program/include/opencv2/imgcodecs/ios.h
-- Up-to-date: C:/Program/include/opencv2/imgcodecs/legacy/constants_c.h
-- Installing: C:/Program/x64/mingw/lib/libopencv_videoio412.dll.a
-- Installing: C:/Program/x64/mingw/bin/libopencv_videoio412.dll
-- Up-to-date: C:/Program/include/opencv2/videoio.hpp
-- Up-to-date: C:/Program/include/opencv2/videoio/cap_ios.h
-- Up-to-date: C:/Program/include/opencv2/videoio/legacy/constants_c.h
-- Up-to-date: C:/Program/include/opencv2/videoio/registry.hpp
-- Up-to-date: C:/Program/include/opencv2/videoio/videoio.hpp
-- Up-to-date: C:/Program/include/opencv2/videoio/videoio_c.h
-- Installing: C:/Program/x64/mingw/bin/opencv_videoio_ffmpeg412_64.dll
-- Installing: C:/Program/x64/mingw/lib/libopencv_calib3d412.dll.a
-- Installing: C:/Program/x64/mingw/bin/libopencv_calib3d412.dll
-- Up-to-date: C:/Program/include/opencv2/calib3d.hpp
-- Up-to-date: C:/Program/include/opencv2/calib3d/calib3d.hpp
-- Up-to-date: C:/Program/include/opencv2/calib3d/calib3d_c.h
-- Installing: C:/Program/x64/mingw/lib/libopencv_highgui412.dll.a
-- Installing: C:/Program/x64/mingw/bin/libopencv_highgui412.dll
-- Up-to-date: C:/Program/include/opencv2/highgui.hpp
-- Up-to-date: C:/Program/include/opencv2/highgui/highgui.hpp
-- Up-to-date: C:/Program/include/opencv2/highgui/highgui_c.h
-- Installing: C:/Program/x64/mingw/lib/libopencv_objdetect412.dll.a
-- Installing: C:/Program/x64/mingw/bin/libopencv_objdetect412.dll
-- Up-to-date: C:/Program/include/opencv2/objdetect.hpp
-- Up-to-date: C:/Program/include/opencv2/objdetect/detection_based_tracker.hpp
-- Up-to-date: C:/Program/include/opencv2/objdetect/objdetect.hpp
-- Installing: C:/Program/x64/mingw/lib/libopencv_stitching412.dll.a
-- Installing: C:/Program/x64/mingw/bin/libopencv_stitching412.dll
-- Up-to-date: C:/Program/include/opencv2/stitching.hpp
-- Up-to-date: C:/Program/include/opencv2/stitching/warpers.hpp
-- Up-to-date: C:/Program/include/opencv2/stitching/detail/autocalib.hpp
-- Up-to-date: C:/Program/include/opencv2/stitching/detail/blenders.hpp
-- Up-to-date: C:/Program/include/opencv2/stitching/detail/camera.hpp
-- Up-to-date: C:/Program/include/opencv2/stitching/detail/exposure_compensate.hpp
-- Up-to-date: C:/Program/include/opencv2/stitching/detail/matchers.hpp
-- Up-to-date: C:/Program/include/opencv2/stitching/detail/motion_estimators.hpp
-- Up-to-date: C:/Program/include/opencv2/stitching/detail/seam_finders.hpp
-- Up-to-date: C:/Program/include/opencv2/stitching/detail/timelapsers.hpp
-- Up-to-date: C:/Program/include/opencv2/stitching/detail/util.hpp
-- Up-to-date: C:/Program/include/opencv2/stitching/detail/util_inl.hpp
-- Up-to-date: C:/Program/include/opencv2/stitching/detail/warpers.hpp
-- Up-to-date: C:/Program/include/opencv2/stitching/detail/warpers_inl.hpp
-- Installing: C:/Program/x64/mingw/lib/libopencv_video412.dll.a
-- Installing: C:/Program/x64/mingw/bin/libopencv_video412.dll
-- Up-to-date: C:/Program/include/opencv2/video.hpp
-- Up-to-date: C:/Program/include/opencv2/video/background_segm.hpp
-- Up-to-date: C:/Program/include/opencv2/video/legacy/constants_c.h
-- Up-to-date: C:/Program/include/opencv2/video/tracking.hpp
-- Up-to-date: C:/Program/include/opencv2/video/video.hpp
-- Up-to-date: C:/Program/etc/haarcascades/haarcascade_eye.xml
-- Up-to-date: C:/Program/etc/haarcascades/haarcascade_eye_tree_eyeglasses.xml
-- Up-to-date: C:/Program/etc/haarcascades/haarcascade_frontalcatface.xml
-- Up-to-date: C:/Program/etc/haarcascades/haarcascade_frontalcatface_extended.xml
-- Up-to-date: C:/Program/etc/haarcascades/haarcascade_frontalface_alt.xml
-- Up-to-date: C:/Program/etc/haarcascades/haarcascade_frontalface_alt2.xml
-- Up-to-date: C:/Program/etc/haarcascades/haarcascade_frontalface_alt_tree.xml
-- Up-to-date: C:/Program/etc/haarcascades/haarcascade_frontalface_default.xml
-- Up-to-date: C:/Program/etc/haarcascades/haarcascade_fullbody.xml
-- Up-to-date: C:/Program/etc/haarcascades/haarcascade_lefteye_2splits.xml
-- Up-to-date: C:/Program/etc/haarcascades/haarcascade_licence_plate_rus_16stages.xml
-- Up-to-date: C:/Program/etc/haarcascades/haarcascade_lowerbody.xml
-- Up-to-date: C:/Program/etc/haarcascades/haarcascade_profileface.xml
-- Up-to-date: C:/Program/etc/haarcascades/haarcascade_righteye_2splits.xml
-- Up-to-date: C:/Program/etc/haarcascades/haarcascade_russian_plate_number.xml
-- Up-to-date: C:/Program/etc/haarcascades/haarcascade_smile.xml
-- Up-to-date: C:/Program/etc/haarcascades/haarcascade_upperbody.xml
-- Up-to-date: C:/Program/etc/lbpcascades/lbpcascade_frontalcatface.xml
-- Up-to-date: C:/Program/etc/lbpcascades/lbpcascade_frontalface.xml
-- Up-to-date: C:/Program/etc/lbpcascades/lbpcascade_frontalface_improved.xml
-- Up-to-date: C:/Program/etc/lbpcascades/lbpcascade_profileface.xml
-- Up-to-date: C:/Program/etc/lbpcascades/lbpcascade_silverware.xml
-- Installing: C:/Program/x64/mingw/bin/opencv_annotation.exe
-- Installing: C:/Program/x64/mingw/bin/opencv_visualisation.exe
-- Installing: C:/Program/x64/mingw/bin/opencv_interactive-calibration.exe
-- Installing: C:/Program/x64/mingw/bin/opencv_version.exe
-- Installing: C:/Program/x64/mingw/bin/opencv_version_win32.exe
MINGW3~1.EXE: Leaving directory 'C:/Users/LIGHTS~1/AppData/Local/Temp/RtmpwrsD9R/opencv-4.1.2/build64'
[1] FALSE
sjmgarnier commented 4 years ago

@matiasandina You've run into the "there is a space in the path" death trap of MinGW. R is trying to install the package in "c:/Program Files/R/R-3.6.3/library/" (btw, you should probably avoid installing packages in that folder in general if other people are using the same computer; it's safer to install the packages in a local library folder). The space between "Program" and "Files" is something MinGW (the software used by R to compile the C/C++ code of OpenCV) doesn't handle very well, unfortunately.

There is no fix that I know of for this problem. It is a known issue with MinGW and I have no control over this in ROpenCVLite. The only workaround is to either move the R library location to a folder that has no space in its path or install ROpenCVLite in another R library folder (you can have several if I'm not mistaken) that has no space in its path. See here for some help with that: https://www.accelebrate.com/library/how-to-articles/r-rstudio-library.

matiasandina commented 4 years ago

Wow ! Thank you so much for wizard level of debug!

It's a deadly trap indeed, it's 2020 and I really feel like OS should ban spaces and special characters on paths. I have no problem of sharing the computer so I decided to go more drastic and reinstall R into

C:\R\  

So that my library is now

.libPaths()
[1] "C:/R/R-3.6.3/library"

I built opencv again and no problem

sjmgarnier commented 4 years ago

@matiasandina It's 2020 and I feel like compilers should be able to handle spaces... Oh well, I'm sure that will be fixed one day.