(no subject)

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

(no subject)

Vigen Isayan
Hi all,

My question is if we can install Boost 1.55.0 and QuantLib 1.3 on Visual Studio 2012.
The reason I am asking because I tried following the tutorial given by Felix in QuantNet and when I build QuantLib.sln it gives me several compilation errors.
Here are the first few:

1>c:\users\vigen\quantlib-1.3\ql\qldefines.hpp(37): fatal error C1083: Cannot open include file: 'boost/config.hpp': No such file or directory (ql\cashflows\cpicoupon.cpp)

1>c:\users\vigen\quantlib-1.3\ql\qldefines.hpp(37): fatal error C1083: Cannot open include file: 'boost/config.hpp': No such file or directory (ql\experimental\finitedifferences\dynprogvppintrinsicvalueengine.cpp)

1>c:\users\vigen\quantlib-1.3\ql\qldefines.hpp(37): fatal error C1083: Cannot open include file: 'boost/config.hpp': No such file or directory (ql\experimental1>------ Build started: Project: QuantLib, Configuration: Debug Win32 ------

\finitedifferences\fdextoujumpvanillaengine.cpp)

1>c:\users\vigen\quantlib-1.3\ql\qldefines.hpp(37): fatal error C1083: Cannot open include file: 'boost/config.hpp': No such file or directory (ql\cashflows\cpicouponpricer.cpp)
1> fdklugeextouspreadengine.cpp
1> fdmblackscholesfwdop.cpp
1> fdmextendedornsteinuhlenbeckop.cpp
1> fdmextoujumpop.cpp


Thanks in advance,
Wagner

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: (no subject)

cheng li
you have to add boost installed directory in the project property.

发自我的 iPad

> 在 2013年12月21日,9:54,Vigen Isayan <[hidden email]> 写道:
>
> Hi all,
>
> My question is if we can install Boost 1.55.0 and QuantLib 1.3 on Visual Studio 2012.
> The reason I am asking because I tried following the tutorial given by Felix in QuantNet and when I build QuantLib.sln it gives me several compilation errors.
> Here are the first few:
>
> 1>c:\users\vigen\quantlib-1.3\ql\qldefines.hpp(37): fatal error C1083: Cannot open include file: 'boost/config.hpp': No such file or directory (ql\cashflows\cpicoupon.cpp)
>
> 1>c:\users\vigen\quantlib-1.3\ql\qldefines.hpp(37): fatal error C1083: Cannot open include file: 'boost/config.hpp': No such file or directory (ql\experimental\finitedifferences\dynprogvppintrinsicvalueengine.cpp)
>
> 1>c:\users\vigen\quantlib-1.3\ql\qldefines.hpp(37): fatal error C1083: Cannot open include file: 'boost/config.hpp': No such file or directory (ql\experimental1>------ Build started: Project: QuantLib, Configuration: Debug Win32 ------
>
> \finitedifferences\fdextoujumpvanillaengine.cpp)
>
> 1>c:\users\vigen\quantlib-1.3\ql\qldefines.hpp(37): fatal error C1083: Cannot open include file: 'boost/config.hpp': No such file or directory (ql\cashflows\cpicouponpricer.cpp)
> 1> fdklugeextouspreadengine.cpp
> 1> fdmblackscholesfwdop.cpp
> 1> fdmextendedornsteinuhlenbeckop.cpp
> 1> fdmextoujumpop.cpp
>
>
> Thanks in advance,
> Wagner
> ------------------------------------------------------------------------------
> Rapidly troubleshoot problems before they affect your business. Most IT
> organizations don't have a clear picture of how application performance
> affects their revenue. With AppDynamics, you get 100% visibility into your
> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
> _______________________________________________
> QuantLib-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quantlib-users

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: (no subject)

Smith, Dale (Norcross)
In reply to this post by Vigen Isayan

Yes, I’ve compiled using Boost 1.55 and QuantLib 1.3 in VS 2012 x64.

 

I think you should examine whether you have set the include file location properly for all configurations (Debug and Release). See the solution Properties | C/C++ Properties | General | Additional Include Directories.

 

Client code must set Linker |General | Additional Library Directories and Linker | Input | Additional Dependencies.

 

After you change these, do a Rebuild All.

 

Dale Smith, Ph.D.

Senior Financial Quantitative Analyst

Financial & Risk Management Solutions

Fiserv

Office: 678-375-5315

www.fiserv.com

 

From: Vigen Isayan [mailto:[hidden email]]
Sent: Friday, December 20, 2013 8:55 PM
To: [hidden email]
Subject: [Quantlib-users] (no subject)

 

Hi all,

 

My question is if we can install Boost 1.55.0 and QuantLib 1.3 on Visual Studio 2012.

The reason I am asking because I tried following the tutorial given by Felix in QuantNet and when I build QuantLib.sln it gives me several compilation errors.

Here are the first few:

 

1>c:\users\vigen\quantlib-1.3\ql\qldefines.hpp(37): fatal error C1083: Cannot open include file: 'boost/config.hpp': No such file or directory (ql\cashflows\cpicoupon.cpp)

1>c:\users\vigen\quantlib-1.3\ql\qldefines.hpp(37): fatal error C1083: Cannot open include file: 'boost/config.hpp': No such file or directory (ql\experimental\finitedifferences\dynprogvppintrinsicvalueengine.cpp)

1>c:\users\vigen\quantlib-1.3\ql\qldefines.hpp(37): fatal error C1083: Cannot open include file: 'boost/config.hpp': No such file or directory (ql\experimental1>------ Build started: Project: QuantLib, Configuration: Debug Win32 ------

\finitedifferences\fdextoujumpvanillaengine.cpp)

1>c:\users\vigen\quantlib-1.3\ql\qldefines.hpp(37): fatal error C1083: Cannot open include file: 'boost/config.hpp': No such file or directory (ql\cashflows\cpicouponpricer.cpp)
1> fdklugeextouspreadengine.cpp
1> fdmblackscholesfwdop.cpp
1> fdmextendedornsteinuhlenbeckop.cpp
1> fdmextoujumpop.cpp

 

 

Thanks in advance,

Wagner


------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users