Boost logo

Boost-Build :

Subject: [Boost-build] problem while building hello Boost project
From: antonio a (antonioas_at_[hidden])
Date: 2015-01-23 06:13:04


Hi,

I am new to boost unit test tool.
I was trying to build the library linked version so using:

# libboost_unit_test_framework

and one of these:

#.../Boost/boost_1_53_0/GCC_4_6_3/boost/test/unit_test.hpp
#.../Boost/boost_1_53_0/GCC_4_8_2/boost/test/unit_test.hpp
#.../Boost/boost_1_53_0/GCC_4_8_2/lib/lib_without_fPIC/include/boost/test/unit_test.hpp
#.../Boost/boost_1_53_0/boost/test/unit_test.hpp

All of these header generates this error:

make all
gcc -O2 -DNDEBUG -I./ -I/.../Boost/boost_1_53_0/ -Wall -c boost_test.c
In file included from /.../Boost/boost_1_53_0/boost/call_traits.hpp:21:0,
                 from /.../Boost/boost_1_53_0/boost/test/utils/class_properties.hpp:26,
                 from /.../Boost/boost_1_53_0/boost/test/predicate_result.hpp:19,
                 from /.../Boost/boost_1_53_0/boost/test/test_tools.hpp:19,
                 from /.../Boost/boost_1_53_0/boost/test/unit_test.hpp:19,
                 from boost_test.c:3:
/.../Boost/boost_1_53_0/boost/detail/call_traits.hpp:24:19: fatal error: cstddef: No such file or directory

Do you have any idea?
I tried to add manually this cstddef but then I get other similar errors.

thank you very much

antonio
                                               



Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk