Boost logo

Boost Users :

From: Chetan Gadgil (cgadgil_list_at_[hidden])
Date: 2004-01-12 03:51:27

If you are using gcc or cc like compilers on *nix like systems, you need
to use the "-I" flag of the compiler and point it to the base directory
where you see "boost/".

It will help if you gain familiarity with the standard compilers and
compiler options.

> -----Original Message-----
> From: boost-users-bounces_at_[hidden]
> [mailto:boost-users-bounces_at_[hidden]] On Behalf Of
> jling_at_[hidden]
> Sent: Monday, January 12, 2004 11:58 AM
> To: boost-users_at_[hidden]
> Subject: [Boost-users] Boost Include headers
> 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?
> Thanks,
> John
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
>> ost-users

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at