Re: error: unknown microsoft compiler

Posted by Luigi Ballabio on
URL: http://quantlib.414.s1.nabble.com/error-unknown-microsoft-compiler-tp8095p8097.html

On Fri, 2010-04-30 at 02:21 -0700, simoncourtenage wrote:
> I've built and installed QuantLib 1.0.1 with Microsoft Visual C++ 2010
> Express.  I'm trying to get the simple example code from this page
> http://quantlib.org/install/vc9.shtml up and running.  However, when I try
> to build the sample project QuantLibTest, I get the following error message:
>
> C:\Program Files\QuantLib-1.0.1\QuantLib-1.0.1\ql/config.msvc.hpp(93): fatal
> error C1189: #error :  "unknown Microsoft compiler"

Hi Simon,
        Visual C++ Express 2010 wasn't out yet (or I wasn't aware of it) when
we packaged the release, so it's not recognized.  May you try applying
the attached patch to ql/config.msvc.hpp and see whether it works?

Thanks,
        Luigi


--

Westheimer's Discovery:
A couple of months in the laboratory can frequently save a
couple of hours in the library.


------------------------------------------------------------------------------

_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users

2010test.patch (553 bytes) Download Attachment