|
From: Chirag D. <chi...@ya...> - 2022-05-03 02:58:22
|
Thank you Jonathan for your kind advice.
I tried using VC PKG to install quantlib but I believe you cannot install it on Windows. I got the error message below.
Error: quantlib[core] is only supported on '!(windows & !static)'
On the website Compatibility, it indicates Windows supported. Can you confirm Windows is not supported and if you know when it might be possible ? Browse public vcpkg packages
|
|
| |
Browse public vcpkg packages
Explore vcpkg libraries to install
|
|
|
Thank you for your guidance
On Monday, May 2, 2022, 08:33:37 PM GMT+8, Jonathan Sweemer <sw...@gm...> wrote:
Hi Chirag,
Did you follow the instructions in the CMake output and 'Add the installation prefix of "QuantLib" to CMAKE_PREFIX_PATH or set "QuantLib_DIR" to a directory containing one of the above files'?
If C:/local/QuantLib-1.24/cmake-build-debug-visualstudio2017 is your CMake build directory, then the 'above files' will be found in the cmake directory under that build directory.
If that doesn't work then the best I can do is point you to the documentation on CMake config mode[1] and wish you luck, as I won't be able to offer much further help remotely.
By the way, the quantlib-vcpkg-example repo that you found is an example of how to link your project to QuantLib installed through vcpkg, which you haven't used. If you'd like to, you can try out vcpkg, and it may make your life easier in the long run, but be aware that it has a learning curve of its own to grapple with first.
[1] https://cmake.org/cmake/help/latest/command/find_package.html#config-mode-search-procedure
|