[Debian-med-packaging] Bug#1039903: libinsighttoolkit5-dev: Forcing C++14 makes plastimatch FTBFS
Steven Robbins
steve at sumost.ca
Thu Jun 29 15:48:53 BST 2023
On Thu, 29 Jun 2023 13:40:42 +0300 Adrian Bunk <bunk at debian.org> wrote:
> 1153 | #error\
> | ^~~~~~
> 1154 | DCMTK was configured to use C++17 features, but your compiler does
not or was not configured to provide them.
> | ~~~~~
> ...
>
>
>
> This is due to:
> /usr/lib/x86_64-linux-gnu/cmake/ITK-5.3/ITKInitializeCXXStandard.cmake:
set(CMAKE_CXX_STANDARD 14) # Supported values are 14, 17, 20, and 23.
That is just the default. Override it for the plastimatch build by adding
set(CMAKE_CXX_STANDARD 17)
to the plastimatch CMakeLists.txt file.
-Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20230629/bc8bf5bc/attachment.sig>
More information about the Debian-med-packaging
mailing list