Search found 50 matches

by gzhang
Wed, 2020-02-05, 14:40
Forum: DCMTK - Installation
Topic: Compilation error 3.6.5 with mingw64 gcc-8.1.0
Replies: 11
Views: 3266

Re: Compilation error 3.6.5 with mingw64 gcc-8.1.0

Thank you Jan!
I like Msys2 but I'd also like to keep MinGW aside and use the mingw64 build, just to stay independent to the upgrade of Msys2 itself.
by gzhang
Wed, 2020-02-05, 11:34
Forum: DCMTK - Installation
Topic: Compilation error 3.6.5 with mingw64 gcc-8.1.0
Replies: 11
Views: 3266

Re: Compilation error 3.6.5 with mingw64 gcc-8.1.0

To test even further, I switched to the MinGW in the Msys2 repository instead of MinGW-W64 repository, and it succeeded. So, it should be related to tool chain contained in different MinGW builds. In Msys2, it is a bit hard not to use the latest toolchain. The current version is 9.2.0 and the gcc co...
by gzhang
Tue, 2020-02-04, 15:07
Forum: DCMTK - Installation
Topic: Compilation error 3.6.5 with mingw64 gcc-8.1.0
Replies: 11
Views: 3266

Re: Compilation error 3.6.5 with mingw64 gcc-8.1.0

Just tried two things: (1) Msys2 + "MSYS Makefiles": cmake -DCMAKE_BUILD_TYPE:string=RELEASE -DWITH_TESTING:BOOL=ON --no-warn-unused-cli -DDCMTK_ENABLE_STL:BOOL=ON -DBUILD_SHARED_LIBS:BOOL=ON -G "MSYS Makefiles" -DDCMTK_WITH_XML:BOOL=OFF -DDCMTK_WITH_PNG:BOOL=OFF -DDCMTK_WITH_TIFF:BOOL=OFF -DDCMTK_W...
by gzhang
Tue, 2020-02-04, 11:23
Forum: DCMTK - Installation
Topic: Compilation error 3.6.5 with mingw64 gcc-8.1.0
Replies: 11
Views: 3266

Re: Compilation error 3.6.5 with mingw64 gcc-8.1.0

I was also doubting about that "-i".
Could it be something with MinGW makefiles? Or mingw64 itself? Because the error only occurs in Windows. I'm not using msys. Shall I copy the entire cmake output here?
For macOS and linux, "cmake+clang/gcc+make" goes without any problem.
Thanks!
by gzhang
Mon, 2020-02-03, 21:21
Forum: DCMTK - Installation
Topic: Compilation error 3.6.5 with mingw64 gcc-8.1.0
Replies: 11
Views: 3266

Re: Compilation error 3.6.5 with mingw64 gcc-8.1.0

Dear Jan, I got some further information. Firstly, I tried to configure with the same setting as you gave, except replacing "Unix Makefiles" with "MinGW Makefiles": cmake -DCMAKE_BUILD_TYPE:string=RELEASE -DWITH_TESTING:BOOL=ON --no-warn-unused-cli -DDCMTK_ENABLE_STL:BOOL=ON -DBUILD_SHARED_LIBS:BOOL...
by gzhang
Fri, 2020-01-31, 22:11
Forum: DCMTK - Installation
Topic: Compilation error 3.6.5 with mingw64 gcc-8.1.0
Replies: 11
Views: 3266

Re: Compilation error 3.6.5 with mingw64 gcc-8.1.0

Just for addition that the same error occurs also for mingw64 gcc-7.3.0 :-(
by gzhang
Wed, 2019-12-25, 21:20
Forum: DCMTK - Installation
Topic: Compilation error 3.6.5 with mingw64 gcc-8.1.0
Replies: 11
Views: 3266

Compilation error 3.6.5 with mingw64 gcc-8.1.0

Hi, Both 3.6.5 and 3.6.5-20191213 seem to fail at compilation with gcc-8.1.0 (Win64, mingw64): D:/dcmtk/dcmtk-3.6.5+_20191213/oflog/include/dcmtk/oflog/thread/impl/tls.h:127:12: error: 'FlsAlloc' was not declared in this scope return FlsAlloc(cleanupfunc); ^~~~~~~~ D:/dcmtk/dcmtk-3.6.5+_20191213/ofl...
by gzhang
Tue, 2019-08-06, 10:24
Forum: DCMTK - General
Topic: PixelData issue
Replies: 4
Views: 1273

Re: PixelData issue

Thanks!
by gzhang
Tue, 2019-08-06, 09:56
Forum: DCMTK - General
Topic: PixelData issue
Replies: 4
Views: 1273

Re: PixelData issue

Here is the entire dump. Skipped parts are marked with "...". Thanks for helping! # Dicom-File-Format # Dicom-Meta-Information-Header # Used TransferSyntax: Little Endian Explicit (0002,0000) UL 270 # 4, 1 FileMetaInformationGroupLength (0002,0002) UI [1.2.840.10008.5.1.4.1.1.12.77] # 58, 1 MediaSto...
by gzhang
Mon, 2019-08-05, 14:20
Forum: DCMTK - General
Topic: PixelData issue
Replies: 4
Views: 1273

PixelData issue

Hello, we have some dicom files from optical examination, where the encoding is LittleEndian normal but "PixelData" format is somehow different than usual. Dcmdump shows this: (7fe0,0010) OB (PixelSequence #=3) # u/l, 1 PixelData (fffe,e000) pi (no value available) # 0, 1 Item (fffe,e000) pi 00\00\0...
by gzhang
Wed, 2018-07-11, 13:23
Forum: DCMTK - Installation
Topic: iconv
Replies: 11
Views: 4437

Re: iconv

Hi, Would it be possible to let me see which CMake variables need to be set? Not all of them seem to work as reported in "CMakeCache.txt": //iconv include directory Iconv_INCLUDE_DIR:PATH=Iconv_INCLUDE_DIR-NOTFOUND //iconv library (potentially the C library) Iconv_LIBRARY:FILEPATH=Iconv_LIBRARY-NOTF...
by gzhang
Tue, 2018-07-10, 14:00
Forum: DCMTK - Installation
Topic: iconv
Replies: 11
Views: 4437

Re: iconv

Thanks!
One question: does it have to be a "Msys makefile" with CMake? or a "MinGW makefile" also fine? If I understood correctly, Msys2 was only used to build iconv, nothing else, right?
by gzhang
Tue, 2018-06-19, 09:12
Forum: DCMTK - Installation
Topic: iconv
Replies: 11
Views: 4437

Re: iconv

Thanks Jan for the feedback! That would be very nice news :-)
by gzhang
Fri, 2018-06-01, 14:16
Forum: DCMTK - Installation
Topic: iconv
Replies: 11
Views: 4437

Re: iconv

Thanks!
Msys2 includes 'iconv.exe' as a 'bin', but not as 'lib', which was why I made it from the source separately.
by gzhang
Fri, 2018-06-01, 13:00
Forum: DCMTK - Installation
Topic: iconv
Replies: 11
Views: 4437

Re: iconv

Hi Jan, Thanks for the hints! I just did a quick test with a new 'iconv' and 'charset' in Msys2. Since 'Msys2' already has an 'iconv.exe' included in its 'bin', the command 'pacman -S libiconv' was not able to help me find new files of 'libiconv.a', etc. So, I downloaded the source 'libiconv-1.15' a...