Re: Problem on QuantLib with /Clr support enabled

Posted by weysy on
URL: http://quantlib.414.s1.nabble.com/Problem-on-QuantLib-with-Clr-support-enabled-tp5783p5790.html

It is working perfectly now with the advice below.
I will be following the discussion.
thank so much for the prompt reply!


Nathan Abbott wrote
I just tested the EquityOption project of QuantLib 0.9.0 with Boost
1.34.1and Visual C++ 2005. The project works with both the \clr
support on and
off. My suggestion is that you comment lines 69 and 71 in the singleton.hppfile.
For example.

//#if defined(QL_PATCH_MSVC) && defined(_MANAGED)
inline  // this seems to be required when CLR support is enabled
 //#endif


Then you should recomple QuantLib. It should work after that.