Cmakeでエラーがでてしまいconfigureが出来ません。1/2(文字数の問題より2つに分けています)
環境
Windows10 64bit
最新版のOPENCVとCmakeをvisual studio 2013 for windowsで使おうとCmakeを用いてconfigure舌のですが以下のエラーが出てしまいます。
CMake Deprecation Warning at CMakeLists.txt:72 (cmake_policy):
The OLD behavior for policy CMP0022 will be removed from a future version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
CMake Deprecation Warning at CMakeLists.txt:77 (cmake_policy):
The OLD behavior for policy CMP0026 will be removed from a future version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
found IPP (ICV version): 9.0.1 [9.0.1]
at: C:/opencv/sources/3rdparty/ippicv/unpack/ippicv_win
CUDA detected: 9.1
CUDA NVCC target flags: -gencode;arch=compute_20,code=sm_20;-gencode;arch=compute_20,code=sm_21;-gencode;arch=compute_30,code=sm_30;-gencode;arch=compute_35,code=sm_35;-gencode;arch=compute_30,code=compute_30
Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
To enable PlantUML support, set PLANTUML_JAR environment variable or pass -DPLANTUML_JAR=<filepath> option to cmake
Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE) (Required is at least version "2.7")
Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE) (Required is at least version "2.6")
Traceback (most recent call last):
File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'numpy'
Could NOT find Matlab (missing: MATLAB_MEX_SCRIPT MATLAB_INCLUDE_DIRS MATLAB_ROOT_DIR MATLAB_LIBRARIES MATLAB_LIBRARY_DIRS MATLAB_MEXEXT MATLAB_ARCH MATLAB_BIN)
VTK is not found. Please set -DVTK_DIR in CMake to VTK build directory, or to VTK install subdirectory with VTKConfig.cmake file
CMake Error at modules/gpu/CMakeLists.txt:88 (ocv_add_precompiled_headers):
Unknown CMake command "ocv_add_precompiled_headers".
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
CUDA_nppi_LIBRARY (ADVANCED)
linked by target "opencv_cudev" in directory C:/opencv/sources/modules/cudev
linked by target "opencv_cudev" in directory C:/opencv/sources/modules/cudev
linked by target "opencv_test_cudev" in directory C:/opencv/sources/modules/cudev/test
linked by target "opencv_core" in directory C:/opencv/sources/modules/core
linked by target "opencv_core" in directory C:/opencv/sources/modules/core
linked by target "opencv_perf_core" in directory C:/opencv/sources/modules/core
linked by target "opencv_test_core" in directory C:/opencv/sources/modules/core
linked by target "opencv_cudaarithm" in directory C:/opencv/sources/modules/cudaarithm
linked by target "opencv_cudaarithm" in directory C:/opencv/sources/modules/cudaarithm
linked by target "opencv_test_cudaarithm" in directory C:/opencv/sources/modules/cudaarithm
linked by target "opencv_perf_cudaarithm" in directory C:/opencv/sources/modules/cudaarithm
linked by target "opencv_flann" in directory C:/opencv/sources/modules/flann
linked by target "opencv_flann" in directory C:/opencv/sources/modules/flann
linked by target
もう一つの質問へ続きます。
お手数ですがどうかよろしくお願いします。
回答1件
あなたの回答
tips
プレビュー