Hello,
I would like to use OrthancFramework in another project but I have some difficulties to build it as a shared library on windows.
Can you tell me cmake options I have to pass to make it works ?
Thanks.
Hello,
I would like to use OrthancFramework in another project but I have some difficulties to build it as a shared library on windows.
Can you tell me cmake options I have to pass to make it works ?
Thanks.
Hello,
As far as I’m concerned, I don’t provide support for Microsoft Visual Studio. Here is how I compile the Orthanc Framework for Windows by cross-compiling using MinGW under GNU/Linux:
$ cmake -DCMAKE_BUILD_TYPE=Release -DUSE_LEGACY_JSONCPP=ON
-DBOOST_LOCALE_BACKEND=icu -DUSE_LEGACY_LIBICU=ON
-DCMAKE_TOOLCHAIN_FILE=~/orthanc/OrthancFramework/Resources/Toolchains/MinGW-W64-Toolchain32.cmake
~/orthanc/OrthancFramework/SharedLibrary
HTH,
Sébastien-