Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

CV_IPP_RUN no found when build opencv3.1.0

Hi all, I use cmake to config my system before build opencv3.1.0 source core. But when i open source code in vs2015. I find that "identifier CV_IPP_RUN not found". How to setup or config the environment?

found IPP (ICV version): 9.0.1 [9.0.1] at: H:/opencv-3.1.0/opencv/sources/3rdparty/ippicv/unpack/ippicv_win CUDA detected: 7.5 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 To enable PlantUML support, set PLANTUML_JAR environment variable or pass -DPLANTUML_JAR=<filepath> option to cmake Found PythonInterp: C:/Python27/python.exe (found suitable version "2.7.10", minimum required is "2.7") Traceback (most recent call last): File "<string>", line 1, in <module> ImportError: No module named numpy.distutils

Found PythonInterp: C:/Python34/python.exe (found suitable version "3.4.3", minimum required is "3.4") Could NOT find PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS) (Required is exact version "3.4.3") Traceback (most recent call last): File "<string>", line 1, in <module> ImportError: 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

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

Platform: Host: Windows 6.2 AMD64 CMake: 3.3.0-rc2 CMake generator: Visual Studio 14 2015 Win64 CMake build tool: C:/Program Files (x86)/MSBuild/14.0/bin/MSBuild.exe MSVC: 1900

C/C++: Built as dynamic libs?: YES C++ Compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe (ver 19.0.23506.0) C++ flags (Release): /DWIN32 /D_WINDOWS /W4 /GR /EHa /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /wd4251 /wd4324 /wd4275 /wd4589 /MP8 /MD /O2 /Ob2 /D NDEBUG /Zi C++ flags (Debug): /DWIN32 /D_WINDOWS /W4 /GR /EHa /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /wd4251 /wd4324 /wd4275 /wd4589 /MP8 /D_DEBUG /MDd /Zi /Ob0 /Od /RTC1 C Compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/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 /MP8 /MD /O2 /Ob2 /D NDEBUG /Zi 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 /MP8 /D_DEBUG /MDd /Zi /Ob0 /Od /RTC1 Linker flags (Release): /machine:x64 /INCREMENTAL:NO /debug Linker flags (Debug): /machine:x64 /debug /INCREMENTAL Precompiled headers: YES Extra dependencies: comctl32 gdi32 ole32 setupapi ws2_32 vfw32 C:/Program Files/Allied Vision Technologies/GigESDK/lib-pc/x64/PvAPI.lib cudart nppc nppi npps cufft -LC:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v7.5/lib/x64 3rdparty dependencies: zlib libjpeg libwebp libpng libtiff libjasper IlmImf

OpenCV modules: To be built: cudev core cudaarithm flann imgproc ml video cudabgsegm cudafilters cudaimgproc cudawarping imgcodecs photo shape videoio cudacodec highgui objdetect ts features2d calib3d cudafeatures2d cudalegacy cudaobjdetect cudaoptflow cudastereo stitching superres videostab Disabled: world Disabled by dependency: - Unavailable: java python2 python3 viz

Windows RT support: NO

GUI: QT: NO Win32 UI: YES OpenGL support: NO VTK support: NO

Media I/O: ZLib: build (ver 1.2.8) JPEG: build (ver 90) WEBP: build (ver 0.3.1) PNG: build (ver 1.6.19) TIFF: build (ver 42 - 4.0.2) JPEG 2000: build (ver 1.900.1) OpenEXR: build (ver 1.7.1) GDAL: NO

Video I/O: Video for Windows: YES DC1394 1.x: NO DC1394 2.x: NO FFMPEG: YES (prebuilt binaries) codec: YES (ver 56.41.100) format: YES (ver 56.36.101) util: YES (ver 54.27.100) swscale: YES (ver 3.1.101) resample: NO gentoo-style: YES GStreamer: NO OpenNI: NO OpenNI PrimeSensor Modules: NO OpenNI2: NO PvAPI: YES GigEVisionSDK: NO DirectShow: YES Media Foundation: NO XIMEA: NO Intel PerC: NO

Parallel framework: Concurrency

Other third-party libraries: Use IPP: 9.0.1 [9.0.1] at: H:/opencv-3.1.0/opencv/sources/3rdparty/ippicv/unpack/ippicv_win Use IPP Async: NO Use Eigen: NO Use Cuda: YES (ver 7.5) Use OpenCL: YES Use custom HAL: NO

NVIDIA CUDA Use CUFFT: YES Use CUBLAS: NO USE NVCUVID: NO NVIDIA GPU arch: 20 21 30 35 NVIDIA PTX archs: 30 Use fast math: NO

OpenCL: Version: dynamic Include path: H:/opencv-3.1.0/opencv/sources/3rdparty/include/opencl/1.2 C:/Ceemple/OpenCV4VS/include C:/Ceemple/OpenCV4VS/include Use AMDFFT: YES Use AMDBLAS: YES

Python 2: Interpreter: C:/Python27/python.exe (ver 2.7.10)

Python 3: Interpreter: C:/Python34/python.exe (ver 3.4.3)

Python (for build): C:/Python27/python.exe

Java: ant: NO JNI: C:/Program Files/Java/jdk1.8.0_66/include C:/Program Files/Java/jdk1.8.0_66/include/win32 C:/Program Files/Java/jdk1.8.0_66/include Java wrappers: NO Java tests: NO

Matlab: Matlab not found or implicitly disabled

Documentation: Doxygen: C:/Program Files/doxygen/bin/doxygen.exe (ver 1.8.11) PlantUML: NO

Tests and samples: Tests: YES Performance tests: YES C/C++ Examples: YES

Install path: H:/opencv-3.1.0/opencv/sources/2015x64/install

cvconfig.h is in: H:/opencv-3.1.0/opencv/sources/2015x64

Configuring done

CV_IPP_RUN no found define when build opencv3.1.0

Hi all, I use cmake to config my system before build opencv3.1.0 source core. But when i open source code in vs2015. I find that "identifier CV_IPP_RUN not found". define". How to setup or config the environment?

found IPP (ICV version): 9.0.1 [9.0.1] at: H:/opencv-3.1.0/opencv/sources/3rdparty/ippicv/unpack/ippicv_win CUDA detected: 7.5 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 To enable PlantUML support, set PLANTUML_JAR environment variable or pass -DPLANTUML_JAR=<filepath> option to cmake Found PythonInterp: C:/Python27/python.exe (found suitable version "2.7.10", minimum required is "2.7") Traceback (most recent call last): File "<string>", line 1, in <module> ImportError: No module named numpy.distutils

Found PythonInterp: C:/Python34/python.exe (found suitable version "3.4.3", minimum required is "3.4") Could NOT find PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS) (Required is exact version "3.4.3") Traceback (most recent call last): File "<string>", line 1, in <module> ImportError: 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

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

Platform: Host: Windows 6.2 AMD64 CMake: 3.3.0-rc2 CMake generator: Visual Studio 14 2015 Win64 CMake build tool: C:/Program Files (x86)/MSBuild/14.0/bin/MSBuild.exe MSVC: 1900

C/C++: Built as dynamic libs?: YES C++ Compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe (ver 19.0.23506.0) C++ flags (Release): /DWIN32 /D_WINDOWS /W4 /GR /EHa /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /wd4251 /wd4324 /wd4275 /wd4589 /MP8 /MD /O2 /Ob2 /D NDEBUG /Zi C++ flags (Debug): /DWIN32 /D_WINDOWS /W4 /GR /EHa /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /wd4251 /wd4324 /wd4275 /wd4589 /MP8 /D_DEBUG /MDd /Zi /Ob0 /Od /RTC1 C Compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/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 /MP8 /MD /O2 /Ob2 /D NDEBUG /Zi 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 /MP8 /D_DEBUG /MDd /Zi /Ob0 /Od /RTC1 Linker flags (Release): /machine:x64 /INCREMENTAL:NO /debug Linker flags (Debug): /machine:x64 /debug /INCREMENTAL Precompiled headers: YES Extra dependencies: comctl32 gdi32 ole32 setupapi ws2_32 vfw32 C:/Program Files/Allied Vision Technologies/GigESDK/lib-pc/x64/PvAPI.lib cudart nppc nppi npps cufft -LC:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v7.5/lib/x64 3rdparty dependencies: zlib libjpeg libwebp libpng libtiff libjasper IlmImf

OpenCV modules: To be built: cudev core cudaarithm flann imgproc ml video cudabgsegm cudafilters cudaimgproc cudawarping imgcodecs photo shape videoio cudacodec highgui objdetect ts features2d calib3d cudafeatures2d cudalegacy cudaobjdetect cudaoptflow cudastereo stitching superres videostab Disabled: world Disabled by dependency: - Unavailable: java python2 python3 viz

Windows RT support: NO

GUI: QT: NO Win32 UI: YES OpenGL support: NO VTK support: NO

Media I/O: ZLib: build (ver 1.2.8) JPEG: build (ver 90) WEBP: build (ver 0.3.1) PNG: build (ver 1.6.19) TIFF: build (ver 42 - 4.0.2) JPEG 2000: build (ver 1.900.1) OpenEXR: build (ver 1.7.1) GDAL: NO

Video I/O: Video for Windows: YES DC1394 1.x: NO DC1394 2.x: NO FFMPEG: YES (prebuilt binaries) codec: YES (ver 56.41.100) format: YES (ver 56.36.101) util: YES (ver 54.27.100) swscale: YES (ver 3.1.101) resample: NO gentoo-style: YES GStreamer: NO OpenNI: NO OpenNI PrimeSensor Modules: NO OpenNI2: NO PvAPI: YES GigEVisionSDK: NO DirectShow: YES Media Foundation: NO XIMEA: NO Intel PerC: NO

Parallel framework: Concurrency

Other third-party libraries: Use IPP: 9.0.1 [9.0.1] at: H:/opencv-3.1.0/opencv/sources/3rdparty/ippicv/unpack/ippicv_win Use IPP Async: NO Use Eigen: NO Use Cuda: YES (ver 7.5) Use OpenCL: YES Use custom HAL: NO

NVIDIA CUDA Use CUFFT: YES Use CUBLAS: NO USE NVCUVID: NO NVIDIA GPU arch: 20 21 30 35 NVIDIA PTX archs: 30 Use fast math: NO

OpenCL: Version: dynamic Include path: H:/opencv-3.1.0/opencv/sources/3rdparty/include/opencl/1.2 C:/Ceemple/OpenCV4VS/include C:/Ceemple/OpenCV4VS/include Use AMDFFT: YES Use AMDBLAS: YES

Python 2: Interpreter: C:/Python27/python.exe (ver 2.7.10)

Python 3: Interpreter: C:/Python34/python.exe (ver 3.4.3)

Python (for build): C:/Python27/python.exe

Java: ant: NO JNI: C:/Program Files/Java/jdk1.8.0_66/include C:/Program Files/Java/jdk1.8.0_66/include/win32 C:/Program Files/Java/jdk1.8.0_66/include Java wrappers: NO Java tests: NO

Matlab: Matlab not found or implicitly disabled

Documentation: Doxygen: C:/Program Files/doxygen/bin/doxygen.exe (ver 1.8.11) PlantUML: NO

Tests and samples: Tests: YES Performance tests: YES C/C++ Examples: YES

Install path: H:/opencv-3.1.0/opencv/sources/2015x64/install

cvconfig.h is in: H:/opencv-3.1.0/opencv/sources/2015x64

Configuring done

click to hide/show revision 3
No.3 Revision

updated 2016-03-13 03:16:26 -0600

berak gravatar image

CV_IPP_RUN no define when build opencv3.1.0

Hi all, I use cmake to config my system before build opencv3.1.0 source core. But when i open source code in vs2015. I find that "identifier CV_IPP_RUN not define". How to setup or config the environment?

found IPP (ICV version): 9.0.1 [9.0.1]
at: H:/opencv-3.1.0/opencv/sources/3rdparty/ippicv/unpack/ippicv_win
CUDA detected: 7.5
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
To enable PlantUML support, set PLANTUML_JAR environment variable or pass -DPLANTUML_JAR=<filepath> option to cmake
Found PythonInterp: C:/Python27/python.exe (found suitable version "2.7.10", minimum required is "2.7")
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named numpy.distutils

numpy.distutils Found PythonInterp: C:/Python34/python.exe (found suitable version "3.4.3", minimum required is "3.4") Could NOT find PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS) (Required is exact version "3.4.3") Traceback (most recent call last): File "<string>", line 1, in <module> ImportError: No module named 'numpy'

'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

file General configuration for OpenCV 3.1.0 ===================================== Version control: unknown

unknown Platform: Host: Windows 6.2 AMD64 CMake: 3.3.0-rc2 CMake generator: Visual Studio 14 2015 Win64 CMake build tool: C:/Program Files (x86)/MSBuild/14.0/bin/MSBuild.exe MSVC: 1900

1900 C/C++: Built as dynamic libs?: YES C++ Compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe (ver 19.0.23506.0) C++ flags (Release): /DWIN32 /D_WINDOWS /W4 /GR /EHa /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /wd4251 /wd4324 /wd4275 /wd4589 /MP8 /MD /O2 /Ob2 /D NDEBUG /Zi C++ flags (Debug): /DWIN32 /D_WINDOWS /W4 /GR /EHa /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /wd4251 /wd4324 /wd4275 /wd4589 /MP8 /D_DEBUG /MDd /Zi /Ob0 /Od /RTC1 C Compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/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 /MP8 /MD /O2 /Ob2 /D NDEBUG /Zi 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 /MP8 /D_DEBUG /MDd /Zi /Ob0 /Od /RTC1 Linker flags (Release): /machine:x64 /INCREMENTAL:NO /debug Linker flags (Debug): /machine:x64 /debug /INCREMENTAL Precompiled headers: YES Extra dependencies: comctl32 gdi32 ole32 setupapi ws2_32 vfw32 C:/Program Files/Allied Vision Technologies/GigESDK/lib-pc/x64/PvAPI.lib cudart nppc nppi npps cufft -LC:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v7.5/lib/x64 3rdparty dependencies: zlib libjpeg libwebp libpng libtiff libjasper IlmImf

IlmImf OpenCV modules: To be built: cudev core cudaarithm flann imgproc ml video cudabgsegm cudafilters cudaimgproc cudawarping imgcodecs photo shape videoio cudacodec highgui objdetect ts features2d calib3d cudafeatures2d cudalegacy cudaobjdetect cudaoptflow cudastereo stitching superres videostab Disabled: world Disabled by dependency: - Unavailable: java python2 python3 viz

viz Windows RT support: NO

NO GUI: QT: NO Win32 UI: YES OpenGL support: NO VTK support: NO

NO Media I/O: ZLib: build (ver 1.2.8) JPEG: build (ver 90) WEBP: build (ver 0.3.1) PNG: build (ver 1.6.19) TIFF: build (ver 42 - 4.0.2) JPEG 2000: build (ver 1.900.1) OpenEXR: build (ver 1.7.1) GDAL: NO

NO Video I/O: Video for Windows: YES DC1394 1.x: NO DC1394 2.x: NO FFMPEG: YES (prebuilt binaries) codec: YES (ver 56.41.100) format: YES (ver 56.36.101) util: YES (ver 54.27.100) swscale: YES (ver 3.1.101) resample: NO gentoo-style: YES GStreamer: NO OpenNI: NO OpenNI PrimeSensor Modules: NO OpenNI2: NO PvAPI: YES GigEVisionSDK: NO DirectShow: YES Media Foundation: NO XIMEA: NO Intel PerC: NO

NO Parallel framework: Concurrency

Concurrency Other third-party libraries: Use IPP: 9.0.1 [9.0.1] at: H:/opencv-3.1.0/opencv/sources/3rdparty/ippicv/unpack/ippicv_win Use IPP Async: NO Use Eigen: NO Use Cuda: YES (ver 7.5) Use OpenCL: YES Use custom HAL: NO

NO NVIDIA CUDA Use CUFFT: YES Use CUBLAS: NO USE NVCUVID: NO NVIDIA GPU arch: 20 21 30 35 NVIDIA PTX archs: 30 Use fast math: NO

NO OpenCL: Version: dynamic Include path: H:/opencv-3.1.0/opencv/sources/3rdparty/include/opencl/1.2 C:/Ceemple/OpenCV4VS/include C:/Ceemple/OpenCV4VS/include Use AMDFFT: YES Use AMDBLAS: YES

YES Python 2: Interpreter: C:/Python27/python.exe (ver 2.7.10)

2.7.10) Python 3: Interpreter: C:/Python34/python.exe (ver 3.4.3)

3.4.3) Python (for build): C:/Python27/python.exe

C:/Python27/python.exe Java: ant: NO JNI: C:/Program Files/Java/jdk1.8.0_66/include C:/Program Files/Java/jdk1.8.0_66/include/win32 C:/Program Files/Java/jdk1.8.0_66/include Java wrappers: NO Java tests: NO

NO Matlab: Matlab not found or implicitly disabled

disabled Documentation: Doxygen: C:/Program Files/doxygen/bin/doxygen.exe (ver 1.8.11) PlantUML: NO

NO Tests and samples: Tests: YES Performance tests: YES C/C++ Examples: YES

YES Install path: H:/opencv-3.1.0/opencv/sources/2015x64/install

H:/opencv-3.1.0/opencv/sources/2015x64/install cvconfig.h is in: H:/opencv-3.1.0/opencv/sources/2015x64

H:/opencv-3.1.0/opencv/sources/2015x64 ----------------------------------------------------------------- Configuring done

done