经过3整天的不停尝试,总算是能编译通过。但是还是感觉有问题。
CMake的配置单如下:
-- General configuration for OpenCV 2.4.3 =====================================
--
-- Platform:
-- Host: Linux 3.2.0-61-generic-pae i686
-- Target: Linux arm
-- CMake: 2.8.7
-- CMake generator: Unix Makefiles
-- CMake build tool: /usr/bin/make
-- Configuration: Release
--
--
-- OpenCV modules:
-- To be built: core imgproc flann highgui features2d calib3d ml video objdetect contrib nonfree photo legacy gpu stitching ts videostab
-- Disabled: world
-- Disabled by dependency: -
-- Unavailable: androidcamera java ocl python
--
-- GUI:
-- QT 4.x: NO
-- GTK+ 2.x: NO
-- GThread : NO
-- GtkGlExt: NO
-- OpenGL support: NO
--
-- Media I/O:
-- ZLib: /opt/lon/OpenCV-2.4.3/crosscompile_root/lib/libz.so (ver 1.2.7)
-- JPEG: /opt/lon/OpenCV-2.4.3/crosscompile_root/lib/libjpeg.so (ver 80)
-- PNG: /opt/lon/OpenCV-2.4.3/crosscompile_root/lib/libpng.so (ver 1.5.14)
-- TIFF: /opt/lon/OpenCV-2.4.3/crosscompile_root/lib/libtiff.so (ver 42 - 4.0.3)
-- JPEG 2000: NO
-- OpenEXR: NO
--
-- Video I/O:
-- DC1394 1.x: NO
-- DC1394 2.x: NO
-- FFMPEG: NO
-- codec: NO
-- format: NO
-- util: NO
-- swscale: NO
-- gentoo-style: NO
-- GStreamer: NO
-- OpenNI: NO
-- OpenNI PrimeSensor Modules: NO
-- PvAPI: NO
-- GigEVisionSDK: NO
-- UniCap: NO
-- UniCap ucil: NO
-- V4L/V4L2: NO/YES
-- XIMEA: NO
-- Xine: NO
--
-- Other third-party libraries:
-- Use TBB: NO
-- Use Cuda: NO
-- Use OpenCL: NO
-- Use Eigen: NO
--
-- Python:
-- Interpreter: /usr/bin/python (ver 2.7.3)
--
-- Tests and samples:
-- Tests: YES
-- Performance tests: YES
-- Examples: NO
--
-- Install path: /opt/lon/OpenCV-2.4.3/build/install
--
-- cvconfig.h is in: /opt/lon/OpenCV-2.4.3/build
-- -----------------------------------------------------------------
--
-- Configuring done
-- Generating done
照以上配置看,缺的还比较多。主要是红色部分, 目测是哪些依赖项没安装。不确定与Qt一起用会不会在图像处理上有什么问题。
不知道哪位前辈能指点一二,非常感谢~
本帖最后由 lonerzf 于 2014-5-21 14:06 编辑