未验证 提交 9827cb87 编写于 作者: Z zhupengyang 提交者: GitHub

[cherry-pick] add head file for memcpy (#3653) add pip, python-dev (#3655) (#3656)

上级 5fdbc37e
...@@ -156,7 +156,7 @@ wget -c https://mms-res.cdn.bcebos.com/cmake-3.10.3-Linux-x86_64.tar.gz && \ ...@@ -156,7 +156,7 @@ wget -c https://mms-res.cdn.bcebos.com/cmake-3.10.3-Linux-x86_64.tar.gz && \
###### 编译环境要求 ###### 编译环境要求
- gcc、g++、git、make、wget、python、patchelf - gcc、g++、git、make、wget、python、pip、python-dev、patchelf
- cmake(建议使用3.10或以上版本) - cmake(建议使用3.10或以上版本)
###### 具体步骤 ###### 具体步骤
...@@ -167,7 +167,7 @@ wget -c https://mms-res.cdn.bcebos.com/cmake-3.10.3-Linux-x86_64.tar.gz && \ ...@@ -167,7 +167,7 @@ wget -c https://mms-res.cdn.bcebos.com/cmake-3.10.3-Linux-x86_64.tar.gz && \
# 1. Install basic software # 1. Install basic software
apt update apt update
apt-get install -y --no-install-recomends \ apt-get install -y --no-install-recomends \
gcc g++ make wget python unzip gcc g++ make wget python unzip patchelf python-dev
# 2. install cmake 3.10 or above # 2. install cmake 3.10 or above
wget https://www.cmake.org/files/v3.10/cmake-3.10.3.tar.gz wget https://www.cmake.org/files/v3.10/cmake-3.10.3.tar.gz
......
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
#include "lite/utils/cv/paddle_image_preprocess.h" #include "lite/utils/cv/paddle_image_preprocess.h"
#include <math.h> #include <math.h>
#include <string.h>
#include <algorithm> #include <algorithm>
#include <climits> #include <climits>
#include "lite/utils/cv/image2tensor.h" #include "lite/utils/cv/image2tensor.h"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册