quantlib first compilation

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

quantlib first compilation

BoB79
Hi all, I am new to quantlib (as well as C++).
I have been trying to compile the quantlib (9.0) project using Visual C++ 9.0.
- I have installed the boost library (1.35) from:
http://www.boost-consulting.com/products/free
and added it to the include path. - I edited ql/config.msvc.hpp for VC9.0 use
I ended up with the following erros. Any hint is welcome.
Thanks

COMPILATION ERRORS:
1)tracing.cpp
\Visual Studio 2008\Projects\QuantLib-0.9.0\ql/utilities/tracing.hpp(66) : error C2990: 'QuantLib::Singleton' : non-class template has already been declared as a class template \Visual Studio 2008\Projects\QuantLib-0.9.0\ql/patterns/singleton.hpp(53) : see declaration of 'QuantLib::Singleton' \Visual Studio 2008\Projects\QuantLib-0.9.0\ql/utilities/tracing.hpp(66) : error C2059: syntax error : '<' \Visual Studio 2008\Projects\QuantLib-0.9.0\ql/utilities/tracing.hpp(66) : error C2238: unexpected token(s) preceding ';' dataparsers.cpp
2)cashflowvectors
BSCMAKE: error BK1506 : cannot open file '.\build\vc80\Debug CRTDLL\cashflowvectors.sbr': No such file or directory
Reply | Threaded
Open this post in threaded view
|

Re: quantlib first compilation

Eric Ehlers-2
Hello,

On Tue, June 17, 2008 11:46, bbouaziz wrote:
>
> Hi all,
>
> I am new to quantlib (as well as C++).

Tackling C++ and QuantLib at the same time is ambitious and it
might be better to spend some time on C++ alone before coming
back to QuantLib.

> I have been trying to compile the quantlib (9.0) project using
> Visual C++ 9.0.

QuantLib version 0.9.0 does not support VC9.  Your options are

1) Hack QuantLib 0.9.0 for VC9 support as described here

   http://dave-programming.blogspot.com/2008/02/how-to-build-quantlib-090-using-visual.html

2) Use QuantLib 0.9.0 and VC8

3) Wait for QuantLib 0.9.5, which will support VC9

Regards,
Eric

-------------------------
Eric Ehlers
nazcatech sprl | Brussels | http://www.nazcatech.be
Distributed computing for pricing analytics - Use Microsoft
Excel as a client to the Grid


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users