« Return to Thread: quantlib first compilation

quantlib first compilation

by BoB79 :: Rate this Message:

Reply to Author | View in Thread

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

 « Return to Thread: quantlib first compilation

LightInTheBox - Buy quality products at wholesale price!