opencv recipe for target 'all' failed解决
来源:互联网 发布:程序员gif搞笑图片 编辑:程序博客网 时间:2024/06/05 17:47
在编译opencv3.0的时候,编译到了90%都成功了,然后报了这个异常,网上搜索,也没找到正确方法
最后解决方式是:
之前的脚本都需要运行
在运行apt-get update时,下载一个东西,下载了1000多遍也不成,把update注释掉,再执行前面的安装
再编译,就成功了。
https://github.com/cmayet/docker_python2.7_opencv3.0.0
#!/bin/bash
apt-get update
apt-get install -y --no-install-recommends apt-utils
apt-get install -y --no-install-recommends python python-pip \
libpython2.7 \
build-essential \
gfortran \
libatlas-base-dev \
python-dev \
python2.7-dev \
python-tk \
cmake pkg-config \
libjpeg8-dev \
libtiff5-dev \
libjasper-dev \
libpng12-dev \
libavcodec-dev \
libavformat-dev \
libswscale-dev \
libv4l-dev wget \
unzip
pip install --upgrade pip
pip install numpy
wget --no-check-certificate https://codeload.github.com/opencv/opencv/zip/3.0.0
unzip 3.0.0 && rm -rf 3.0.0
cd opencv-3.0.0&& mkdir build && cd build
cmake -D CMAKE_BUILD_TYPE=RELEASE ..
make -j 4
make install
apt-get remove --purge -y gfortran build-essential cmake python-pip
rm -rf /var/lib/apt/lists/* /var/cache/apt/archives
- opencv recipe for target 'all' failed解决
- Apache2 安装错误 recipe for target 'all-recursive' failed
- Makefile:160: recipe for target 'all' failed (Ubuntu 16.06 + Opencv3.2)解决办法
- Ubuntu16.04下make all编译caffe时recipe for target '.build_release/.linked' failed
- Makefile:944: recipe for target 'drivers' failed
- makefile:5: recipe for target ' ' failed
- 【caffe install】recipe for target 'xxx' failed
- recipe for target 'doc/cpp.info' failed
- 解决u-boot 2016.11 ”ERROR: Makefile:1385: recipe for target 'checkarmreloc' failed”
- ERROR: Makefile:1385: recipe for target 'checkarmreloc' failed
- Makefile:2203: recipe for target 's-attrtab' failed
- go-ethereum 1.6 Makefile:15: recipe for target 'geth' failed
- /opt/linux/linux-3.5/scripts/kconfig/Makefile:21: recipe for target 'menuconfig' failed错误
- 编译BusyBox时scripts/Makefile.build:197: recipe for target 'loginutils/passwd.o' failed
- Makefile:588: recipe for target '.build_release/cuda/src/caffe/layers/softmax_loss_layer.o' failed
- Makefile:134007: recipe for target '.obj/release-shared/qimage_neon.o' failed
- 交叉编译openssh出现错误Makefile:548: recipe for target 'install_sw' failed
- 采用MingW编译OPENCV,出现recipe for target xxx/can't create precompiled header错误解决方法
- 存储持续性、作用域和链接性
- 【心得】input和output摄像机站位;
- Python学习笔记1:序列类型详解
- 寒假训练——POJ - 3278 Catch That Cow bfs and similiar
- Android BLE学习笔记
- opencv recipe for target 'all' failed解决
- ubuntu安装和查看已安装
- studio解决git冲突
- OpenCV笔记第一天:图像处理基础结构
- 【JZOJ3873】【NOIP2014八校联考第4场第2试10.20】乐曲创作(music)
- mysql数据类型-数值型
- P1789 【Mc生存】插火把
- Python学习之重构vsFTPd后门漏洞详解
- 目标主要名称不正确-0x80090322