Re: Info re: Building QuantLib/QuantLibAddin libraries on Windows 64-bit Platforms
Posted by jberle on
URL: http://quantlib.414.s1.nabble.com/Info-re-Building-QuantLib-QuantLibAddin-libraries-on-Windows-64-bit-Platforms-tp379p380.html
I'm also trying to build QuantLibXL on a Windows 64-bit platform (VS 2010 x64). I have previously built QuantLib without any major issues, but I'm stuck when trying to get QuantLibXL to build. I followed your guidelines, but I'm not able to get rid of all the errors. This is the final error that I'm not able to get rid of (Same error occurs for several different source files):
8>C:\build_ql_1_1_0\ObjectHandler\oh/conversions/convert2.hpp(32): error C2738: 'operator QuantLib::Natural' : is ambiguous or is not a member of 'ObjectHandler::ConvertOper'
8> C:\build_ql_1_1_0\ObjectHandler\ohxl/convert_oper.hpp(50) : see declaration of 'ObjectHandler::ConvertOper'
8> C:\build_ql_1_1_0\ObjectHandler\oh/conversions/convert2.hpp(55) : see reference to function template instantiation 'value_t ObjectHandler::convert2<value_t,container_t>(const container_t &)' being compiled
8> with
8> [
8> value_t=QuantLib::Natural,
8> container_t=ObjectHandler::ConvertOper
8> ]
8> functions\ctsmmcapletcalibration.cpp(293) : see reference to function template instantiation 'value_t ObjectHandler::convert2<QuantLib::Natural,ObjectHandler::ConvertOper>(const container_t &,const std::string &,const value_t &)' being compiled
8> with
8> [
8> value_t=QuantLib::Natural,
8> container_t=ObjectHandler::ConvertOper
8> ]
Did you encounter the same error? I looked through the source files in the SVN depository to see if you made the updates you outlined, but I couldn't find anything. Can you elaborate on what changes you made to the conversion.cpp/hpp files?
Best regards
Jorgen