I tried to compile dcmtk on alpine but since it uses uclibc there's some issues.
/dcmtk/config/tests/../math.cc:88:12: error: '::isnan' has not
been declared
return ::isnan(f);
I tried it with various versions of gcc (6 and 5) but it looks like ublibc is the issue. May be use std::isnan or some other solution?
isnan issue on uclibc (e.g. alpine docker)
Moderator: Moderator Team
-
- DCMTK Developer
- Posts: 2506
- Joined: Tue, 2011-05-03, 14:38
- Location: Oldenburg, Germany
- Contact:
Re: isnan issue on uclibc (e.g. alpine docker)
Did you already try out the latest DCMTK release, i.e. version 3.6.3?
And, do you use Autoconf (aka configure) or CMake on your system?
And, do you use Autoconf (aka configure) or CMake on your system?
-
- DCMTK Developer
- Posts: 2051
- Joined: Fri, 2004-11-05, 13:47
- Location: Oldenburg, Germany
- Contact:
Re: isnan issue on uclibc (e.g. alpine docker)
Since there was a related problem reported on github. I checked in the patch suggested there.
Have a look whether it also solves your problem (if not already solved before in case you used an older DCMTK version). The patch will be visible on DCMTK master in a few days once it successfully ran through our build and testing platform.
Best,
Michael
Have a look whether it also solves your problem (if not already solved before in case you used an older DCMTK version). The patch will be visible on DCMTK master in a few days once it successfully ran through our build and testing platform.
Best,
Michael
Who is online
Users browsing this forum: Google [Bot] and 1 guest