Advertisement
Guest User

build

a guest
Jul 24th, 2023
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.26 KB | None | 0 0
  1. $ cmake -D CMAKE_BUILD_TYPE=RELEASE \
  2. -D CMAKE_INSTALL_PREFIX=/home/sam/opencv \
  3. -D BUILD_opencv_python2=OFF \
  4. -D BUILD_opencv_python3=ON \
  5. -D PYTHON3_LIBRARY=/home/sam/anaconda3/envs/acne/lib \
  6. -D PYTHON3_INCLUDE_DIR=/home/sam/anaconda3/envs/acne/include/python3.8 \
  7. -D PYTHON3_EXECUTABLE=/home/sam/anaconda3/envs/acne/bin/python3.8 \
  8. -D INSTALL_PYTHON_EXAMPLES=OFF \
  9. -D INSTALL_C_EXAMPLES=OFF \
  10. -D BUILD_EXAMPLES=OFF \
  11. -D WITH_CUDA=ON \
  12. -D WITH_CUDNN=ON \
  13. -D OPENCV_DNN_CUDA=ON \
  14. -D ENABLE_FAST_MATH=1 \
  15. -D CUDA_ARCH_BIN=6.1 \
  16. -D WITH_CUBLAS=1 \
  17. -D CUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda-10.2 \
  18. -D OPENCV_EXTRA_MODULES_PATH=/home/sam/opencv_contrib/modules \
  19. -DCMAKE_C_COMPILER=/usr/bin/gcc-6 \
  20. -D OPENCV_GENERATE_PKGCONFIG=YES ..
  21.  
  22. -- Detected processor: x86_64
  23. Python 2.7.17
  24. -- Looking for ccache - not found
  25. -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found suitable version "1.2.11", minimum required is "1.2.3")
  26. -- Could NOT find OpenJPEG (minimal suitable version: 2.0, recommended version >= 2.3.1). OpenJPEG will be built from sources
  27. -- OpenJPEG: VERSION = 2.5.0, BUILD = opencv-4.8.0-dev-openjp2-2.5.0
  28. -- OpenJPEG libraries will be built from sources: libopenjp2 (version "2.5.0")
  29. -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11")
  30. -- Found OpenEXR: /usr/lib/x86_64-linux-gnu/libIlmImf.so
  31. -- libva: missing va.h header (VA_INCLUDE_DIR)
  32. -- found Intel IPP (ICV version): 2021.8.0 [2021.8]
  33. -- at: /home/sam/opencv/build/3rdparty/ippicv/ippicv_lnx/icv
  34. -- found Intel IPP Integration Wrappers sources: 2021.8.0
  35. -- at: /home/sam/opencv/build/3rdparty/ippicv/ippicv_lnx/iw
  36. -- CUDA detected: 9.1
  37. -- CUDA: Using CUDA_ARCH_BIN=6.1
  38. -- CUDA NVCC target flags: -gencode;arch=compute_61,code=sm_61;-D_FORCE_INLINES
  39. -- Could not find OpenBLAS include. Turning OpenBLAS_FOUND off
  40. -- Could not find OpenBLAS lib. Turning OpenBLAS_FOUND off
  41. -- Could NOT find Atlas (missing: Atlas_CLAPACK_INCLUDE_DIR)
  42. -- A library with BLAS API found.
  43. -- A library with LAPACK API found.
  44. -- Could NOT find Java (missing: Java_JAR_EXECUTABLE Java_JAVAC_EXECUTABLE Java_JAVADOC_EXECUTABLE) (found version "11.0.19")
  45. -- Could NOT find JNI (missing: JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 JAVA_AWT_INCLUDE_PATH)
  46. -- VTK is not found. Please set -DVTK_DIR in CMake to VTK build directory, or to VTK install subdirectory with VTKConfig.cmake file
  47. -- Checking for module 'gtk+-2.0'
  48. -- No package 'gtk+-2.0' found
  49. -- Checking for module 'libdc1394-2'
  50. -- No package 'libdc1394-2' found
  51. -- freetype2: YES (ver 21.0.15)
  52. -- harfbuzz: YES (ver 1.7.2)
  53. -- HDF5: Using hdf5 compiler wrapper to determine C configuration
  54. -- Julia not found. Not compiling Julia Bindings.
  55. -- Module opencv_ovis disabled because OGRE3D was not found
  56. -- CERES support is disabled. Ceres Solver for reconstruction API is required.
  57. -- Checking for module 'tesseract'
  58. -- No package 'tesseract' found
  59. -- Tesseract: NO
  60. -- Allocator metrics storage type: 'long long'
  61. -- HDF5: Using hdf5 compiler wrapper to determine C configuration
  62. -- Excluding from source files list: modules/imgproc/src/imgwarp.lasx.cpp
  63. -- Excluding from source files list: modules/imgproc/src/resize.lasx.cpp
  64. -- Registering hook 'INIT_MODULE_SOURCES_opencv_dnn': /home/sam/opencv/modules/dnn/cmake/hooks/INIT_MODULE_SOURCES_opencv_dnn.cmake
  65. -- Excluding from source files list: <BUILD>/modules/dnn/layers/layers_common.rvv.cpp
  66. -- Excluding from source files list: <BUILD>/modules/dnn/layers/layers_common.lasx.cpp
  67. -- Excluding from source files list: <BUILD>/modules/dnn/int8layers/layers_common.lasx.cpp
  68. -- Excluding from source files list: <BUILD>/modules/dnn/layers/cpu_kernels/conv_depthwise.rvv.cpp
  69. -- Excluding from source files list: <BUILD>/modules/dnn/layers/cpu_kernels/conv_depthwise.lasx.cpp
  70. -- highgui: using builtin backend: GTK3
  71. -- CERES support is disabled. Ceres Solver for reconstruction API is required.
  72. -- Found 'misc' Python modules from /home/sam/opencv/modules/python/package/extra_modules
  73. -- Found 'mat_wrapper;utils' Python modules from /home/sam/opencv/modules/core/misc/python/package
  74. -- Found 'gapi' Python modules from /home/sam/opencv/modules/gapi/misc/python/package
  75. -- Found 'misc' Python modules from /home/sam/opencv/modules/python/package/extra_modules
  76. -- Found 'mat_wrapper;utils' Python modules from /home/sam/opencv/modules/core/misc/python/package
  77. -- Found 'gapi' Python modules from /home/sam/opencv/modules/gapi/misc/python/package
  78. --
  79. -- General configuration for OpenCV 4.8.0-dev =====================================
  80. -- Version control: 4.8.0-88-gd69c1d8652
  81. --
  82. -- Extra modules:
  83. -- Location (extra): /home/sam/opencv_contrib/modules
  84. -- Version control (extra): 4.8.0-8-g4899bee6
  85. --
  86. -- Platform:
  87. -- Timestamp: 2023-07-24T13:47:53Z
  88. -- Host: Linux 4.15.0-213-generic x86_64
  89. -- CMake: 3.10.2
  90. -- CMake generator: Unix Makefiles
  91. -- CMake build tool: /usr/bin/make
  92. -- Configuration: RELEASE
  93. --
  94. -- CPU/HW features:
  95. -- Baseline: SSE SSE2 SSE3
  96. -- requested: SSE3
  97. -- Dispatched code generation: SSE4_1 SSE4_2 FP16 AVX AVX2 AVX512_SKX
  98. -- requested: SSE4_1 SSE4_2 AVX FP16 AVX2 AVX512_SKX
  99. -- SSE4_1 (18 files): + SSSE3 SSE4_1
  100. -- SSE4_2 (2 files): + SSSE3 SSE4_1 POPCNT SSE4_2
  101. -- FP16 (1 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 AVX
  102. -- AVX (8 files): + SSSE3 SSE4_1 POPCNT SSE4_2 AVX
  103. -- AVX2 (37 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 FMA3 AVX AVX2
  104. -- AVX512_SKX (8 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 FMA3 AVX AVX2 AVX_512F AVX512_COMMON AVX512_SKX
  105. --
  106. -- C/C++:
  107. -- Built as dynamic libs?: YES
  108. -- C++ standard: 11
  109. -- C++ Compiler: /usr/bin/c++ (ver 7.5.0)
  110. -- C++ flags (Release): -fsigned-char -ffast-math -fno-finite-math-only -W -Wall -Wreturn-type -Wnon-virtual-dtor -Waddress -Wsequence-point -Wformat -Wformat-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -O3 -DNDEBUG -DNDEBUG
  111. -- C++ flags (Debug): -fsigned-char -ffast-math -fno-finite-math-only -W -Wall -Wreturn-type -Wnon-virtual-dtor -Waddress -Wsequence-point -Wformat -Wformat-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -g -O0 -DDEBUG -D_DEBUG
  112. -- C Compiler: /usr/bin/gcc-6
  113. -- C flags (Release): -fsigned-char -ffast-math -fno-finite-math-only -W -Wall -Wreturn-type -Waddress -Wsequence-point -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Wno-comment -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -O3 -DNDEBUG -DNDEBUG
  114. -- C flags (Debug): -fsigned-char -ffast-math -fno-finite-math-only -W -Wall -Wreturn-type -Waddress -Wsequence-point -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Wno-comment -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -g -O0 -DDEBUG -D_DEBUG
  115. -- Linker flags (Release): -Wl,--exclude-libs,libippicv.a -Wl,--exclude-libs,libippiw.a -Wl,--gc-sections -Wl,--as-needed -Wl,--no-undefined
  116. -- Linker flags (Debug): -Wl,--exclude-libs,libippicv.a -Wl,--exclude-libs,libippiw.a -Wl,--gc-sections -Wl,--as-needed -Wl,--no-undefined
  117. -- ccache: NO
  118. -- Precompiled headers: NO
  119. -- Extra dependencies: m pthread cudart_static dl rt nppc nppial nppicc nppicom nppidei nppif nppig nppim nppist nppisu nppitc npps cublas cudnn cufft -L/usr/lib/x86_64-linux-gnu -L/usr/local/cuda-10.2/lib64
  120. -- 3rdparty dependencies:
  121. --
  122. -- OpenCV modules:
  123. -- To be built: alphamat aruco bgsegm bioinspired calib3d ccalib core cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev datasets dnn dnn_objdetect dnn_superres dpm face features2d flann freetype fuzzy gapi hdf hfs highgui img_hash imgcodecs imgproc intensity_transform line_descriptor mcc ml objdetect optflow phase_unwrapping photo plot python3 quality rapid reg rgbd saliency sfm shape stereo stitching structured_light superres surface_matching text tracking ts video videoio videostab wechat_qrcode xfeatures2d ximgproc xobjdetect xphoto
  124. -- Disabled: world
  125. -- Disabled by dependency: -
  126. -- Unavailable: cvv java julia matlab ovis python2 viz
  127. -- Applications: tests perf_tests apps
  128. -- Documentation: NO
  129. -- Non-free algorithms: NO
  130. --
  131. -- GUI: GTK3
  132. -- GTK+: YES (ver 3.22.30)
  133. -- GThread : YES (ver 2.56.4)
  134. -- GtkGlExt: NO
  135. -- VTK support: NO
  136. --
  137. -- Media I/O:
  138. -- ZLib: /usr/lib/x86_64-linux-gnu/libz.so (ver 1.2.11)
  139. -- JPEG: /usr/lib/x86_64-linux-gnu/libjpeg.so (ver 80)
  140. -- WEBP: /usr/lib/x86_64-linux-gnu/libwebp.so (ver encoder: 0x020e)
  141. -- PNG: /usr/lib/x86_64-linux-gnu/libpng.so (ver 1.6.34)
  142. -- TIFF: /usr/lib/x86_64-linux-gnu/libtiff.so (ver 42 / 4.0.9)
  143. -- JPEG 2000: build (ver 2.5.0)
  144. -- 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)
  145. -- HDR: YES
  146. -- SUNRASTER: YES
  147. -- PXM: YES
  148. -- PFM: YES
  149. --
  150. -- Video I/O:
  151. -- DC1394: NO
  152. -- FFMPEG: YES
  153. -- avcodec: YES (57.107.100)
  154. -- avformat: YES (57.83.100)
  155. -- avutil: YES (55.78.100)
  156. -- swscale: YES (4.8.100)
  157. -- avresample: YES (3.7.0)
  158. -- GStreamer: YES (1.14.5)
  159. -- v4l/v4l2: YES (linux/videodev2.h)
  160. --
  161. -- Parallel framework: pthreads
  162. --
  163. -- Trace: YES (with Intel ITT)
  164. --
  165. -- Other third-party libraries:
  166. -- Intel IPP: 2021.8 [2021.8.0]
  167. -- at: /home/sam/opencv/build/3rdparty/ippicv/ippicv_lnx/icv
  168. -- Intel IPP IW: sources (2021.8.0)
  169. -- at: /home/sam/opencv/build/3rdparty/ippicv/ippicv_lnx/iw
  170. -- VA: NO
  171. -- Lapack: NO
  172. -- Eigen: YES (ver 3.3.4)
  173. -- Custom HAL: NO
  174. -- Protobuf: build (3.19.1)
  175. -- Flatbuffers: builtin/3rdparty (23.5.9)
  176. --
  177. -- NVIDIA CUDA: YES (ver 9.1, CUFFT CUBLAS)
  178. -- NVIDIA GPU arch: 61
  179. -- NVIDIA PTX archs:
  180. --
  181. -- cuDNN: YES (ver 7.6.5)
  182. --
  183. -- OpenCL: YES (no extra features)
  184. -- Include path: /home/sam/opencv/3rdparty/include/opencl/1.2
  185. -- Link libraries: Dynamic load
  186. --
  187. -- Python 3:
  188. -- Interpreter: /home/sam/anaconda3/envs/acne/bin/python3.8 (ver 3.8.13)
  189. -- Libraries: /home/sam/anaconda3/envs/acne/lib (ver 3.8.13)
  190. -- numpy: /home/sam/anaconda3/envs/acne/lib/python3.8/site-packages/numpy/core/include (ver 1.22.3)
  191. -- install path: lib/python3.8/site-packages/cv2/python-3.8
  192. --
  193. -- Python (for build): /usr/bin/python2.7
  194. --
  195. -- Java:
  196. -- ant: NO
  197. -- Java: NO
  198. -- JNI: NO
  199. -- Java wrappers: NO
  200. -- Java tests: NO
  201. --
  202. -- Install to: /home/sam/opencv
  203. -- -----------------------------------------------------------------
  204. --
  205. -- Configuring done
  206. -- Generating done
  207. -- Build files have been written to: /home/sam/opencv/build
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement