Re: need help running EquityOption.cpp on VS 2008

Posted by Nick Procyk on
URL: http://quantlib.414.s1.nabble.com/need-help-running-EquityOption-cpp-on-VS-2008-tp5726p5729.html

I was able to successfully build boost 1.34.1 with Visual Studio 2008.
 I then followed Dave's instructions as per
http://dave-programming.blogspot.com/2008/02/how-to-build-quantlib-090-using-visual.html

However I cannot build QuantLib_vc8.sln from VS 2008 Professional
Edition (it's definitely not Express, I think it's Pro version).  I
get a number of these errors for all the projects in the QuantLib_vc8
solution.

fatal error C1189: #error :  "unknown Microsoft
compiler" quantlib-0.9.0\quantlib-0.9.0\ql\config.msvc.hpp
DiscreteHedging
error BK1506 : cannot open file '.\build\vc80\Debug
CRTDLL\DiscreteHedging.sbr': No such file or directory  BSCMAKE
DiscreteHedging

Thanks in advance,
Nick


On Sat, Mar 22, 2008 at 9:24 AM, Nick Procyk <[hidden email]> wrote:

> Thank you Luigi for replying to my query.  I opened QuantLib_vc8.sln
> in QuantLib-0.9.0.  I added an include to my boost/ folder but I'm
> still getting the following error.
>
> fatal error C1083: Cannot open include file: 'boost/config.hpp': No
> such file or directory  \QuantLib-0.9.0\QuantLib-0.9.0\ql\qldefines.hpp
>
> I'm confused about boost --- do I need to compile it or is just enough
> to download, unzip and reference it from VS 2008?
>
> Nick
>
>
>
>
> On Sat, Mar 22, 2008 at 8:23 AM, Luigi Ballabio
> <[hidden email]> wrote:
> >
> > On Mar 21, 2008, at 11:57 PM, Nick Procyk wrote:
> > > I'm trying to run QL using VS 2008 on Vista.  In particular, I'm
> > > interested in the EquityOption.cpp example.  I've installed doxygen,
> > > boost_1_34_1, and the Microsoft Windows SDK for Visual Studio 2008.  I
> > > opened gensrc_vc8.sln and upgraded to VS 2008 via the conversion
> > > wizard.
> > >
> > > I get the following 2 errors when I try to build:
> > >
> > > fatal error U1077: '"C:\Program Files\doxygen\bin\doxygen.exe"' :
> > > return code '0x1'
> > > error PRJ0019: A tool returned an error code from "Performing Makefile
> > > project actions"      docs
> >
> > Hi Nick,
> >        if you're interested in the C++ examples, you don't need gensrc (it's
> > a component of the addins.)  Just download QuantLib 0.9.0 and convert
> > QuantLib_vc8.sln.  Dave's advice on using VC 2008 should work for
> > that---let us know if you get stuck.
> >
> > Luigi
> >
> >
>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users