update readmd

This commit is contained in:
LKKlein 2020-11-03 20:58:42 +08:00
parent f8c70ed19c
commit b9e7990628
1 changed files with 2 additions and 1 deletions

View File

@ -179,11 +179,12 @@ build/fluid_inference_c_install_dir
└── version.txt
```
其中`paddle`就是Paddle库的C语言预测API`version.txt`中包含当前预测库的版本信息。最后将C推理库的动态库和静态库配置到环境变量。
其中`paddle`就是Paddle库的C语言预测API`version.txt`中包含当前预测库的版本信息。最后将C推理库及头文件配置到环境变量。
```shell
echo "export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PADDLE_ROOT/build/fluid_inference_c_install_dir/paddle/lib" >> ~/.bashrc
echo "export LIBRARY_PATH=$LIBRARY_PATH:$PADDLE_ROOT/build/fluid_inference_c_install_dir/paddle/lib" >> ~/.bashrc
echo "export C_INCLUDE_PATH="$C_INCLUDE_PATH:$PADDLE_ROOT/build/fluid_inference_c_install_dir/paddle/include"" >> ~/.bashrc
souce ~/.bashrc
```