Boost logo

Boost Users :

From: John Ling (jling_at_[hidden])
Date: 2004-01-12 17:22:21


Thank you all, the -I did fix my problem.

Chetan Gadgil wrote:

>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]
>>http://lists.boost.org/mailman/listinfo.cgi/bo> ost-users
>>
>>
>>
>
>_______________________________________________
>Boost-users mailing list
>Boost-users_at_[hidden]
>http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
>


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