gocv
gocv copied to clipboard
Messages like `skipped`, `failed` and `not found`
Hi.
I got gocv
and opencv
installed as per the instructions given, at my Windows 11 x64 device:
D:\Development\gopath\pkg\mod\gocv.io\x\[email protected]>go run cmd\version\main.go
gocv version: 0.31.0
opencv lib version: 4.6.0
Nut during installation I got lots of messages like skipped
, failed
and not found
some are below, is this goining to have any impact, shall I do anything then reinstall the package to get these staff fixed?
-- Check for working CXX compiler: D:/TDM-GCC-64/bin/g++.exe - skipped
-- Check for working C compiler: D:/TDM-GCC-64/bin/gcc.exe - skipped
-- Found PythonInterp: C:/Users/hasan.y/AppData/Local/Microsoft/WindowsApps/python.exe (found suitable version "3.10.5", minimum required is "2.7")
CMake Warning at cmake/OpenCVDetectPython.cmake:81 (message):
CMake's 'find_host_package(PythonInterp 2.7)' found wrong Python version:
-- Could NOT find Python2 (missing: Python2_EXECUTABLE Interpreter)
Reason given by package:
Interpreter: Wrong major version for the interpreter "C:/Users/hasan.y/AppData/Local/Microsoft/WindowsApps/python.exe"
-- Performing Test HAVE_C_WNON_VIRTUAL_DTOR - Failed
-- Performing Test HAVE_CXX_WMISSING_PROTOTYPES - Failed
-- Performing Test HAVE_CXX_WSTRICT_PROTOTYPES - Failed
-- Performing Test HAVE_C_WSIGN_PROMO - Failed
-- Performing Test HAVE_C_WSUGGEST_OVERRIDE - Failed
-- Performing Test HAVE_C_WNO_DELETE_NON_VIRTUAL_DTOR - Failed
-- Performing Test HAVE_CXX_WNO_UNNAMED_TYPE_TEMPLATE_ARGS - Failed
-- Performing Test HAVE_C_WNO_UNNAMED_TYPE_TEMPLATE_ARGS - Failed
-- Performing Test HAVE_C_FVISIBILITY_INLINES_HIDDEN - Failed
-- Performing Test HAVE_C_WNO_SHORTEN_64_TO_32 - Failed
-- Looking for dlfcn.h - not found
-- Check size of INT8 - failed
-- Check size of INT16 - failed
-- Check size of INT32 - failed
-- Performing Test HAVE_CXX_WNO_MISSING_PROTOTYPES - Failed
-- Performing Test HAVE_C_WNO_IMPLICIT_CONST_INT_FLOAT_CONVERSION - Failed
-- OpenCV modules:
-- To be built: aruco barcode bgsegm bioinspired calib3d ccalib core datasets dnn dnn_objdetect dnn_superres dpm face features2d flann fuzzy gapi hfs highgui img_hash imgcodecs imgproc intensity_transform line_descriptor mcc ml objdetect optflow phase_unwrapping photo plot quality rapid reg rgbd shape stereo stitching structured_light superres surface_matching text tracking video videoio videostab wechat_qrcode xfeatures2d ximgproc xobjdetect xphoto
-- Disabled: saliency world
-- Disabled by dependency: -
-- Unavailable: alphamat cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev cvv freetype hdf java julia matlab ovis python2 python3 sfm ts viz
-- Applications: apps
-- Documentation: NO
-- Non-free algorithms: NO
--
-- Windows RT support: NO
--
-- GUI: WIN32UI
-- Win32 UI: YES
-- VTK support: NO
--
-- Media I/O:
-- ZLib: build (ver 1.2.12)
-- JPEG: build-libjpeg-turbo (ver 2.1.2-62)
-- WEBP: build (ver encoder: 0x020f)
-- PNG: build (ver 1.6.37)
-- TIFF: build (ver 42 - 4.2.0)
-- JPEG 2000: build (ver 2.4.0)
-- 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.134.100)
-- avformat: YES (58.76.100)
-- avutil: YES (56.70.100)
-- swscale: YES (5.9.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
-- Protobuf: build (3.19.1)
--
-- OpenCL: YES (no extra features)
-- Include path: C:/opencv/opencv-4.6.0/3rdparty/include/opencl/1.2
-- Link libraries: Dynamic load
--
-- Python (for build): C:/Users/hasan.y/AppData/Local/Microsoft/WindowsApps/python3.exe
--
-- Java:
-- ant: NO
-- JNI: NO
-- Java wrappers: NO
-- Java tests: NO
--
-- Install to: C:/opencv/build/install
-- -----------------------------------------------------------------
--
-- Configuring done
-- Generating done
-- Build files have been written to: C:/opencv/build
C:\opencv\opencv-4.6.0\3rdparty\libtiff\tif_print.c:241:46: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long long unsigned int' [-Wformat=]
241 | fprintf(fd, "TIFF Directory at offset 0x%I64x (%I64u)\n",
| ~~~~^
| |
| unsigned int
| %I64llx
242 | (unsigned __int64) tif->tif_diroff,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| long long unsigned int
C:\opencv\opencv-4.6.0\3rdparty\libtiff\tif_print.c:241:53: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long long unsigned int' [-Wformat=]
241 | fprintf(fd, "TIFF Directory at offset 0x%I64x (%I64u)\n",
| ~~~~^
| |
| unsigned int
| %I64llu
242 | (unsigned __int64) tif->tif_diroff,
243 | (unsigned __int64) tif->tif_diroff);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| long long unsigned int
C:\opencv\opencv-4.6.0\3rdparty\libtiff\tif_print.c:560:20: warning: unknown conversion type character 'I' in format [-Wformat=]
560 | fprintf(fd, " %5I64u",
| ^
C:\opencv\opencv-4.6.0\3rdparty\libtiff\tif_print.c:560:16: warning: too many arguments for format [-Wformat-extra-args]
560 | fprintf(fd, " %5I64u",
| ^~~~~~~~~
C:\opencv\opencv-4.6.0\3rdparty\libtiff\tif_print.c:664:30: warning: unknown conversion type character 'I' in format [-Wformat=]
664 | fprintf(fd, " %3lu: [%8I64u, %8I64u]\n",
| ^
C:\opencv\opencv-4.6.0\3rdparty\libtiff\tif_print.c:664:38: warning: unknown conversion type character 'I' in format [-Wformat=]
664 | fprintf(fd, " %3lu: [%8I64u, %8I64u]\n",
| ^
C:\opencv\opencv-4.6.0\3rdparty\libtiff\tif_print.c:664:16: warning: too many arguments for format [-Wformat-extra-args]
664 | fprintf(fd, " %3lu: [%8I64u, %8I64u]\n",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 19%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfDeepScanLineInputPart.cpp.obj
C:\opencv\opencv-4.6.0\modules\videoio\src\cap_dshow.hpp:33:18: warning: 'virtual bool cv::VideoCapture_DShow::isOpened() const' can be marked override [-Wsuggest-override]
33 | virtual bool isOpened() const;
| ^~~~~~~~
[ 50%] Building CXX object modules/videoio/CMakeFiles/opencv_videoio.dir/opencv_videoio_main.cpp.objC:\opencv\opencv-4.6.0\modules\videoio\src\cap_dshow.cpp:697:26:
warning: 'virtual ULONG SampleGrabberCallback::AddRef()' can be marked override [-Wsuggest-override]
697 | STDMETHODIMP_(ULONG) AddRef() { return 1; }
| ^~~~~~
C:\opencv\opencv-4.6.0\modules\videoio\src\cap_dshow.cpp:698:26: warning: 'virtual ULONG SampleGrabberCallback::Release()' can be marked override [-Wsuggest-override]
698 | STDMETHODIMP_(ULONG) Release() { return 2; }
| ^~~~~~~
C:\opencv\opencv-4.6.0\modules\videoio\src\cap_dshow.cpp:702:18: warning: 'virtual HRESULT SampleGrabberCallback::QueryInterface(const IID&, void**)' can be marked override [-Wsuggest-override]
702 | STDMETHODIMP QueryInterface(REFIID, void **ppvObject){
| ^~~~~~~~~~~~~~
C:\opencv\opencv-4.6.0\modules\videoio\src\cap_dshow.cpp:710:18: warning: 'virtual HRESULT SampleGrabberCallback::SampleCB(double, IMediaSample*)' can be marked override [-Wsuggest-override]
710 | STDMETHODIMP SampleCB(double , IMediaSample *pSample){
| ^~~~~~~~
C:\opencv\opencv-4.6.0\modules\videoio\src\cap_dshow.cpp:734:18: warning: 'virtual HRESULT SampleGrabberCallback::BufferCB(double, BYTE*, long int)' can be marked override [-Wsuggest-override]
734 | STDMETHODIMP BufferCB(double, BYTE *, long){
| ^~~~~~~~
[ 50%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/crop_and_resize_layer.cpp.obj
[ 50%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/p3p.cpp.obj
[ 50%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/cumsum_layer.cpp.obj
[ 50%] [ 50%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/polynom_solver.cpp.objBuilding CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/detection_output_layer.cpp.obj