Boost compilation error cstddef: No such file or directory

When I want to use boost, I encounter a compilation error, also can not find cstddefin /usr/include/boost:

In file included from server.c:10:0:
/usr/include/boost/config/select_stdlib_config.hpp:17:19: fatal error: cstddef: No such file or directory
compilation terminated.

In Ubuntu 12.

+4
source share

All Articles