Advertisement
Guest User

Untitled

a guest
Jul 5th, 2017
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.56 KB | None | 0 0
  1. $cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D INSTALL_PYTHON_EXAMPLES=ON -D INSTALL_C_EXAMPLES=OFF -D OPENCV_EXTRA_MODULES_PATH=~/opencv_contrib-3.1.0/modules -D PYTHON_EXECUTABLE=~/.virtualenvs/cv/bin/python -D BUILD_EXAMPLES=ON ..
  2. $make -j $(nproc)
  3.  
  4. $ make -j $(nproc)
  5. [ 0%] Automatic moc for target opencv_test_highgui
  6. [ 0%] Automatic moc for target opencv_test_cvv
  7. [ 0%] Automatic moc for target opencv_cvv
  8. [ 0%] Automatic moc for target example_cvv_cvv_demo
  9. [ 0%] Automatic moc for target opencv_highgui
  10. [ 1%] Built target opencv_cudev
  11. [ 1%] Built target numeric
  12. [ 2%] Built target libjasper
  13. [ 2%] Building NVCC (Device) object modules/core/CMakeFiles/cuda_compile.dir/src/cuda/cuda_compile_generated_gpu_mat.cu.o
  14. [ 2%] Built target opencv_test_cvv_automoc
  15. [ 2%] Built target opencv_test_highgui_automoc
  16. [ 2%] Built target example_cvv_cvv_demo_automoc
  17. [ 2%] Built target opencv_cvv_automoc
  18. [ 2%] Built target opencv_highgui_automoc
  19. nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
  20. In file included from /usr/include/cuda_runtime.h:78:0,
  21. from <command-line>:0:
  22. /usr/include/host_config.h:119:2: error: #error -- unsupported GNU version! gcc versions later than 5 are not supported!
  23. #error -- unsupported GNU version! gcc versions later than 5 are not supported!
  24. ^~~~~
  25. [ 3%] Built target multiview
  26. [ 3%] Built target correspondence
  27.  
  28. CMake Error at cuda_compile_generated_gpu_mat.cu.o.cmake:208 (message):
  29. Error generating
  30. /home/thijser/opencv-3.1.0/build/modules/core/CMakeFiles/cuda_compile.dir/src/cuda/./cuda_compile_generated_gpu_mat.cu.o
  31.  
  32.  
  33. modules/core/CMakeFiles/opencv_core.dir/build.make:63: recipe for target 'modules/core/CMakeFiles/cuda_compile.dir/src/cuda/cuda_compile_generated_gpu_mat.cu.o' failed
  34. make[2]: *** [modules/core/CMakeFiles/cuda_compile.dir/src/cuda/cuda_compile_generated_gpu_mat.cu.o] Error 1
  35. CMakeFiles/Makefile2:2122: recipe for target 'modules/core/CMakeFiles/opencv_core.dir/all' failed
  36. make[1]: *** [modules/core/CMakeFiles/opencv_core.dir/all] Error 2
  37. Makefile:160: recipe for target 'all' failed
  38. make: *** [all] Error 2
  39.  
  40. $ sudo update-alternatives --config gcc
  41. There are 3 choices for the alternative gcc (providing /usr/bin/gcc).
  42.  
  43. Selection Path Priority Status
  44. ------------------------------------------------------------
  45. 0 /usr/bin/gcc-6 60 auto mode
  46. * 1 /usr/bin/gcc-4.9 20 manual mode
  47. 2 /usr/bin/gcc-5 25 manual mode
  48. 3 /usr/bin/gcc-6 60 manual mode
  49.  
  50. $ cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D INSTALL_PYTHON_EXAMPLES=ON -D INSTALL_C_EXAMPLES=OFF -D OPENCV_EXTRA_MODULES_PATH=~/opencv_contrib-3.1.0/modules -D PYTHON_EXECUTABLE=~/.virtualenvs/cv/bin/python -D BUILD_EXAMPLES=ON ..
  51. -- Detected version of GNU GCC: 49 (409)
  52. -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found suitable version "1.2.11", minimum required is "1.2.3")
  53. -- Could NOT find Jasper (missing: JASPER_LIBRARIES JASPER_INCLUDE_DIR)
  54. -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11")
  55. -- Found OpenEXR: /usr/lib/x86_64-linux-gnu/libIlmImf.so
  56. -- Checking for module 'gstreamer-base-1.0'
  57. -- No package 'gstreamer-base-1.0' found
  58. -- Checking for module 'gstreamer-video-1.0'
  59. -- No package 'gstreamer-video-1.0' found
  60. -- Checking for module 'gstreamer-app-1.0'
  61. -- No package 'gstreamer-app-1.0' found
  62. -- Checking for module 'gstreamer-riff-1.0'
  63. -- No package 'gstreamer-riff-1.0' found
  64. -- Checking for module 'gstreamer-pbutils-1.0'
  65. -- No package 'gstreamer-pbutils-1.0' found
  66. -- Checking for module 'gstreamer-base-0.10'
  67. -- No package 'gstreamer-base-0.10' found
  68. -- Checking for module 'gstreamer-video-0.10'
  69. -- No package 'gstreamer-video-0.10' found
  70. -- Checking for module 'gstreamer-app-0.10'
  71. -- No package 'gstreamer-app-0.10' found
  72. -- Checking for module 'gstreamer-riff-0.10'
  73. -- No package 'gstreamer-riff-0.10' found
  74. -- Checking for module 'gstreamer-pbutils-0.10'
  75. -- No package 'gstreamer-pbutils-0.10' found
  76. -- Looking for linux/videodev.h
  77. -- Looking for linux/videodev.h - not found
  78. -- Looking for linux/videodev2.h
  79. -- Looking for linux/videodev2.h - found
  80. -- Looking for sys/videoio.h
  81. -- Looking for sys/videoio.h - not found
  82. -- Checking for module 'libavresample'
  83. -- No package 'libavresample' found
  84. -- Looking for libavformat/avformat.h
  85. -- Looking for libavformat/avformat.h - found
  86. -- Looking for ffmpeg/avformat.h
  87. -- Looking for ffmpeg/avformat.h - not found
  88. -- Checking for module 'libgphoto2'
  89. -- No package 'libgphoto2' found
  90. -- found IPP (ICV version): 9.0.1 [9.0.1]
  91. -- at: /home/thijser/opencv-3.1.0/3rdparty/ippicv/unpack/ippicv_lnx
  92. -- CUDA detected: 8.0
  93. -- 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
  94. -- To enable PlantUML support, set PLANTUML_JAR environment variable or pass -DPLANTUML_JAR=<filepath> option to cmake
  95. -- Found PythonInterp: /home/thijser/.virtualenvs/cv/bin/python (found suitable version "3.5.3", minimum required is "2.7")
  96. Traceback (most recent call last):
  97. File "<string>", line 1, in <module>
  98. ImportError: No module named 'numpy'
  99. -- Found PythonInterp: /home/thijser/.virtualenvs/cv/bin/python3 (found suitable version "3.5.3", minimum required is "3.4")
  100. Traceback (most recent call last):
  101. File "<string>", line 1, in <module>
  102. ImportError: No module named 'numpy'
  103. -- Found apache ant 1.9.8: /usr/bin/ant
  104. -- 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)
  105. -- The imported target "vtkRenderingPythonTkWidgets" references the file
  106. "/usr/lib/x86_64-linux-gnu/libvtkRenderingPythonTkWidgets.so"
  107. but this file does not exist. Possible reasons include:
  108. * The file was deleted, renamed, or moved to another location.
  109. * An install or uninstall procedure did not complete successfully.
  110. * The installation package was faulty and contained
  111. "/usr/lib/cmake/vtk-6.3/VTKTargets.cmake"
  112. but not all the files it references.
  113.  
  114. -- The imported target "vtk" references the file
  115. "/usr/bin/vtk"
  116. but this file does not exist. Possible reasons include:
  117. * The file was deleted, renamed, or moved to another location.
  118. * An install or uninstall procedure did not complete successfully.
  119. * The installation package was faulty and contained
  120. "/usr/lib/cmake/vtk-6.3/VTKTargets.cmake"
  121. but not all the files it references.
  122.  
  123. -- Found VTK ver. 6.3.0 (usefile: /usr/lib/cmake/vtk-6.3/UseVTK.cmake)
  124. -- Caffe: NO
  125. -- Protobuf: YES
  126. -- Glog: YES
  127. -- HDF5: Using hdf5 compiler wrapper to determine C configuration
  128. -- HDF5: YES
  129. -- CERES support is disabled. Ceres Solver for reconstruction API is required.
  130. -- Tesseract: NO
  131. -- HDF5: Using hdf5 compiler wrapper to determine C configuration
  132. -- HDF5: YES
  133. -- The protocol buffer compiler and libprotobuf were found
  134. -- Tesseract: NO
  135. -- CERES support is disabled. Ceres Solver for reconstruction API is required.
  136. --
  137. -- General configuration for OpenCV 3.1.0 =====================================
  138. -- Version control: unknown
  139. --
  140. -- Platform:
  141. -- Host: Linux 4.10.0-26-generic x86_64
  142. -- CMake: 3.7.2
  143. -- CMake generator: Unix Makefiles
  144. -- CMake build tool: /usr/bin/make
  145. -- Configuration: RELEASE
  146. --
  147. -- C/C++:
  148. -- Built as dynamic libs?: YES
  149. -- C++ Compiler: /usr/bin/c++ (ver 6.3.0)
  150. -- 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 -msse -msse2 -mno-avx -msse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -ffunction-sections -fvisibility=hidden -fvisibility-inlines-hidden -O3 -DNDEBUG -DNDEBUG
  151. -- 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 -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
  152. -- C Compiler: /usr/bin/cc
  153. -- 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 -msse -msse2 -mno-avx -msse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -ffunction-sections -fvisibility=hidden -O3 -DNDEBUG -DNDEBUG
  154. -- 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 -msse -msse2 -mno-avx -msse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -ffunction-sections -fvisibility=hidden -g -O0 -DDEBUG -D_DEBUG
  155. -- Linker flags (Release):
  156. -- Linker flags (Debug):
  157. -- Precompiled headers: NO
  158. -- Extra dependencies: Qt5::Test Qt5::Concurrent Qt5::OpenGL /usr/lib/x86_64-linux-gnu/libwebp.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 dc1394 xine v4l1 v4l2 avcodec avformat avutil swscale /usr/lib/x86_64-linux-gnu/libbz2.so Qt5::Core Qt5::Gui Qt5::Widgets /usr/lib/x86_64-linux-gnu/libprotobuf.so /usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5.so /usr/lib/x86_64-linux-gnu/libpthread.so /usr/lib/x86_64-linux-gnu/libsz.so /usr/lib/x86_64-linux-gnu/libdl.so /usr/lib/x86_64-linux-gnu/libm.so correspondence multiview numeric glog gflags vtkRenderingOpenGL vtkImagingHybrid vtkIOImage vtkCommonDataModel vtkCommonMath vtkCommonCore vtksys vtkCommonMisc vtkCommonSystem vtkCommonTransforms vtkCommonExecutionModel vtkDICOMParser vtkIOCore /usr/lib/x86_64-linux-gnu/libz.so vtkmetaio /usr/lib/x86_64-linux-gnu/libjpeg.so /usr/lib/x86_64-linux-gnu/libpng.so /usr/lib/x86_64-linux-gnu/libtiff.so vtkImagingCore vtkRenderingCore vtkCommonColor vtkFiltersExtraction vtkFiltersCore vtkFiltersGeneral vtkCommonComputationalGeometry vtkFiltersStatistics vtkImagingFourier vtkalglib vtkFiltersGeometry vtkFiltersSources vtkInteractionStyle vtkRenderingLOD vtkFiltersModeling vtkIOPLY vtkIOGeometry vtkFiltersTexture vtkRenderingFreeType /usr/lib/x86_64-linux-gnu/libfreetype.so vtkftgl vtkIOExport vtkRenderingAnnotation vtkImagingColor vtkRenderingContext2D vtkRenderingGL2PS vtkRenderingContextOpenGL /usr/lib/x86_64-linux-gnu/libgl2ps.so vtkRenderingLabel dl m pthread rt /usr/lib/x86_64-linux-gnu/libGLU.so /usr/lib/x86_64-linux-gnu/libGL.so tbb atomic cudart nppc nppi npps cufft -L/usr/lib/x86_64-linux-gnu
  159. -- 3rdparty dependencies: libjasper
  160. --
  161. -- OpenCV modules:
  162. -- To be built: cudev core cudaarithm flann hdf imgproc ml reg surface_matching video viz cudabgsegm cudafilters cudaimgproc cudawarping dnn fuzzy imgcodecs photo shape videoio cudacodec highgui objdetect plot ts xobjdetect xphoto bgsegm bioinspired dpm face features2d line_descriptor saliency text calib3d ccalib cudafeatures2d cudalegacy cudaobjdetect cudaoptflow cudastereo cvv datasets java rgbd stereo structured_light superres tracking videostab xfeatures2d ximgproc aruco optflow sfm stitching
  163. -- Disabled: world contrib_world
  164. -- Disabled by dependency: -
  165. -- Unavailable: python2 python3 matlab
  166. --
  167. -- GUI:
  168. -- QT 5.x: YES (ver 5.7.1)
  169. -- QT OpenGL support: YES (Qt5::OpenGL 5.7.1)
  170. -- OpenGL support: YES (/usr/lib/x86_64-linux-gnu/libGLU.so /usr/lib/x86_64-linux-gnu/libGL.so)
  171. -- VTK support: YES (ver 6.3.0)
  172. --
  173. -- Media I/O:
  174. -- ZLib: /usr/lib/x86_64-linux-gnu/libz.so (ver 1.2.11)
  175. -- JPEG: /usr/lib/x86_64-linux-gnu/libjpeg.so (ver )
  176. -- WEBP: /usr/lib/x86_64-linux-gnu/libwebp.so (ver encoder: 0x0209)
  177. -- PNG: /usr/lib/x86_64-linux-gnu/libpng.so (ver 1.6.28)
  178. -- TIFF: /usr/lib/x86_64-linux-gnu/libtiff.so (ver 42 - 4.0.7)
  179. -- JPEG 2000: build (ver 1.900.1)
  180. -- 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 2.2.0)
  181. -- GDAL: NO
  182. --
  183. -- Video I/O:
  184. -- DC1394 1.x: NO
  185. -- DC1394 2.x: YES (ver 2.2.5)
  186. -- FFMPEG: YES
  187. -- codec: YES (ver 57.64.101)
  188. -- format: YES (ver 57.56.101)
  189. -- util: YES (ver 55.34.101)
  190. -- swscale: YES (ver 4.2.100)
  191. -- resample: NO
  192. -- gentoo-style: YES
  193. -- GStreamer: NO
  194. -- OpenNI: NO
  195. -- OpenNI PrimeSensor Modules: NO
  196. -- OpenNI2: NO
  197. -- PvAPI: NO
  198. -- GigEVisionSDK: NO
  199. -- UniCap: NO
  200. -- UniCap ucil: NO
  201. -- V4L/V4L2: Using libv4l1 (ver 1.12.3) / libv4l2 (ver 1.12.3)
  202. -- XIMEA: NO
  203. -- Xine: YES (ver 1.2.6)
  204. -- gPhoto2: NO
  205. --
  206. -- Parallel framework: TBB (ver 4.4 interface 9005)
  207. --
  208. -- Other third-party libraries:
  209. -- Use IPP: 9.0.1 [9.0.1]
  210. -- at: /home/thijser/opencv-3.1.0/3rdparty/ippicv/unpack/ippicv_lnx
  211. -- Use IPP Async: NO
  212. -- Use VA: NO
  213. -- Use Intel VA-API/OpenCL: NO
  214. -- Use Eigen: YES (ver 3.3.2)
  215. -- Use Cuda: YES (ver 8.0)
  216. -- Use OpenCL: YES
  217. -- Use custom HAL: NO
  218. --
  219. -- NVIDIA CUDA
  220. -- Use CUFFT: YES
  221. -- Use CUBLAS: NO
  222. -- USE NVCUVID: NO
  223. -- NVIDIA GPU arch: 20 21 30 35
  224. -- NVIDIA PTX archs: 30
  225. -- Use fast math: NO
  226. --
  227. -- OpenCL:
  228. -- Version: dynamic
  229. -- Include path: /home/thijser/opencv-3.1.0/3rdparty/include/opencl/1.2
  230. -- Use AMDFFT: NO
  231. -- Use AMDBLAS: NO
  232. --
  233. -- Python 2:
  234. -- Interpreter: /home/thijser/.virtualenvs/cv/bin/python (ver 3.5.3)
  235. --
  236. -- Python 3:
  237. -- Interpreter: /home/thijser/.virtualenvs/cv/bin/python3 (ver 3.5.3)
  238. --
  239. -- Python (for build): /home/thijser/.virtualenvs/cv/bin/python
  240. --
  241. -- Java:
  242. -- ant: /usr/bin/ant (ver 1.9.8)
  243. -- JNI: /usr/lib/jvm/java-8-openjdk-amd64/include /usr/lib/jvm/java-8-openjdk-amd64/include/linux /usr/lib/jvm/java-8-openjdk-amd64/include
  244. -- Java wrappers: YES
  245. -- Java tests: YES
  246. --
  247. -- Matlab: Matlab not found or implicitly disabled
  248. --
  249. -- Documentation:
  250. -- Doxygen: /usr/bin/doxygen (ver 1.8.13)
  251. -- PlantUML: NO
  252. --
  253. -- Tests and samples:
  254. -- Tests: YES
  255. -- Performance tests: YES
  256. -- C/C++ Examples: YES
  257. --
  258. -- Install path: /usr/local
  259. --
  260. -- cvconfig.h is in: /home/thijser/opencv-3.1.0/build
  261. -- -----------------------------------------------------------------
  262. --
  263. -- Configuring done
  264. -- Generating done
  265. -- Build files have been written to: /home/thijser/opencv-3.1.0/build
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement