Hello,
Having tried (and partly failed mostly because of JPEG decompression) to write my own DICOM parser in Xojo, I came across the dcmtk command line tools which are great.
I have installed the tools using Homebrew but they are Intel builds. Is it possible to add Apple Silicon (ARM) builds as well as I suspect they will be faster. I'm not a C++ programmer so I haven't been able to figure out how to build the binaries from source.
Apple Silicon Support?
Moderator: Moderator Team
Re: Apple Silicon Support?
Actually, I should say I tried to install dcmtk via Homebrew on my M1 Mac but got this error when trying to build it:
Code: Select all
==> Installing dcmtk
==> cmake -DBUILD_SHARED_LIBS=OFF ..
Last 15 lines from /Users/garry/Library/Logs/Homebrew/dcmtk/01.cmake:
20 errors generated.
make[1]: *** [CMakeFiles/cmTC_49da6.dir/arith.cc.o] Error 1
make: *** [cmTC_49da6/fast] Error 2
Call Stack (most recent call first):
CMakeLists.txt:58 (INSPECT_FUNDAMENTAL_ARITHMETIC_TYPES)
-
- OFFIS DICOM Team
- Posts: 1444
- Joined: Tue, 2004-11-02, 17:22
- Location: Oldenburg, Germany
- Contact:
Re: Apple Silicon Support?
Unfortunately the DCMTK team does not yet have access to an ARM based Mac (i.e. "Apple silicon"), so at this time there is not much we can do to help. Has any other user in this forum who reads this message already tried (and succeeded) in compiling DCMTK for MacOS on ARM?
Re: Apple Silicon Support?
You don't necessarily need an ARM based Mac to compile for Apple Silicon, you can cross compile from an Intel machine, and even create universal binaries if you pass this to the cmake command
Code: Select all
-D CMAKE_OSX_ARCHITECTURES="x86_64;arm64"
Who is online
Users browsing this forum: Ahrefs [Bot], Google [Bot] and 1 guest