arm环境下opencv编译.docVIP

  • 7
  • 0
  • 约8.5千字
  • 约 7页
  • 2017-02-11 发布于湖北
  • 举报
下载opencv的源文件当前是0.9.9,并解压缩 在工作路径运行配置命令 ./configure --host=arm-linux --without-gtk --without-carbon --without-quicktime --without-1394libs --without-ffmpeg --without-python --without-swig --enable-static --disable-shared --disable-apps CXX=arm-linux-g++ CPPFLAGS=-I/opt/crosstools/gcc-3.4.6-glibc-2.3/ --prefix=/usr/opencv/ CPPFLAGS所指的头文件和库文件位置应当是arm编译器的所对应的路径,否则会出现编译异常,对宏FD_ZERO的识别问题。 执行make,make insatall,这时在/usr/opencv下生成相应的文件。 为了加入gtk的支持 使用下面的 ./configure --host=arm-linux --prefix=$PREFIX --without-carbon --without-quicktime --without-1394libs --without-ffmpeg --without-python --without-sw

文档评论(0)

1亿VIP精品文档

相关文档