usage (3) - Linux Manuals
usage - Usage To use QuantLib classes in your own code just add
Under the Examples folder you can find examples of QuantLib usage, including input files for automake and makefiles for the Borland free compiler and Microsoft Visual C++. For the latter, project files are also available.
Microsoft Visual C++
A few suggestions for Visual C++ users wanting to use QuantLib into their own application:
- you won't have to explicitly link your application to the QuantLib library. This is done automatically by compiler directives embedded in the sources.
- Your project must be compiled with the same options that were used in compiling the QuantLib library you're linking with, namely,
- Property Pages -> C/C++ -> Code Generation -> Runtime Library: select the appropriate run-time library.
- Property Pages -> C/C++ -> Code Generation -> Basic Runtime Checks: select 'Both (/RTC1, equiv. to /RTCsu)'.