Login  Register

Re: QL_HEX_VERSION Version Number in version.hpp

Posted by Luigi Ballabio on Sep 17, 2010; 8:49am
URL: http://quantlib.414.s1.nabble.com/QL-HEX-VERSION-Version-Number-in-version-hpp-tp9287p9288.html

Ahmad,
        you're probably using the SWIG bindings from the Subversion repository.
Use QuantLib-SWIG 1.0, which works with QuantLib 1.0.1.

Luigi

On Thu, 2010-09-16 at 10:31 +0200, Ahmad Mahomed wrote:

> I'm not a C++ developer - but just wanted to make sure that the
> QL_HEX_VERSION  number is correct '0x010001f0' in version.hpp from the
> v1.0.1 download.
>
>
> The NQuantLibc for the SWIG C# bindings does not compile. The error is
> as follows:
>
>
>         \quantlib_wrap.cpp(345) : fatal error C1189: #error :  using
>         an old version of QuantLib, please update
>
>
> Changing Line 344 of 'quantlib_wrap.cpp' to the following works.
>
>
>         #if QL_HEX_VERSION < 0x010001f0//0x010100f0
>
>
>
> Regards,
>
> --
> Ahmad Mahomed
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________ QuantLib-dev mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-dev


--

No, I'm not interested in developing a powerful brain. All I'm after
is just a mediocre brain, something like the president of American
Telephone and Telegraph Company.
-- Alan Turing on the possibilities of a thinking machine, 1943.



------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev