Skip to content

Commit

Permalink
[cherry-pick] add head file for memcpy (#3653) add pip, python-dev (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
zhupengyang committed May 18, 2020
1 parent 5fdbc37 commit 9827cb8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/user_guides/source_compile.md
Expand Up @@ -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或以上版本)

###### 具体步骤
Expand All @@ -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
apt update
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
wget https://www.cmake.org/files/v3.10/cmake-3.10.3.tar.gz
Expand Down
1 change: 1 addition & 0 deletions lite/utils/cv/paddle_image_preprocess.cc
Expand Up @@ -14,6 +14,7 @@

#include "lite/utils/cv/paddle_image_preprocess.h"
#include <math.h>
#include <string.h>
#include <algorithm>
#include <climits>
#include "lite/utils/cv/image2tensor.h"
Expand Down

0 comments on commit 9827cb8

Please sign in to comment.