Advertisement
Guest User

Untitled

a guest
Mar 26th, 2017
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.20 KB | None | 0 0
  1. sudo apt-get install build-essential cmake pkg-config
  2. sudo apt-get install libjpeg8-dev libtiff5-dev libjasper-dev libpng12-dev
  3. sudo apt-get install libxvidcore-dev libx264-dev
  4. sudo apt-get install libgtk-3-dev
  5. sudo apt-get install libatlas-base-dev gfortran
  6. sudo apt-get install python2.7-dev python3.5-dev
  7.  
  8. cd ~
  9. wget -O opencv.zip https://github.com/Itseez/opencv/archive/3.1.0.zip
  10. unzip opencv.zip
  11.  
  12. cd ~/maps
  13. source venv/bin/activate
  14.  
  15. cd ~/opencv-3.1.0/
  16. mkdir build
  17. cd build
  18. cmake -D CMAKE_BUILD_TYPE=RELEASE
  19. -D CMAKE_INSTALL_PREFIX=/usr/local
  20. -D INSTALL_PYTHON_EXAMPLES=ON
  21. -D INSTALL_C_EXAMPLES=OFF
  22. -D OPENCV_EXTRA_MODULES_PATH=~/opencv_contrib-3.1.0/modules
  23. -D PYTHON_EXECUTABLE=~/maps/venv/bin/python
  24. -D BUILD_EXAMPLES=ON ..
  25.  
  26. -- Checking for module 'gstreamer-base-1.0'
  27. -- No package 'gstreamer-base-1.0' found
  28. -- Checking for module 'gstreamer-video-1.0'
  29. -- No package 'gstreamer-video-1.0' found
  30. -- Checking for module 'gstreamer-app-1.0'
  31. -- No package 'gstreamer-app-1.0' found
  32. -- Checking for module 'gstreamer-riff-1.0'
  33. -- No package 'gstreamer-riff-1.0' found
  34. -- Checking for module 'gstreamer-pbutils-1.0'
  35. -- No package 'gstreamer-pbutils-1.0' found
  36. -- Checking for module 'gstreamer-base-0.10'
  37. -- No package 'gstreamer-base-0.10' found
  38. -- Checking for module 'gstreamer-video-0.10'
  39. -- No package 'gstreamer-video-0.10' found
  40. -- Checking for module 'gstreamer-app-0.10'
  41. -- No package 'gstreamer-app-0.10' found
  42. -- Checking for module 'gstreamer-riff-0.10'
  43. -- No package 'gstreamer-riff-0.10' found
  44. -- Checking for module 'gstreamer-pbutils-0.10'
  45. -- No package 'gstreamer-pbutils-0.10' found
  46. -- Checking for module 'libdc1394-2'
  47. -- No package 'libdc1394-2' found
  48. -- Checking for module 'libdc1394'
  49. -- No package 'libdc1394' found
  50. -- Looking for linux/videodev.h
  51. -- Looking for linux/videodev.h - not found
  52. -- Looking for linux/videodev2.h
  53. -- Looking for linux/videodev2.h - found
  54. -- Looking for sys/videoio.h
  55. -- Looking for sys/videoio.h - not found
  56. -- Checking for module 'libavresample'
  57. -- No package 'libavresample' found
  58. -- Looking for libavformat/avformat.h
  59. -- Looking for libavformat/avformat.h - found
  60. -- Looking for ffmpeg/avformat.h
  61. -- Looking for ffmpeg/avformat.h - not found
  62. -- Checking for module 'libgphoto2'
  63. -- No package 'libgphoto2' found
  64. -- found IPP (ICV version): 9.0.1 [9.0.1]
  65. -- at: /home/diego/opencv-3.1.0/3rdparty/ippicv/unpack/ippicv_lnx
  66. -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
  67. -- To enable PlantUML support, set PLANTUML_JAR environment variable or pass -DPLANTUML_JAR=<filepath> option to cmake
  68. -- Found PythonInterp: /home/diego/tissuemaps/venv/bin/python (found suitable version "2.7.12", minimum required is "2.7")
  69. -- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython2.7.so (found suitable exact version "2.7.12")
  70. -- Found PythonInterp: /usr/bin/python3 (found suitable version "3.5.2", minimum required is "3.4")
  71. -- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.5m.so (found suitable exact version "3.5.2")
  72. Traceback (most recent call last):
  73. File "<string>", line 1, in <module>
  74.  
  75. -- General configuration for OpenCV 3.1.0 =====================================
  76. -- Version control: unknown
  77. --
  78. -- Platform:
  79. -- Host: Linux 4.4.0-66-generic x86_64
  80. -- CMake: 3.5.1
  81. -- CMake generator: Unix Makefiles
  82. -- CMake build tool: /usr/bin/make
  83. -- Configuration: RELEASE
  84. --
  85. -- C/C++:
  86. -- Built as dynamic libs?: YES
  87. -- C++ Compiler: /usr/bin/c++ (ver 5.4.0)
  88. -- 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
  89. -- 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
  90. -- C Compiler: /usr/bin/cc
  91. -- 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
  92. -- 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
  93. -- Linker flags (Release):
  94. -- Linker flags (Debug):
  95. -- Precompiled headers: YES
  96. -- Extra dependencies: /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 gtk-3 gdk-3 pangocairo-1.0 pango-1.0 atk-1.0 cairo-gobject cairo gdk_pixbuf-2.0 gio-2.0 gobject-2.0 gthread-2.0 glib-2.0 v4l1 v4l2 avcodec-ffmpeg avformat-ffmpeg avutil-ffmpeg swscale-ffmpeg dl m pthread rt
  97. -- 3rdparty dependencies: libwebp IlmImf libprotobuf
  98. --
  99. -- OpenCV modules:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement