Boost logo

Boost Users :

Subject: Re: [Boost-users] Compiling Boost Libraries
From: Good Guy (xfsgpr_at_[hidden])
Date: 2018-01-19 02:34:02


On 18/01/2018 05:55, Edward Diener via Boost-users wrote:
> On 1/18/2018 12:32 AM, Good Guy via Boost-users wrote:
>> How do you guys compile Boost libraries in your project when all the
>> header files are linked using angle brackets?
>>
>> For example in Visual Studio and C++ builder (Embarcadero) a link
>> such as:
>>
>> #include <boost/config.hpp>
>>
>> won't compile but a link such as:
>>
>> #include "boost/config.hpp"
>>
>> Has no problems.
>>
>> How are we suppose to change the files so that there is no such
>> problems.
>>
>> I would like to use only a few libraries in certain projects but
>> changing the files is going to take a heck of a ling time bearing in
>> my mind some files contains nested headers!!
>>
>> Am I missing something here. Surely there must a be a solution
>> because these libraries have been going on since 1999!!
>
> You add to your IDE's include path wherever you installed the
> particular Boost release you want to use. Then the form of
> <boost/config.hpp> find that header file relative to that include path.
>
>

I am using VS code and compiling the code using Embarcadero bcc32c.exe.

OK I'll try using Visual Studio Community Edition to see if it works for
me. I want to get used to using Boost and learn something new from the
libraries and perhaps create something useful from them.

Thanks for the response.


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