Quantlib & Visual Studio 2008

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

Quantlib & Visual Studio 2008

hughchristensen

Trying to get Quantlib 0.9.0 compiling in Visual Studio 2008.

 

I convert the provided “QuantLib_vc8.sln” from 2005 to 2008.

 

I download BOOST and reference the path for the header’s.

 

I get an error message saying the library doesn’t support this complier. What am I doing wrong?

 

I note what the it says at: http://quantlib.org/reference/config.html

 

And see that in auto_link.hpp

 

// select toolset:

#if (_MSC_VER < 1310)

#  error "unsupported Microsoft compiler"

#elif (_MSC_VER == 1310)

#  define QL_LIB_TOOLSET "vc71"

#elif (_MSC_VER == 1400)

#  define QL_LIB_TOOLSET "vc80"

#elif (_MSC_VER == 1500)

#  define QL_LIB_TOOLSET "vc90"

 

The header config.msvc.hpp also warns me about _MSC_VER >= 1300

 

Any help gratefully received.


-------------------------------------------------------------------------
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
Reply | Threaded
Open this post in threaded view
|

Re: Quantlib & Visual Studio 2008

Luigi Ballabio
On Wed, 2008-03-05 at 16:33 +0000, [hidden email] wrote:
> Trying to get Quantlib 0.9.0 compiling in Visual Studio 2008.
> I convert the provided “QuantLib_vc8.sln” from 2005 to 2008.
> I download BOOST and reference the path for the header’s.
> I get an error message saying the library doesn’t support this
> complier. What am I doing wrong?

Is the error from a QuantLib header or a Boost one? What's the complete
error message?

Luigi


--

Every solution breeds new problems.
-- unknown



-------------------------------------------------------------------------
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
Reply | Threaded
Open this post in threaded view
|

Re: Quantlib & Visual Studio 2008

Dave Compton-2
In reply to this post by hughchristensen
 <hughchristensen <at> hotmail.com> writes:

>
> Trying to get Quantlib 0.9.0 compiling in Visual Studio
> 2008.
>

Here are links to detailed instructions on how to build boost 1.34.1 and
quantlib 0.9.0 using Visual Studio 2008 Express. If you think anything should be
added or clarified in these instructions, please let me know so that I can make
improvements.

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

- Dave


-------------------------------------------------------------------------
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
Reply | Threaded
Open this post in threaded view
|

Re: Quantlib & Visual Studio 2008

hughchristensen
Does anyone know when the VS 2008 compatible versions of quantlib and Boost
are being released?

Thanks

Hugh

http://dave-programming.blogspot.com/2008/02/how-to-build-boost-1341-with-vi
sual.html
http://dave-programming.blogspot.com/2008/02/how-to-build-quantlib-090-using
-visual.html





-------------------------------------------------------------------------
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
Reply | Threaded
Open this post in threaded view
|

Re: Quantlib & Visual Studio 2008

Fabrice_CBA
Hi Hugh

>From what I've read, Boost's next release should be available in a
couple of months, maybe less, assuming the regression testing goes ok.
For the moment the testing for vs 9.0 seems to be ok. (Check boost's
mailing list and regression test advancement for a more precise idea of
when will the next release be available)

Quantlib next release (0.9.5) should be available in April-May. Assuming
Boost has become VS 9.0 compatible, and that there is no big
compatibility problems between Boost and Quantlib, this version should
be VS 9.0 compatible. If some problems appears or if Boost is still not
out (doubtful but we never know), we may have to wait until summer for a
0.9.9 version.

In the mean time, the two links you provided explains just perfectly and
in a very simple way how to build boost and quantlib for VS 9.0.

Amicalement,
Fabrice

-----Original Message-----
From: [hidden email]
[mailto:[hidden email]] On Behalf Of
[hidden email]
Sent: Saturday, 8 March 2008 3:21 AM
To: [hidden email]
Subject: Re: [Quantlib-users] Quantlib & Visual Studio 2008

Does anyone know when the VS 2008 compatible versions of quantlib and
Boost are being released?

Thanks

Hugh

http://dave-programming.blogspot.com/2008/02/how-to-build-boost-1341-wit
h-vi
sual.html
http://dave-programming.blogspot.com/2008/02/how-to-build-quantlib-090-u
sing
-visual.html





------------------------------------------------------------------------
-
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

************** IMPORTANT MESSAGE *****************************      
This e-mail message is intended only for the addressee(s) and contains information which may be
confidential.
If you are not the intended recipient please advise the sender by return email, do not use or
disclose the contents, and delete the message and any attachments from your system. Unless
specifically indicated, this email does not constitute formal advice or commitment by the sender
or the Commonwealth Bank of Australia (ABN 48 123 123 124) or its subsidiaries.
We can be contacted through our web site: commbank.com.au.
If you no longer wish to receive commercial electronic messages from us, please reply to this
e-mail by typing Unsubscribe in the subject line.
**************************************************************




-------------------------------------------------------------------------
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