Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sudo apt-get install build-essential cmake pkg-config
- sudo apt-get install libjpeg8-dev libtiff5-dev libjasper-dev libpng12-dev
- sudo apt-get install libxvidcore-dev libx264-dev
- sudo apt-get install libgtk-3-dev
- sudo apt-get install libatlas-base-dev gfortran
- sudo apt-get install python2.7-dev python3.5-dev
- cd ~
- wget -O opencv.zip https://github.com/Itseez/opencv/archive/3.1.0.zip
- unzip opencv.zip
- cd ~/maps
- source venv/bin/activate
- cd ~/opencv-3.1.0/
- mkdir build
- cd build
- 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=~/maps/venv/bin/python
- -D BUILD_EXAMPLES=ON ..
- -- Checking for module 'gstreamer-base-1.0'
- -- No package 'gstreamer-base-1.0' found
- -- Checking for module 'gstreamer-video-1.0'
- -- No package 'gstreamer-video-1.0' found
- -- Checking for module 'gstreamer-app-1.0'
- -- No package 'gstreamer-app-1.0' found
- -- Checking for module 'gstreamer-riff-1.0'
- -- No package 'gstreamer-riff-1.0' found
- -- Checking for module 'gstreamer-pbutils-1.0'
- -- No package 'gstreamer-pbutils-1.0' found
- -- Checking for module 'gstreamer-base-0.10'
- -- No package 'gstreamer-base-0.10' found
- -- Checking for module 'gstreamer-video-0.10'
- -- No package 'gstreamer-video-0.10' found
- -- Checking for module 'gstreamer-app-0.10'
- -- No package 'gstreamer-app-0.10' found
- -- Checking for module 'gstreamer-riff-0.10'
- -- No package 'gstreamer-riff-0.10' found
- -- Checking for module 'gstreamer-pbutils-0.10'
- -- No package 'gstreamer-pbutils-0.10' found
- -- Checking for module 'libdc1394-2'
- -- No package 'libdc1394-2' found
- -- Checking for module 'libdc1394'
- -- No package 'libdc1394' found
- -- Looking for linux/videodev.h
- -- Looking for linux/videodev.h - not found
- -- Looking for linux/videodev2.h
- -- Looking for linux/videodev2.h - found
- -- Looking for sys/videoio.h
- -- Looking for sys/videoio.h - not found
- -- Checking for module 'libavresample'
- -- No package 'libavresample' found
- -- Looking for libavformat/avformat.h
- -- Looking for libavformat/avformat.h - found
- -- Looking for ffmpeg/avformat.h
- -- Looking for ffmpeg/avformat.h - not found
- -- Checking for module 'libgphoto2'
- -- No package 'libgphoto2' found
- -- found IPP (ICV version): 9.0.1 [9.0.1]
- -- at: /home/diego/opencv-3.1.0/3rdparty/ippicv/unpack/ippicv_lnx
- -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
- -- To enable PlantUML support, set PLANTUML_JAR environment variable or pass -DPLANTUML_JAR=<filepath> option to cmake
- -- Found PythonInterp: /home/diego/tissuemaps/venv/bin/python (found suitable version "2.7.12", minimum required is "2.7")
- -- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython2.7.so (found suitable exact version "2.7.12")
- -- Found PythonInterp: /usr/bin/python3 (found suitable version "3.5.2", minimum required is "3.4")
- -- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.5m.so (found suitable exact version "3.5.2")
- Traceback (most recent call last):
- File "<string>", line 1, in <module>
- -- General configuration for OpenCV 3.1.0 =====================================
- -- Version control: unknown
- --
- -- Platform:
- -- Host: Linux 4.4.0-66-generic x86_64
- -- CMake: 3.5.1
- -- CMake generator: Unix Makefiles
- -- CMake build tool: /usr/bin/make
- -- Configuration: RELEASE
- --
- -- C/C++:
- -- Built as dynamic libs?: YES
- -- C++ Compiler: /usr/bin/c++ (ver 5.4.0)
- -- 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
- -- 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
- -- C Compiler: /usr/bin/cc
- -- 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
- -- 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
- -- Linker flags (Release):
- -- Linker flags (Debug):
- -- Precompiled headers: YES
- -- 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
- -- 3rdparty dependencies: libwebp IlmImf libprotobuf
- --
- -- OpenCV modules:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement