Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Opencv 4.1.1 can't find opencv_modules.h

OpenCv 4.1.1 Visual studio 2019 Windows 10

I downloaded and compiled successfuly opencv 4.1.1 by cmake. when I try to compile a sample I get an error from base.hpp - can't find opencv_modules.hpp. I search the directory of the downloaded source package and the directory of the build and can't find it. I am using opencv for about 14 years upgrading versions many times. This is my first try with opencv 4 Thanks.

Opencv 4.1.1 can't find opencv_modules.h

OpenCv 4.1.1 Visual studio 2019 Windows 10

I downloaded and compiled successfuly opencv 4.1.1 by cmake. when I try to compile a sample I get an error from base.hpp - can't find opencv_modules.hpp. I search the directory of the downloaded source package and the directory of the build and can't find it. I am using opencv for about 14 years upgrading versions many times. This is my first try with opencv 4 Thanks.Thanks. C:\fakepath\cmake411.jpg It is txt with extention .jpg

Opencv 4.1.1 can't find opencv_modules.h

OpenCv 4.1.1 Visual studio 2019 Windows 10

I downloaded and compiled successfuly opencv 4.1.1 by cmake. when I try to compile a sample I get an error from base.hpp - can't find opencv_modules.hpp. I search the directory of the downloaded source package and the directory of the build and can't find it. I am using opencv for about 14 years upgrading versions many times. This is my first try with opencv 4 Thanks. C:\fakepath\cmake411.jpg It is txt with extention .jpg

Detected processor: AMD64
Found PythonInterp: C:/Program Files/Python365/python.exe (found suitable version "3.6.5", minimum required is "2.7") 
libjpeg-turbo: VERSION = 2.0.2, BUILD = opencv-4.1.1-libjpeg-turbo
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) 
Performing Test HAVE_CPUID_INFO
Performing Test HAVE_CPUID_INFO - Success
Detected InferenceEngine: cmake package
CMake Warning at cmake/OpenCVDetectInferenceEngine.cmake:83 (message):
InferenceEngine version have not been set, 2019R2 will be used by default.
Set INF_ENGINE_RELEASE variable if you experience build errors.
Call Stack (most recent call first):
CMakeLists.txt:845 (include)
VTK is not found. Please set -DVTK_DIR in CMake to VTK build directory, or to VTK install subdirectory with VTKConfig.cmake file
OpenCV Python: during development append to PYTHONPATH: D:/Opencv411/python_loader
Registering hook 'INIT_MODULE_SOURCES_opencv_dnn': D:/TFS/LPR/IP/ThirdParty/OpenCv/opencv-4.1.1/modules/dnn/cmake/hooks/INIT_MODULE_SOURCES_opencv_dnn.cmake
opencv_dnn: filter out cuda4dnn source code
CMake Warning at cmake/OpenCVGenSetupVars.cmake:54 (message):
CONFIGURATION IS NOT SUPPORTED: validate setupvars script in install
directory
Call Stack (most recent call first):
CMakeLists.txt:1059 (include)

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

Platform:
Timestamp: 2019-10-28T15:16:56Z
Host: Windows 10.0.18362 AMD64
CMake: 3.16.0-rc2
CMake generator: Visual Studio 16 2019
CMake build tool: C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/MSBuild/Current/Bin/MSBuild.exe
MSVC: 1923

CPU/HW features:
Baseline: SSE SSE2 SSE3
requested: SSE3
Dispatched code generation: SSE4_1 SSE4_2 FP16 AVX AVX2 AVX512_SKX
requested: SSE4_1 SSE4_2 AVX FP16 AVX2 AVX512_SKX
SSE4_1 (15 files): + SSSE3 SSE4_1
SSE4_2 (2 files): + SSSE3 SSE4_1 POPCNT SSE4_2
FP16 (1 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 AVX
AVX (5 files): + SSSE3 SSE4_1 POPCNT SSE4_2 AVX
AVX2 (29 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 FMA3 AVX AVX2
AVX512_SKX (5 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 FMA3 AVX AVX2 AVX_512F AVX512_COMMON AVX512_SKX

C/C++:
Built as dynamic libs?: YES
C++ Compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.23.28105/bin/Hostx64/x64/cl.exe (ver 19.23.28105.4)
C++ flags (Release): /DWIN32 /D_WINDOWS /W4 /GR /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /fp:precise /EHa /wd4127 /wd4251 /wd4324 /wd4275 /wd4512 /wd4589 /MP8 /MD /O2 /Ob2 /DNDEBUG 
C++ flags (Debug): /DWIN32 /D_WINDOWS /W4 /GR /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /fp:precise /EHa /wd4127 /wd4251 /wd4324 /wd4275 /wd4512 /wd4589 /MP8 /MDd /Zi /Ob0 /Od /RTC1 
C Compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.23.28105/bin/Hostx64/x64/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 /fp:precise /MP8 /MD /O2 /Ob2 /DNDEBUG 
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 /fp:precise /MP8 /MDd /Zi /Ob0 /Od /RTC1 
Linker flags (Release): /machine:x64 /INCREMENTAL:NO 
Linker flags (Debug): /machine:x64 /debug /INCREMENTAL 
ccache: NO
Precompiled headers: YES
Extra dependencies:
3rdparty dependencies:

OpenCV modules:
To be built: calib3d core dnn features2d flann gapi highgui imgcodecs imgproc ml objdetect photo python3 stitching ts video videoio
Disabled: world
Disabled by dependency: -
Unavailable: java js python2
Applications: tests perf_tests 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.35.100)
avformat: YES (58.20.100)
avutil: YES (56.22.100)
swscale: YES (5.3.100)
avresample: YES (4.0.0)
GStreamer: NO
DirectShow: YES
Media Foundation: YES
DXVA: YES

Parallel framework: Concurrency

Trace: YES (with Intel ITT)

Other third-party libraries:
Lapack: NO
Inference Engine: YES (2019020000 / 2.1.0)
libs: C:/Program Files (x86)/IntelSWTools/openvino/deployment_tools/inference_engine/lib/intel64/Release/inference_engine.lib / C:/Program Files (x86)/IntelSWTools/openvino/deployment_tools/inference_engine/lib/intel64/Debug/inference_engined.lib
includes: C:/Program Files (x86)/IntelSWTools/openvino/deployment_tools/inference_engine/include
Eigen: NO
Custom HAL: NO
Protobuf: build (3.5.1)

OpenCL: YES (NVD3D11)
Include path: D:/TFS/LPR/IP/ThirdParty/OpenCv/opencv-4.1.1/3rdparty/include/opencl/1.2
Link libraries: Dynamic load

Python 3:
Interpreter: C:/Program Files/Python365/python.exe (ver 3.6.5)
Libraries: optimized C:/Program Files/Python365/libs/python36.lib debug C:/Program Files/Python365/libs/python36_d.lib (ver 3.6.5)
numpy: C:/Program Files/Python365/lib/site-packages/numpy/core/include (ver 1.15.2)
install path: C:/Program Files/Python365/Lib/site-packages/cv2/python-3.6

Python (for build): C:/Program Files/Python365/python.exe

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

Install to: D:/Opencv411/install
-----------------------------------------------------------------

Configuring done
Generating done

Opencv 4.1.1 can't find opencv_modules.h

OpenCv 4.1.1 Visual studio 2019 Windows 10

I downloaded and compiled successfuly opencv 4.1.1 by cmake. when I try to compile a sample I get an error from base.hpp - can't find opencv_modules.hpp. I search the directory of the downloaded source package and the directory of the build and can't find it. I am using opencv for about 14 years upgrading versions many times. This is my first try with opencv 4 Thanks. C:\fakepath\cmake411.jpg It is txt with extention .jpg

Detected processor: AMD64
Found PythonInterp: C:/Program Files/Python365/python.exe (found suitable version "3.6.5", minimum required is "2.7") 
libjpeg-turbo: VERSION = 2.0.2, BUILD = opencv-4.1.1-libjpeg-turbo
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) 
Performing Test HAVE_CPUID_INFO
Performing Test HAVE_CPUID_INFO - Success
Detected InferenceEngine: cmake package
CMake Warning at cmake/OpenCVDetectInferenceEngine.cmake:83 (message):
InferenceEngine version have not been set, 2019R2 will be used by default.
Set INF_ENGINE_RELEASE variable if you experience build errors.
Call Stack (most recent call first):
CMakeLists.txt:845 (include)
VTK is not found. Please set -DVTK_DIR in CMake to VTK build directory, or to VTK install subdirectory with VTKConfig.cmake file
OpenCV Python: during development append to PYTHONPATH: D:/Opencv411/python_loader
Registering hook 'INIT_MODULE_SOURCES_opencv_dnn': D:/TFS/LPR/IP/ThirdParty/OpenCv/opencv-4.1.1/modules/dnn/cmake/hooks/INIT_MODULE_SOURCES_opencv_dnn.cmake
opencv_dnn: filter out cuda4dnn source code
CMake Warning at cmake/OpenCVGenSetupVars.cmake:54 (message):
CONFIGURATION IS NOT SUPPORTED: validate setupvars script in install
directory
Call Stack (most recent call first):
CMakeLists.txt:1059 (include)

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

Platform:
Timestamp: 2019-10-28T15:16:56Z
Host: Windows 10.0.18362 AMD64
CMake: 3.16.0-rc2
CMake generator: Visual Studio 16 2019
CMake build tool: C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/MSBuild/Current/Bin/MSBuild.exe
MSVC: 1923

CPU/HW features:
Baseline: SSE SSE2 SSE3
requested: SSE3
Dispatched code generation: SSE4_1 SSE4_2 FP16 AVX AVX2 AVX512_SKX
requested: SSE4_1 SSE4_2 AVX FP16 AVX2 AVX512_SKX
SSE4_1 (15 files): + SSSE3 SSE4_1
SSE4_2 (2 files): + SSSE3 SSE4_1 POPCNT SSE4_2
FP16 (1 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 AVX
AVX (5 files): + SSSE3 SSE4_1 POPCNT SSE4_2 AVX
AVX2 (29 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 FMA3 AVX AVX2
AVX512_SKX (5 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 FMA3 AVX AVX2 AVX_512F AVX512_COMMON AVX512_SKX

C/C++:
Built as dynamic libs?: YES
C++ Compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.23.28105/bin/Hostx64/x64/cl.exe (ver 19.23.28105.4)
C++ flags (Release): /DWIN32 /D_WINDOWS /W4 /GR /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /fp:precise /EHa /wd4127 /wd4251 /wd4324 /wd4275 /wd4512 /wd4589 /MP8 /MD /O2 /Ob2 /DNDEBUG 
C++ flags (Debug): /DWIN32 /D_WINDOWS /W4 /GR /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /fp:precise /EHa /wd4127 /wd4251 /wd4324 /wd4275 /wd4512 /wd4589 /MP8 /MDd /Zi /Ob0 /Od /RTC1 
C Compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.23.28105/bin/Hostx64/x64/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 /fp:precise /MP8 /MD /O2 /Ob2 /DNDEBUG 
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 /fp:precise /MP8 /MDd /Zi /Ob0 /Od /RTC1 
Linker flags (Release): /machine:x64 /INCREMENTAL:NO 
Linker flags (Debug): /machine:x64 /debug /INCREMENTAL 
ccache: NO
Precompiled headers: YES
Extra dependencies:
3rdparty dependencies:

OpenCV modules:
To be built: calib3d core dnn features2d flann gapi highgui imgcodecs imgproc ml objdetect photo python3 stitching ts video videoio
Disabled: world
Disabled by dependency: -
Unavailable: java js python2
Applications: tests perf_tests 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.35.100)
avformat: YES (58.20.100)
avutil: YES (56.22.100)
swscale: YES (5.3.100)
avresample: YES (4.0.0)
GStreamer: NO
DirectShow: YES
Media Foundation: YES
DXVA: YES

Parallel framework: Concurrency

Trace: YES (with Intel ITT)

Other third-party libraries:
Lapack: NO
Inference Engine: YES (2019020000 / 2.1.0)
libs: C:/Program Files (x86)/IntelSWTools/openvino/deployment_tools/inference_engine/lib/intel64/Release/inference_engine.lib / C:/Program Files (x86)/IntelSWTools/openvino/deployment_tools/inference_engine/lib/intel64/Debug/inference_engined.lib
includes: C:/Program Files (x86)/IntelSWTools/openvino/deployment_tools/inference_engine/include
Eigen: NO
Custom HAL: NO
Protobuf: build (3.5.1)

OpenCL: YES (NVD3D11)
Include path: D:/TFS/LPR/IP/ThirdParty/OpenCv/opencv-4.1.1/3rdparty/include/opencl/1.2
Link libraries: Dynamic load

Python 3:
Interpreter: C:/Program Files/Python365/python.exe (ver 3.6.5)
Libraries: optimized C:/Program Files/Python365/libs/python36.lib debug C:/Program Files/Python365/libs/python36_d.lib (ver 3.6.5)
numpy: C:/Program Files/Python365/lib/site-packages/numpy/core/include (ver 1.15.2)
install path: C:/Program Files/Python365/Lib/site-packages/cv2/python-3.6

Python (for build): C:/Program Files/Python365/python.exe

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

Install to: D:/Opencv411/install
-----------------------------------------------------------------

Configuring done
Generating done