Install PaddlePaddle error in docker
Created by: gmcather
In file included from /paddle2/Paddle/paddle/fluid/framework/type_defs.h:23:0,
from /paddle2/Paddle/paddle/fluid/framework/attribute.h:24,
from /paddle2/Paddle/paddle/fluid/framework/op_desc.h:19,
from /paddle2/Paddle/paddle/fluid/framework/block_desc.h:23,
from /paddle2/Paddle/paddle/fluid/platform/device_tracer.cc:23:
/paddle2/Paddle/paddle/fluid/platform/variant.h:30:28: fatal error: boost/config.hpp: No such file or directory
compilation terminated.
I tried to install paddle in docker, but error happened, here is my scripts
docker pull docker.paddlepaddlehub.com/paddle:latest-dev
docker run -dit -v $PWD/paddle:/paddle --name paddle docker.paddlepaddlehub.com/paddle:latest-dev bash
docker exec -it paddle bash
git clone https://github.com/PaddlePaddle/Paddle.git
mkdir build && cd build
cmake .. -DWITH_GPU=OFF -DWITH_GOLANG=OFF -DWITH_STYLE_CHECK=ON -DCMAKE_INSTALL_PREFIX=$PWD/output
make -j40