文档错误!
Created by: 60999
https://github.com/PaddlePaddle/PaddleX/blob/develop/docs/tutorials/deploy/deploy_server/deploy_cpp/deploy_cpp_linux.md “ 编译cmake的命令在scripts/build.sh中,请根据实际情况修改主要参数,其主要内容说明如下:” 这段说清楚 scripts/build.sh 是在哪个目录下的, 如果是PaddleX-develop/deploy/cpp/scripts 下,则.sh文件需要权限,此处没有,增加权限 chmod 777 *.sh后
scripts/build.sh中
PADDLE_DIR=/path/to/fluid_inference/
这路径怎么来的?
Step2: 中:
“下载并解压后/root/projects/fluid_inference” 那么此处路径是 “/root/projects/fluid_inference”
“
执行build脚本:
sh ./scripts/build.sh”
路径也不写清楚,举个例子也好!
下面执行:
/PaddleX-develop/deploy/cpp/scripts $ ./build.sh sh: 0: Can't open /home/pi/PaddleX-develop/deploy/cpp/scripts/scripts/bootstrap.sh sh: 0: Can't open /home/pi/PaddleX-develop/deploy/cpp/scripts/scripts/bootstrap.sh CMake Error: The source directory "/home/pi/PaddleX-develop/deploy/cpp/scripts" does not appear to contain CMakeLists.txt. Specify --help for usage, or press the help button on the CMake GUI. make: *** No targets specified and no makefile found. Stop.
“sh: 0: Can't open /home/pi/PaddleX-develop/deploy/cpp/scripts/scripts/bootstrap.sh”
里面俩scripts/scripts/ 怎么出来的?
文档能否写的清楚点,都好好测试下,开发人员安心写代码,测试人员好好测试写文档。