Compiling dcmtk 3.6.0 in 64 bit

Compilation and installation of DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
hadi
Posts: 12
Joined: Sat, 2005-02-26, 11:37
Location: Iran
Contact:

Compiling dcmtk 3.6.0 in 64 bit

#1 Post by hadi »

Hi
we are using dcmtk 32 bit for several years.
But now we need to compile 3.6.0 (NOT 3.6.1) in 64 bit in visual studio 2010.
We used cmake to create solution and then compiled it, but got link error.
We found that first we need to compile : libtiff, libpng, zlib, libxml, liniconv
we could use cmake to create solution and then compiled zlib and libpng.
But other does not have cmakelists.txt!

question : Is it possible to compile dcmtk 3.6.0 (and libtiff, libpng, zlib, libxml, liniconv) in 64 bit?
If YES please help us.
If any body has 64 bit compiled files? or know what we can do.

Best Regards
Hadi Dayvary
www.logicsims.ir

J. Riesmeier
DCMTK Developer
Posts: 2501
Joined: Tue, 2011-05-03, 14:38
Location: Oldenburg, Germany
Contact:

Re: Compiling dcmtk 3.6.0 in 64 bit

#2 Post by J. Riesmeier »

According to the INSTALL file, DCMTK 3.6.0 has been tested with VisualStudio 2010 (64-bit) on Windows 7 (64-bit). However, as far as I remember, the CMAKE_GENERATOR check in the main CMakeLists.txt file in wrong (incomplete) since it does not consider the "Win64" suffix. As a consequence, the DCMTK-specific compiler/linker settings are not used.

hadi
Posts: 12
Joined: Sat, 2005-02-26, 11:37
Location: Iran
Contact:

Re: Compiling dcmtk 3.6.0 in 64 bit

#3 Post by hadi »

Hi
Thank you so much.
But I did not understand if it is possible or not?
If it's possible please help
www.logicsims.ir

J. Riesmeier
DCMTK Developer
Posts: 2501
Joined: Tue, 2011-05-03, 14:38
Location: Oldenburg, Germany
Contact:

Re: Compiling dcmtk 3.6.0 in 64 bit

#4 Post by J. Riesmeier »

But I did not understand if it is possible or not?
The short answer is: yes, it is possible. The long version is what I tried to describe above.

With regard to the various support libraries (64-bit version) for Windows: I don't have them available (my main platform is Linux with gcc), so you have to compile them on your own unless somebody else can provide you with these libraries.

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest