OpenCV-2.1.0.tar.bz2编译安装失败
系统环境:centos5.9 64bit
一:安装cmake-2.8.11.1
步骤:
1: ./configure
2: make
3: sudo make install
二:安装jasper-1.900.1
1: ./configure
2: make
3: sudo make install
三:安装opencv-2.1.0
1: cmake .
[tzgly@localhost OpenCV-2.1.0]$ cmake .
-- Extracting svn version, please wait...
-- SVNVERSION: svn:已导出
-- Detected version of GNU GCC: 41 (401)
-- checking for module 'gstreamer-base-0.10'
-- package 'gstreamer-base-0.10' not found
-- checking for module 'gstreamer-app-0.10'
-- package 'gstreamer-app-0.10' not found
-- checking for module 'gstreamer-video-0.10'
-- package 'gstreamer-video-0.10' not found
-- checking for module 'libavcodec'
-- package 'libavcodec' not found
-- checking for module 'libavformat'
-- package 'libavformat' not found
-- checking for module 'libavutil'
-- package 'libavutil' not found
-- checking for module 'libswscale'
-- package 'libswscale' not found
-- checking for module 'libdc1394-2'
-- package 'libdc1394-2' not found
-- checking for module 'libdc1394'
-- package 'libdc1394' not found
-- checking for module 'libv4l1'
-- package 'libv4l1' not found
-- Could NOT find TIFF (missing: TIFF_LIBRARY TIFF_INCLUDE_DIR)
-- Could NOT find JPEG (missing: JPEG_LIBRARY JPEG_INCLUDE_DIR)
-- Could NOT find Jasper (missing: JPEG_LIBRARIES) (found version "1.900.1")
-- Could NOT find JPEG (missing: JPEG_LIBRARY JPEG_INCLUDE_DIR)
Traceback (most recent call last):
File "<string>", line 1, in ?
ImportError: No module named numpy.distutils
-- IPP detected:
-- Parsing 'cvconfig.h.cmake'
running mkdir -p "/home/tzgly/software/ex_installs/OpenCV-2.1.0/unix-install/" 2>&1
--
-- General configuration for opencv 2.1.0 =====================================
--
-- Built as dynamic libs?: ON
-- Compiler:
-- C++ flags (Release): -Wall -Wno-long-long -pthread -ffunction-sections -O3 -DNDEBUG -fomit-frame-pointer -O3 -ffast-math -msse -msse2 -DNDEBUG
-- C++ flags (Debug): -Wall -Wno-long-long -pthread -ffunction-sections -g -O0 -DDEBUG -D_DEBUG
-- Linker flags (Release):
-- Linker flags (Debug):
--
-- GUI:
-- GTK+ 2.x: &