|
From: Cay C. O. <cay...@fr...> - 2023-05-18 12:05:19
|
Dear Shim, Thanks for using QuantLib. So it is common wisdom that you should never change a dependent library, unless - on the very rare occasion - you are forced to. I don't think this is the case here. So please don't change the QuantLib code (benefitting you as well as your employer), and maybe start reading one book about basic programming practices. Or take a course. Or watch a YouTube video. Or... It certainly wouldn't hurt. Best regards, Cay On 15.05.23 17:05, Donghee Shim wrote: > > Dear all of experts! > > My previous colleague had developed some programs for evaluating > non-standard financial products (not included in QuantLib) using > QuantLib with a test-suite approach! He named these code as > analyticresolver. I’m trying to include a simple fixedratebond code to > this analyticresolver for my training exercise. When I built with > Cmake , errors (Days, Months, Years are not declared) occurred at both > instruments/bond.cpp and time/daycounter/actualactual.cpp. When I > included time/all.hpp at corresponding instruments/bond.hpp and > time/daycounter/actualactual.hpp, the same errors occurred. (I changed > the namespace QuantLib as anlyticsolver for every code files.) > > How can I fix this problem? > > Thanks!!! > |