I want to use Boost.Beast
https://github.com/boostorg/beast
and I put header to C file.
sample.c
#include <boost/beast.hpp>
and compiled it.but not working
$ gcc sample.c
sample.c:1:10: fatal error: boost/beast.hpp: No such file or directory
1 | #include <boost/beast.hpp>
| ^~~~~~~~~~~~~~~~~
compilation terminated.
How to solve this? Teach me please.
*later add
I am using Ubuntu 20.04 on Intel
$ git clone --recursive https://github.com/boostorg/boost.git
$ cd beast/
$./bootstrap.sh
$vim sample.c
$ gcc sample.c
sample.c:1:10: fatal error: boost/beast.hpp: No such file or directory
1 | #include <boost/beast.hpp>
| ^~~~~~~~~~~~~~~~~
compilation terminated.