What's the correct way to make QuantLib work with Boost?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

What's the correct way to make QuantLib work with Boost?

Yong C W
Hi again

        I am using Visual C++ to build QuantLib 0.3.7. After receiving the
error message that it could not find 'boost\version.hpp', I copied the whole
'C:\Boost\include\boost-1_31\boost\' folder into my QuantLib folder, and
then it worked. Is there a 'better' way? Thanks in advance.




Reply | Threaded
Open this post in threaded view
|

Re: What's the correct way to make QuantLib work with Boost?

erik-44
On Sun, 2004-08-01 at 10:02, Yong C W wrote:
> Hi again
>
> I am using Visual C++ to build QuantLib 0.3.7. After receiving the
> error message that it could not find 'boost\version.hpp', I copied the whole
> 'C:\Boost\include\boost-1_31\boost\' folder into my QuantLib folder, and
> then it worked. Is there a 'better' way? Thanks in advance.

Yes.  Add the path 'C:\Boost\include\boost-1_31' to your include
directories - under project properties / C/C++ / preprocessor.

Regards
Eric