|
Boost Users : |
From: Chris Fairles (chris.fairles_at_[hidden])
Date: 2007-06-19 08:06:54
RHEL5, Boost 1.34.0, GCC 4.1.1
Boost headers are installed under /usr/include
echo "#include <boost/tr1/type_traits.hpp>" > test.cpp
g++ -c test.cpp
In file included from /usr/include/boost/tr1/type_traits.hpp:8,
from test.cpp:1:
/usr/include/boost/tr1/detail/config.hpp:58:26: error: no include path
in which to search for utility
from /usr/include/boost/tr1/type_traits.hpp:8
6 #ifndef BOOST_TR1_TYPE_TRAITS_HPP_INCLUDED
7 # define BOOST_TR1_TYPE_TRAITS_HPP_INCLUDED
8 # include <boost/tr1/detail/config.hpp>
/usr/include/boost/tr1/detail/config.hpp:58:26
37 #if defined(__GNUC__) && !defined(BOOST_HAS_INCLUDE_NEXT)
38 # define BOOST_HAS_INCLUDE_NEXT
39 #endif
...
53 #ifdef BOOST_HAS_INCLUDE_NEXT
54 # ifndef BOOST_TR1_NO_RECURSION
55 # define BOOST_TR1_NO_RECURSION
56 # define BOOST_TR1_NO_CONFIG_RECURSION
57 # endif
58 # include_next <utility>
Have I configured something wrong? Or am I not just not using the
Boost tr1 headers correctly?
Chris
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net