fatal error: crypto/cipher.h
Created by: pmajchrzak
Seems that this commit: https://github.com/PaddlePaddle/Paddle/commit/3b8f0a64c2e71d6bfa748b90d214e1f97159a5c1 causes CMake build error:
Scanning dependencies of target inference
[ 50%] Building CXX object CMakeFiles/inference.dir/inference.cc.o
In file included from /repos/paddle_paddle/build/fluid_install_dir/paddle/fluid/inference/paddle_analysis_config.h:39:0,
from /repos/paddle_paddle/build/fluid_install_dir/paddle/fluid/inference/paddle_inference_api.h:29,
from /root/models/benchmark/Inference/c++/ernie/inference.cc:26:
/repos/paddle_paddle/build/fluid_install_dir/paddle/fluid/inference/paddle_api.h:30:27: fatal error: crypto/cipher.h: No such file or directory
compilation terminated.
this error applies build_CAPI_ernie (/root/models/benchmark/Inference/c++/ernie/)
cmake .. -DPADDLE_ROOT=/repos/paddle_paddle/build/fluid_install_dir -DUSE_GPU=OFF