From: Zbigniew B. <zbi...@ho...> - 2006-02-22 10:24:33
|
Dear All, Did somebody manage to succesfully compile Quantlib-SWIG for C#/VS2003 ? I am trying to do so, but without success. I am using the following packages: - Boost 1.33.1 - QuantLib-0.3.11 (also tried cvs checkout version) - QuantLib-SWIG cvs checkout - swigwin-1.3.28 The errors I am receiving are as follows: 1) c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\algorithm(31): error C2678: binary '==' : no operator found which takes a left-hand operand of type 'std::allocator<_Ty>::value_type' (or there is no acceptable conversion) with [ _Ty=QuantLib::Callability ] 2) Source file 'C:\Dev\QuantLib\QuantLib-SWIG\CSharp\csharp\ExtendedDiscountCurve.cs' could not be opened ('The system cannot find the file specified. ') 2) Source file 'C:\Dev\QuantLib\QuantLib-SWIG\CSharp\csharp\SWIGTYPE_p_GenericStochasticProcess.cs' could not be opened ('The system cannot find the file specified. ') After I define a fake operator== for Callablity class, then the first error is gone, but I do not think that this is a good idea at all to modify the codes this way. Also, seems taht ExtendedDiscountCurve interface definition is missing from QuantLib-SWIG\SWIG folder. Seems like I am not using the right versions of the packages mentioned above. Could somebody comment this, please ? Thank you in advance for your help, Zbigniew Babiej, MarketXS. _________________________________________________________________ Don't just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/ |