Hello Adrian,

> orthanc-neuro builds and links with the shared library when I remove the
> -DORTHANC_FRAMEWORK_USE_SHARED:BOOL=OFF, is there any reason why this
> would not work?

This would not work, because the libOrthancFramework.so shared library
is designed to share code between the Orthanc core and its plugin, and
has not a stable C++ ABI across versions of Orthanc. Static linking is
definitely needed here.

I think that the fix simply consists in adding "libpng-dev" and
"libjpeg-dev" to the "Depends" of "liborthancframwork-dev". These
dependencies were formerly part of "libdcmtk-dev", but have been
removed by the following changeset in the "debian/experimental"
branch, which breaks the packages that build-depend on
"liborthancframework-dev" since its reintegration into master:
https://salsa.debian.org/med-team/dcmtk/-/commit/f032735429e36f188aeac6e9002255ef00f743ab

Kind Regards,
Sébastien-

Reply via email to