Login  Register

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

Posted by erik-44 on Aug 01, 2004; 5:13am
URL: http://quantlib.414.s1.nabble.com/What-s-the-correct-way-to-make-QuantLib-work-with-Boost-tp3132p3133.html

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