Boost logo

Boost Users :

From: John Maddock (john_at_[hidden])
Date: 2004-01-12 06:25:37


> I need to include the following line in my code.
>
> #include "boost/type_traits/object_traits.hpp"
>
> My source file is in the root directory of the boost package that I
> extracted.
>
> But, I get errors like:
> boost/type_traits/object_traits.hpp:19: boost/type_traits/ice.hpp: No
> such file or directory
> boost/type_traits/object_traits.hpp:22: boost/type_traits/fwd.hpp: No
> such file or directory
> boost/type_traits/object_traits.hpp:25:
> boost/type_traits/composite_traits.hpp: No such file or directory
> etc ...
>
> I noticed that in say "boost/type_traits/ice.hpp" it also has header
> files it refers to, that look in "boost/type_traits/" directory, but
> relative to that header file, ice.hpp, there is no such directory path
> ... only from the root where my source file is, does that path exist.
>
> How does this work and how to I get my code to compile?

I think that your boost install is messed up somehow (maybe you have an old
version still in your path?) because that file no longer includes
boost/type_traits/ice.hpp - indeed did not do so in the last release.

John.


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