Advertisement
Guest User

cmake opencv

a guest
May 8th, 2015
609
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 9.40 KB | None | 0 0
  1.  sudo 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 WITH_QT=ON -D WITH_OPENGL=ON ..
  2. -- Detected version of GNU GCC: 48 (408)
  3. -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found suitable version "1.2.8", minimum required is "1.2.3")
  4. -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.8")
  5. -- Found OpenEXR: /usr/lib/x86_64-linux-gnu/libIlmImf.so
  6. -- Looking for linux/videodev.h
  7. -- Looking for linux/videodev.h - found
  8. -- Looking for linux/videodev2.h
  9. -- Looking for linux/videodev2.h - found
  10. -- Looking for sys/videoio.h
  11. -- Looking for sys/videoio.h - not found
  12. WARNING, PrimeSensor Module binaries directory (set by OPENNI_PRIME_SENSOR_MODULE_BIN_DIR variable) is not found or does not have PrimeSensor Module binaries.
  13. -- checking for module 'libavresample'
  14. --   package 'libavresample' not found
  15. -- Looking for libavformat/avformat.h
  16. -- Looking for libavformat/avformat.h - found
  17. -- Looking for ffmpeg/avformat.h
  18. -- Looking for ffmpeg/avformat.h - not found
  19. -- To enable PlantUML support, set PLANTUML_JAR environment variable or pass -DPLANTUML_JAR=<filepath> option to cmake
  20. -- Found PythonInterp: /usr/bin/python2.7 (found suitable version "2.7.6", minimum required is "2.7")
  21. -- Could NOT find PythonLibs (missing:  PYTHON_INCLUDE_DIRS) (found suitable exact version "2.7.6")
  22. -- Found PythonInterp: /usr/bin/python3.4 (found suitable version "3.4", minimum required is "3.4")
  23. -- Could NOT find PythonLibs (missing:  PYTHON_LIBRARIES) (Required is exact version "3.4.0")
  24. Traceback (most recent call last):
  25.   File "<string>", line 1, in <module>
  26. ImportError: No module named 'numpy'
  27. -- Found apache ant 1.9.3: /usr/bin/ant
  28. -- 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)
  29. -- VTK is not found. Please set -DVTK_DIR in CMake to VTK build directory, or to VTK install subdirectory with VTKConfig.cmake file
  30. --
  31. -- General configuration for OpenCV 3.0.0-rc1 =====================================
  32. --   Version control:               unknown
  33. --
  34. --   Platform:
  35. --     Host:                        Linux 3.13.0-48-generic x86_64
  36. --     CMake:                       2.8.12.2
  37. --     CMake generator:             Unix Makefiles
  38. --     CMake build tool:            /usr/bin/make
  39. --     Configuration:               RELEASE
  40. --
  41. --   C/C++:
  42. --     Built as dynamic libs?:      YES
  43. --     C++ Compiler:                /usr/bin/c++  (ver 4.8.2)
  44. --     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 -msse3 -ffunction-sections -fvisibility=hidden -fvisibility-inlines-hidden -O3 -DNDEBUG  -DNDEBUG
  45. --     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 -msse3 -ffunction-sections -fvisibility=hidden -fvisibility-inlines-hidden -g  -O0 -DDEBUG -D_DEBUG
  46. --     C Compiler:                  /usr/bin/cc
  47. --     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 -msse3 -ffunction-sections -fvisibility=hidden -O3 -DNDEBUG  -DNDEBUG
  48. --     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 -msse3 -ffunction-sections -fvisibility=hidden -g  -O0 -DDEBUG -D_DEBUG
  49. --     Linker flags (Release):
  50. --     Linker flags (Debug):
  51. --     Precompiled headers:         YES
  52. --
  53. --   OpenCV modules:
  54. --     To be built:                 hal core flann imgproc ml photo video imgcodecs shape videoio highgui objdetect superres ts features2d calib3d java stitching videostab
  55. --     Disabled:                    world
  56. --     Disabled by dependency:      -
  57. --     Unavailable:                 androidcamera cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev python2 python3 viz
  58. --
  59. --   GUI:
  60. --     QT 5.x:                      YES (ver 5.2.1)
  61. --     QT OpenGL support:           YES (Qt5::OpenGL 5.2.1)
  62. --     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)
  63. --     VTK support:                 NO
  64. --
  65. --   Media I/O:
  66. --     ZLib:                        /usr/lib/x86_64-linux-gnu/libz.so (ver 1.2.8)
  67. --     JPEG:                        /usr/lib/x86_64-linux-gnu/libjpeg.so (ver )
  68. --     WEBP:                        build (ver 0.3.1)
  69. --     PNG:                         /usr/lib/x86_64-linux-gnu/libpng.so (ver 1.2.50)
  70. --     TIFF:                        /usr/lib/x86_64-linux-gnu/libtiff.so (ver 42 - 4.0.3)
  71. --     JPEG 2000:                   /usr/lib/x86_64-linux-gnu/libjasper.so (ver 1.900.1)
  72. --     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)
  73. --     GDAL:                        NO
  74. --
  75. --   Video I/O:
  76. --     DC1394 1.x:                  NO
  77. --     DC1394 2.x:                  YES (ver 2.2.1)
  78. --     FFMPEG:                      YES
  79. --       codec:                     YES (ver 54.35.0)
  80. --       format:                    YES (ver 54.20.4)
  81. --       util:                      YES (ver 52.3.0)
  82. --       swscale:                   YES (ver 2.1.1)
  83. --       resample:                  NO
  84. --       gentoo-style:              YES
  85. --     GStreamer:
  86. --       base:                      YES (ver 1.2.4)
  87. --       video:                     YES (ver 1.2.4)
  88. --       app:                       YES (ver 1.2.4)
  89. --       riff:                      YES (ver 1.2.4)
  90. --       pbutils:                   YES (ver 1.2.4)
  91. --     OpenNI:                      YES (ver 1.5.4, build 0)
  92. --     OpenNI PrimeSensor Modules:  NO
  93. --     OpenNI2:                     NO
  94. --     PvAPI:                       NO
  95. --     GigEVisionSDK:               NO
  96. --     UniCap:                      NO
  97. --     UniCap ucil:                 NO
  98. --     V4L/V4L2:                    Using libv4l1 (ver 1.0.1) / libv4l2 (ver 1.0.1)
  99. --     XIMEA:                       NO
  100. --     Xine:                        YES (ver 1.1.21)
  101. --
  102. --   Other third-party libraries:
  103. --     Use IPP:                     NO
  104. --     Use IPP Async:               NO
  105. --     Use Eigen:                   YES (ver 3.2.0)
  106. --     Use TBB:                     YES (ver 4.2 interface 7000)
  107. --     Use OpenMP:                  NO
  108. --     Use GCD                      NO
  109. --     Use Concurrency              NO
  110. --     Use C=:                      NO
  111. --     Use Cuda:                    NO
  112. --     Use OpenCL:                  YES
  113. --
  114. --   OpenCL:
  115. --     Version:                     dynamic
  116. --     Include path:                /home/ubuntu/cv/3rdparty/include/opencl/1.2
  117. --     Use AMDFFT:                  NO
  118. --     Use AMDBLAS:                 NO
  119. --
  120. --   Python 2:
  121. --     Interpreter:                 /usr/bin/python2.7 (ver 2.7.6)
  122. --     Libraries:                   NO
  123. --     numpy:                       /usr/lib/python2.7/dist-packages/numpy/core/include (ver 1.8.2)
  124. --     packages path:               lib/python2.7/dist-packages
  125. --
  126. --   Python 3:
  127. --     Interpreter:                 /usr/bin/python3.4 (ver 3.4)
  128. --
  129. --   Python (for build):            /usr/bin/python2.7
  130. --
  131. --   Java:
  132. --     ant:                         /usr/bin/ant (ver 1.9.3)
  133. --     JNI:                         /usr/lib/jvm/default-java/include /usr/lib/jvm/default-java/include /usr/lib/jvm/default-java/include
  134. --     Java wrappers:               YES
  135. --     Java tests:                  YES
  136. --
  137. --   Matlab:
  138. --     mex:                         NO
  139. --
  140. --   Documentation:
  141. --     Doxygen:                     /usr/bin/doxygen (ver 1.8.6)
  142. --     PlantUML:                    NO
  143. --
  144. --   Tests and samples:
  145. --     Tests:                       YES
  146. --     Performance tests:           YES
  147. --     C/C++ Examples:              YES
  148. --
  149. --   Install path:                  /usr/local
  150. --
  151. --   cvconfig.h is in:              /home/ubuntu/cv/build
  152. -- -----------------------------------------------------------------
  153. --
  154. -- Configuring done
  155. -- Generating done
  156. -- Build files have been written to: /home/ubuntu/cv/build
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement