求助:error in configuration process,project file may be invalid.

cmake出错了,错误代码:

Detected processor: AMD64

libjpeg-turbo: VERSION = 2.1.0, BUILD = opencv-4.5.3-libjpeg-turbo

Could NOT find OpenJPEG (minimal suitable version: 2.0, recommended version >= 2.3.1). OpenJPEG will be built from sources

OpenJPEG: VERSION = 2.4.0, BUILD = opencv-4.5.3-openjp2-2.4.0

OpenJPEG libraries will be built from sources: libopenjp2 (version "2.4.0")

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)

Could NOT find LAPACK (missing: LAPACK_LIBRARIES)

Reason given by package: LAPACK could not be found because dependency BLAS could not be found.

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

> D:/Applications/msys2/home/zjx/opencv-4.5.3/modules/calib3d

> D:/Applications/msys2/home/zjx/opencv-4.5.3/modules/core

> D:/Applications/msys2/home/zjx/opencv-4.5.3/modules/dnn

> D:/Applications/msys2/home/zjx/opencv-4.5.3/modules/features2d

> D:/Applications/msys2/home/zjx/opencv-4.5.3/modules/flann

> D:/Applications/msys2/home/zjx/opencv-4.5.3/modules/gapi

> D:/Applications/msys2/home/zjx/opencv-4.5.3/modules/highgui

> D:/Applications/msys2/home/zjx/opencv-4.5.3/modules/imgcodecs

> D:/Applications/msys2/home/zjx/opencv-4.5.3/modules/imgproc

> D:/Applications/msys2/home/zjx/opencv-4.5.3/modules/java

> D:/Applications/msys2/home/zjx/opencv-4.5.3/modules/js

> D:/Applications/msys2/home/zjx/opencv-4.5.3/modules/ml

> D:/Applications/msys2/home/zjx/opencv-4.5.3/modules/objc

> D:/Applications/msys2/home/zjx/opencv-4.5.3/modules/objdetect

> D:/Applications/msys2/home/zjx/opencv-4.5.3/modules/photo

> D:/Applications/msys2/home/zjx/opencv-4.5.3/modules/python

> D:/Applications/msys2/home/zjx/opencv-4.5.3/modules/stitching

> D:/Applications/msys2/home/zjx/opencv-4.5.3/modules/ts

> D:/Applications/msys2/home/zjx/opencv-4.5.3/modules/video

> D:/Applications/msys2/home/zjx/opencv-4.5.3/modules/videoio

> D:/Applications/msys2/home/zjx/opencv-4.5.3/modules/world

> D:/Applications/msys2/home/zjx/opencv-4.5.3/modules/calib3d

> D:/Applications/msys2/home/zjx/opencv-4.5.3/modules/core

> D:/Applications/msys2/home/zjx/opencv-4.5.3/modules/dnn

> D:/Applications/msys2/home/zjx/opencv-4.5.3/modules/features2d

> D:/Applications/msys2/home/zjx/opencv-4.5.3/modules/flann

> D:/Applications/msys2/home/zjx/opencv-4.5.3/modules/gapi

> D:/Applications/msys2/home/zjx/opencv-4.5.3/modules/highgui

> D:/Applications/msys2/home/zjx/opencv-4.5.3/modules/imgcodecs

> D:/Applications/msys2/home/zjx/opencv-4.5.3/modules/imgproc

> D:/Applications/msys2/home/zjx/opencv-4.5.3/modules/java

> D:/Applications/msys2/home/zjx/opencv-4.5.3/modules/js

> D:/Applications/msys2/home/zjx/opencv-4.5.3/modules/ml

> D:/Applications/msys2/home/zjx/opencv-4.5.3/modules/objc

> D:/Applications/msys2/home/zjx/opencv-4.5.3/modules/objdetect

> D:/Applications/msys2/home/zjx/opencv-4.5.3/modules/photo

> D:/Applications/msys2/home/zjx/opencv-4.5.3/modules/python

> D:/Applications/msys2/home/zjx/opencv-4.5.3/modules/stitching

> D:/Applications/msys2/home/zjx/opencv-4.5.3/modules/ts

> D:/Applications/msys2/home/zjx/opencv-4.5.3/modules/video

> D:/Applications/msys2/home/zjx/opencv-4.5.3/modules/videoio

> D:/Applications/msys2/home/zjx/opencv-4.5.3/modules/world

CMake Error at cmake/OpenCVModule.cmake:340 (message):
Duplicated modules LOCATIONS has been found
Call Stack (most recent call first):
cmake/OpenCVModule.cmake:357 (_assert_uniqueness)
modules/CMakeLists.txt:7 (ocv_glob_modules)
 

Configuring incomplete, errors occurred!

See also "D:/Applications/msys2/home/zjx/opencv-4.5.3/build/CMakeFiles/CMakeOutput.log".

See also "D:/Applications/msys2/home/zjx/opencv-4.5.3/build/CMakeFiles/CMakeError.log".

有没有人知道哪里出错了,感谢

你可能感兴趣的:(opencv)