Advertisement
Guest User

Untitled

a guest
Aug 22nd, 2017
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.41 KB | None | 0 0
  1. cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D WITH_TBB=ON -D BUILD_NEW_PYTHON_SUPPORT=ON -D WITH_V4L=ON -D INSTALL_C_EXAMPLES=ON -D INSTALL_PYTHON_EXAMPLES=ON -D BUILD_EXAMPLES=ON -D WITH_QT=ON -D WITH_OPENGL=ON -D ENABLE_FAST_MATH=1 -D CUDA_FAST_MATH=1 -D WITH_CUBLAS=1 ..
  2.  
  3. CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
  4. Please set them or make sure they are set and tested correctly in the CMake files:
  5. CUDA_nvcuvid_LIBRARY (ADVANCED)
  6. linked by target "opencv_cudacodec" in directory /home/luss/git/opencv/modules/cudacodec
  7.  
  8. -- Detected version of GNU GCC: 48 (408)
  9. -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found suitable version "1.2.8", minimum required is "1.2.3")
  10. -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.8")
  11. -- Found OpenEXR: /usr/lib/x86_64-linux-gnu/libIlmImf.so
  12. -- checking for module 'gstreamer-base-1.0'
  13. -- package 'gstreamer-base-1.0' not found
  14. -- checking for module 'gstreamer-video-1.0'
  15. -- package 'gstreamer-video-1.0' not found
  16. -- checking for module 'gstreamer-app-1.0'
  17. -- package 'gstreamer-app-1.0' not found
  18. -- checking for module 'gstreamer-riff-1.0'
  19. -- package 'gstreamer-riff-1.0' not found
  20. -- checking for module 'gstreamer-pbutils-1.0'
  21. -- package 'gstreamer-pbutils-1.0' not found
  22. -- Looking for linux/videodev.h
  23. -- Looking for linux/videodev.h - not found
  24. -- Looking for linux/videodev2.h
  25. -- Looking for linux/videodev2.h - found
  26. -- Looking for sys/videoio.h
  27. -- Looking for sys/videoio.h - not found
  28. -- checking for module 'libavresample'
  29. -- package 'libavresample' not found
  30. -- Looking for libavformat/avformat.h
  31. -- Looking for libavformat/avformat.h - found
  32. -- Looking for ffmpeg/avformat.h
  33. -- Looking for ffmpeg/avformat.h - not found
  34. -- checking for module 'libgphoto2'
  35. -- package 'libgphoto2' not found
  36. -- found IPP (ICV version): 8.2.1 [8.2.1]
  37. -- at: /home/luss/git/opencv/3rdparty/ippicv/unpack/ippicv_lnx
  38. -- CUDA detected: 7.0
  39. -- 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
  40. -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
  41. -- To enable PlantUML support, set PLANTUML_JAR environment variable or pass -DPLANTUML_JAR=<filepath> option to cmake
  42. -- Found PythonInterp: /usr/bin/python2.7 (found suitable version "2.7.6", minimum required is "2.7")
  43. -- Could NOT find PythonLibs (missing: PYTHON_INCLUDE_DIRS) (found suitable exact version "2.7.6")
  44. -- Found PythonInterp: /usr/bin/python3.4 (found suitable version "3.4.3", minimum required is "3.4")
  45. -- Could NOT find PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS) (Required is exact version "3.4.3")
  46. Traceback (most recent call last):
  47. File "<string>", line 1, in <module>
  48. ImportError: No module named 'numpy'
  49. -- 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)
  50. -- VTK is not found. Please set -DVTK_DIR in CMake to VTK build directory, or to VTK install subdirectory with VTKConfig.cmake file
  51. --
  52. -- General configuration for OpenCV 3.0.0-dev =====================================
  53. -- Version control: 3.0.0-271-g09b9b0f
  54. --
  55. -- Platform:
  56. -- Host: Linux 3.13.0-61-generic x86_64
  57. -- CMake: 2.8.12.2
  58. -- CMake generator: Unix Makefiles
  59. -- CMake build tool: /usr/bin/make
  60. -- Configuration: RELEASE
  61. --
  62. -- C/C++:
  63. -- Built as dynamic libs?: YES
  64. -- C++ Compiler: /usr/bin/c++ (ver 4.8.4)
  65. -- C++ flags (Release): -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffast-math -msse -msse2 -mno-avx -msse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -ffunction-sections -fvisibility=hidden -fvisibility-inlines-hidden -O3 -DNDEBUG -DNDEBUG
  66. -- C++ flags (Debug): -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffast-math -msse -msse2 -mno-avx -msse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -ffunction-sections -fvisibility=hidden -fvisibility-inlines-hidden -g -O0 -DDEBUG -D_DEBUG
  67. -- C Compiler: /usr/bin/cc
  68. -- C flags (Release): -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wno-narrowing -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffast-math -msse -msse2 -mno-avx -msse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -ffunction-sections -fvisibility=hidden -O3 -DNDEBUG -DNDEBUG
  69. -- C flags (Debug): -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wno-narrowing -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffast-math -msse -msse2 -mno-avx -msse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -ffunction-sections -fvisibility=hidden -g -O0 -DDEBUG -D_DEBUG
  70. -- Linker flags (Release):
  71. -- Linker flags (Debug):
  72. -- Precompiled headers: YES
  73. -- Extra dependencies: /usr/lib/x86_64-linux-gnu/libcuda.so CUDA_nvcuvid_LIBRARY-NOTFOUND Qt5::Core Qt5::Gui Qt5::Widgets Qt5::Test Qt5::Concurrent Qt5::OpenGL /usr/lib/x86_64-linux-gnu/libpng.so /usr/lib/x86_64-linux-gnu/libz.so /usr/lib/x86_64-linux-gnu/libtiff.so /usr/lib/x86_64-linux-gnu/libjasper.so /usr/lib/x86_64-linux-gnu/libjpeg.so /usr/lib/x86_64-linux-gnu/libImath.so /usr/lib/x86_64-linux-gnu/libIlmImf.so /usr/lib/x86_64-linux-gnu/libIex.so /usr/lib/x86_64-linux-gnu/libHalf.so /usr/lib/x86_64-linux-gnu/libIlmThread.so gstvideo-0.10 gstapp-0.10 gstbase-0.10 gstriff-0.10 gstpbutils-0.10 gstreamer-0.10 gobject-2.0 gmodule-2.0 gthread-2.0 xml2 glib-2.0 dc1394 v4l1 v4l2 avcodec avformat avutil swscale dl m pthread rt /usr/lib/x86_64-linux-gnu/libGLU.so /usr/lib/x86_64-linux-gnu/libGL.so /usr/lib/x86_64-linux-gnu/libSM.so /usr/lib/x86_64-linux-gnu/libICE.so /usr/lib/x86_64-linux-gnu/libX11.so /usr/lib/x86_64-linux-gnu/libXext.so tbb cudart nppc nppi npps cublas cufft
  74. -- 3rdparty dependencies: libwebp ippicv
  75. --
  76. -- OpenCV modules:
  77. -- To be built: cudev hal 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
  78. -- Disabled: world
  79. -- Disabled by dependency: -
  80. -- Unavailable: java python2 python3 viz
  81. --
  82. -- GUI:
  83. -- QT 5.x: YES (ver 5.2.1)
  84. -- QT OpenGL support: YES (Qt5::OpenGL 5.2.1)
  85. -- OpenGL support: YES (/usr/lib/x86_64-linux-gnu/libGLU.so /usr/lib/x86_64-linux-gnu/libGL.so /usr/lib/x86_64-linux-gnu/libSM.so /usr/lib/x86_64-linux-gnu/libICE.so /usr/lib/x86_64-linux-gnu/libX11.so /usr/lib/x86_64-linux-gnu/libXext.so)
  86. -- VTK support: NO
  87. --
  88. -- Media I/O:
  89. -- ZLib: /usr/lib/x86_64-linux-gnu/libz.so (ver 1.2.8)
  90. -- JPEG: /usr/lib/x86_64-linux-gnu/libjpeg.so (ver )
  91. -- WEBP: build (ver 0.3.1)
  92. -- PNG: /usr/lib/x86_64-linux-gnu/libpng.so (ver 1.2.50)
  93. -- TIFF: /usr/lib/x86_64-linux-gnu/libtiff.so (ver 42 - 4.0.3)
  94. -- JPEG 2000: /usr/lib/x86_64-linux-gnu/libjasper.so (ver 1.900.1)
  95. -- OpenEXR: /usr/lib/x86_64-linux-gnu/libImath.so /usr/lib/x86_64-linux-gnu/libIlmImf.so /usr/lib/x86_64-linux-gnu/libIex.so /usr/lib/x86_64-linux-gnu/libHalf.so /usr/lib/x86_64-linux-gnu/libIlmThread.so (ver 1.6.1)
  96. -- GDAL: NO
  97. --
  98. -- Video I/O:
  99. -- DC1394 1.x: NO
  100. -- DC1394 2.x: YES (ver 2.2.1)
  101. -- FFMPEG: YES
  102. -- codec: YES (ver 54.35.0)
  103. -- format: YES (ver 54.20.4)
  104. -- util: YES (ver 52.3.0)
  105. -- swscale: YES (ver 2.1.1)
  106. -- resample: NO
  107. -- gentoo-style: YES
  108. -- GStreamer:
  109. -- base: YES (ver 0.10.36)
  110. -- video: YES (ver 0.10.36)
  111. -- app: YES (ver 0.10.36)
  112. -- riff: YES (ver 0.10.36)
  113. -- pbutils: YES (ver 0.10.36)
  114. -- OpenNI: NO
  115. -- OpenNI PrimeSensor Modules: NO
  116. -- OpenNI2: NO
  117. -- PvAPI: NO
  118. -- GigEVisionSDK: NO
  119. -- UniCap: NO
  120. -- UniCap ucil: NO
  121. -- V4L/V4L2: Using libv4l1 (ver 1.0.1) / libv4l2 (ver 1.0.1)
  122. -- XIMEA: NO
  123. -- Xine: NO
  124. -- gPhoto2: NO
  125. --
  126. -- Parallel framework: TBB (ver 4.2 interface 7000)
  127. --
  128. -- Other third-party libraries:
  129. -- Use IPP: 8.2.1 [8.2.1]
  130. -- at: /home/luss/git/opencv/3rdparty/ippicv/unpack/ippicv_lnx
  131. -- Use IPP Async: NO
  132. -- Use Eigen: NO
  133. -- Use Cuda: YES (ver 7.0)
  134. -- Use OpenCL: YES
  135. --
  136. -- NVIDIA CUDA
  137. -- Use CUFFT: YES
  138. -- Use CUBLAS: YES
  139. -- USE NVCUVID: YES
  140. -- NVIDIA GPU arch: 20 21 30 35
  141. -- NVIDIA PTX archs: 30
  142. -- Use fast math: YES
  143. --
  144. -- OpenCL:
  145. -- Version: dynamic
  146. -- Include path: /home/luss/git/opencv/3rdparty/include/opencl/1.2
  147. -- Use AMDFFT: NO
  148. -- Use AMDBLAS: NO
  149. --
  150. -- Python 2:
  151. -- Interpreter: /usr/bin/python2.7 (ver 2.7.6)
  152. -- Libraries: NO
  153. -- numpy: /usr/lib/python2.7/dist-packages/numpy/core/include (ver 1.8.2)
  154. -- packages path: lib/python2.7/dist-packages
  155. --
  156. -- Python 3:
  157. -- Interpreter: /usr/bin/python3.4 (ver 3.4.3)
  158. --
  159. -- Python (for build): /usr/bin/python2.7
  160. --
  161. -- Java:
  162. -- ant: NO
  163. -- JNI: /usr/lib/jvm/default-java/include /usr/lib/jvm/default-java/include /usr/lib/jvm/default-java/include
  164. -- Java wrappers: NO
  165. -- Java tests: NO
  166. --
  167. -- Matlab:
  168. -- mex: NO
  169. --
  170. -- Documentation:
  171. -- Doxygen: NO
  172. -- PlantUML: NO
  173. --
  174. -- Tests and samples:
  175. -- Tests: YES
  176. -- Performance tests: YES
  177. -- C/C++ Examples: YES
  178. --
  179. -- Install path: /usr/local
  180. --
  181. -- cvconfig.h is in: /home/luss/git/opencv/release
  182. -- -----------------------------------------------------------------
  183. --
  184. CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
  185. Please set them or make sure they are set and tested correctly in the CMake files:
  186. CUDA_nvcuvid_LIBRARY (ADVANCED)
  187. linked by target "opencv_cudacodec" in directory /home/luss/git/opencv/modules/cudacodec
  188.  
  189. -- Configuring incomplete, errors occurred!
  190. See also "/home/luss/git/opencv/release/CMakeFiles/CMakeOutput.log".
  191. See also "/home/luss/git/opencv/release/CMakeFiles/CMakeError.log".
  192.  
  193. sudo ln -s /usr/lib/nvidia-346/libnvcuvid.so /usr/lib/libnvcuvid.so
  194. sudo ln -s /usr/lib/nvidia-346/libnvcuvid.so.1 /usr/lib/libnvcuvid.so.1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement