Ask Your Question

CMake errors while building OpenCV 2.4.5 with CUDA 5.5

asked 2013-11-07 04:16:34 -0600

Tariq gravatar image

updated 2013-11-07 04:30:14 -0600

berak gravatar image

Dear all,

I am trying to build Opencv 2.4.5 with CUDA 5.5 in Windows 8 (64 bit) with VS Studio Express 2012 I get the following log in CMake process. I need some help and get it working.....

CUDA detected: 5.5 CUDA NVCC target flags: -gencode;arch=compute_11,code=sm_11;-gencode;arch=compute_12,code=sm_12;-gencode;arch=compute_13,code=sm_13;-gencode;arch=compute_20,code=sm_20;-gencode;arch=compute_20,code=sm_21;-gencode;arch=compute_30,code=sm_30;-gencode;arch=compute_20,code=compute_20;-gencode;arch=compute_30,code=compute_30 Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE) (Required is at least version "2.0") Could NOT find JNI (missing: JAVA_AWT_LIBRARY JAVA_JVM_LIBRARY JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 JAVA_AWT_INCLUDE_PATH)

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

Platform: Host: Windows 6.2 AMD64 CMake: 2.8.12 CMake generator: Visual Studio 11 Win64 CMake build tool: C:/Windows/Microsoft.NET/Framework/v4.0.30319/MSBuild.exe MSVC: 1700

C/C++: Built as dynamic libs?: YES C++ Compiler: C:/Program Files (x86)/Microsoft Visual Studio 11.0/VC/bin/x86_amd64/cl.exe (ver 17.0.50727.1) 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 /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 /D_DEBUG /MDd /Zi /Ob0 /Od /RTC1 C Compiler: C:/Program Files (x86)/Microsoft Visual Studio 11.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 /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 /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

OpenCV modules: To be built: core imgproc flann highgui features2d calib3d ml video objdetect contrib gpulegacy gpuarithm gpuwarping gpu legacy gpufilters gpuimgproc gpubgsegm gpucodec gpufeatures2d gpuoptflow gpustereo ocl nonfree photo softcascade stitching superres ts videostab Disabled: world Disabled by dependency: - Unavailable: androidcamera java python

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

Media I/O: ZLib: build (ver 1.2.7) JPEG: build (ver 90) WEBP: build (ver 0.3.0) PNG: build (ver 1.5.12) TIFF: build (ver 42 - 4.0.2) JPEG 2000: build (ver 1.900.1) OpenEXR: build (ver 1.7.1)

Video I/O: Video for Windows: YES FFMPEG: YES (prebuilt binaries) codec: YES (ver 53.61.100) format: YES (ver 53.32.100) util: YES (ver 51.35.100) swscale: YES (ver 2.1.100) gentoo-style: YES OpenNI: NO OpenNI PrimeSensor Modules: NO PvAPI: NO GigEVisionSDK: NO DirectShow: YES Media Foundation: NO XIMEA: NO

Other third-party libraries: Use IPP: NO Use Eigen: NO Use TBB: NO Use OpenMP: NO Use GCD NO Use Concurrency YES Use C=: NO Use Cuda: YES (ver 5.5) Use OpenCL: YES


edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-11-07 08:55:52 -0600

Vladislav Vinogradov gravatar image

It is just CMake warnings and solution generation was successful.

This warnings happens only with latest CMake 2.8.12 and it was fixed in OpenCV 2.4.7.

You can:

  • ignore this warning and continue to use CMake 2.8.12 + OpenCV 2.4.5
  • upgrade to OpenCV 2.4.7
  • or downgrade to CMake 2.8.11.
edit flag offensive delete link more

Question Tools


Asked: 2013-11-07 04:16:34 -0600

Seen: 1,560 times

Last updated: Nov 07 '13