|
From: Jonathan S. <sw...@gm...> - 2023-05-15 20:52:43
|
Hi Donghee, Are you modifying the QuantLib source files directly? If so, then that’s not the usual way to use the library. Usually what you should do is build the library first, and then use that in your project by including the headers and linking with it. If that’s not what you’re doing then I’ll need to see the complete build log to provide more help. By the way, did you know that QuantLib is also available in python? It might be faster to prototype your training exercise in python if you haven’t tried yet. 2023년 5월 16일 (화) 00:08, Donghee Shim <dh7...@gm...>님이 작성: > 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!!! > _______________________________________________ > QuantLib-users mailing list > Qua...@li... > https://lists.sourceforge.net/lists/listinfo/quantlib-users > |