64 bit
Moderator: Moderator Team
-
- Posts: 19
- Joined: Fri, 2005-09-30, 16:28
64 bit
Is there any plans to port the library to 64 bit?
-
- OFFIS DICOM Team
- Posts: 1446
- Joined: Tue, 2004-11-02, 17:22
- Location: Oldenburg, Germany
- Contact:
The library has indeed been ported to a 64 bit platform (OSF/1 on DEC Alpha) almost 10 years ago. That means that particularly stupid errors, such as typecasts from pointer to int, have been sorted out long ago. Recent versions have also been used on 64 bit Linux platforms. That does not mean that the toolkit will work without modification on each 64 bit platform, but I don't expect any major problem.
-
- Posts: 19
- Joined: Fri, 2005-09-30, 16:28
thanks
Thanks for the response, I am porting it to 64 bit on Windows ans so far have not run into any problems. I have just been getting rid of warnings by doing static_cast.
-
- OFFIS DICOM Team
- Posts: 1446
- Joined: Tue, 2004-11-02, 17:22
- Location: Oldenburg, Germany
- Contact:
Since we don't have access to a 64-bit Windows platform in your lab, it would be nice if you could make available those changes once you're done - we would then try to merge them into the main branch unless they cause problems on another platform.I have just been getting rid of warnings by doing static_cast.
-
- Posts: 19
- Joined: Fri, 2005-09-30, 16:28
Thanks
Sure, I will send them to you when I have them completed.
And now ??
I'm trying to developp a soft with this library but I have 64 bit Windows 7....
I download the dcmtk 3.6.0 version but I don't find the 64 bit lib tiff.... What's about it ???
I download the dcmtk 3.6.0 version but I don't find the 64 bit lib tiff.... What's about it ???
Respectueusement,
MitMal
MitMal
-
- Posts: 4
- Joined: Wed, 2011-04-27, 10:06
-
- DCMTK Developer
- Posts: 2052
- Joined: Fri, 2004-11-05, 13:47
- Location: Oldenburg, Germany
- Contact:
Hi,
if the issues are the support libraries (libtiff, libpng, ...) we cannot offer you 64 bit pre-compiled versions of them (so far). We know that they compile with some work but we do not have something for the public.
As Daniel pointed out, you should be able to use DCMTK on 64 Bit windows without any problems if you disable the libraries you do not need (or get them compiling on 64 Bit).
First check whether you really need them for your project. Do you need TIFF export (converting DICOM images to TIFF)? I expect that you also could use BMP instead, or JPG which are both avaiable without any additional libraries. PNG export is only avalable with libpng. libxml is only needed if you want to convert XML to DICOM like xml2dcm does. If you do not need all this functionality, disable them in CMake (see CMake DCMTK compile tutorial) and compile DCMTK without them.
Best regards,
Michael
if the issues are the support libraries (libtiff, libpng, ...) we cannot offer you 64 bit pre-compiled versions of them (so far). We know that they compile with some work but we do not have something for the public.
As Daniel pointed out, you should be able to use DCMTK on 64 Bit windows without any problems if you disable the libraries you do not need (or get them compiling on 64 Bit).
First check whether you really need them for your project. Do you need TIFF export (converting DICOM images to TIFF)? I expect that you also could use BMP instead, or JPG which are both avaiable without any additional libraries. PNG export is only avalable with libpng. libxml is only needed if you want to convert XML to DICOM like xml2dcm does. If you do not need all this functionality, disable them in CMake (see CMake DCMTK compile tutorial) and compile DCMTK without them.
Best regards,
Michael
-
- DCMTK Developer
- Posts: 2052
- Joined: Fri, 2004-11-05, 13:47
- Location: Oldenburg, Germany
- Contact:
Hi,
use CMake to create Visual Studio files. When CMake asks you which kind of Visual Studio version compiler you like to use, choose the 64 bit variant. On my system it is called Visual Studio 10 Win64.
For Visual Studio 2010, this should be also possible if you have the free C++ Express version installed. For older Visual Studio versions, you might need the professional version, but I am not sure whether it is sometimes possible to tweak the free versions to compile for 64 bit systems.
The rest is then opening the project in Visual Studio 2010 and compile everything (ALL_BUILD target). That' it!
Michael
P.S: As my colleague reminded me, there is a problem with 3.6.0 if you enable libs like libxml or zlib. If you want to be 100% sure this works, take the current snapshot which was released after 3.6.0.
use CMake to create Visual Studio files. When CMake asks you which kind of Visual Studio version compiler you like to use, choose the 64 bit variant. On my system it is called Visual Studio 10 Win64.
For Visual Studio 2010, this should be also possible if you have the free C++ Express version installed. For older Visual Studio versions, you might need the professional version, but I am not sure whether it is sometimes possible to tweak the free versions to compile for 64 bit systems.
The rest is then opening the project in Visual Studio 2010 and compile everything (ALL_BUILD target). That' it!
Michael
P.S: As my colleague reminded me, there is a problem with 3.6.0 if you enable libs like libxml or zlib. If you want to be 100% sure this works, take the current snapshot which was released after 3.6.0.
Thanks
Im using Visual Studio C++ Express 2010
I also installed the Windows7 64bit SDK SP1
However the SDK installs the Visual C++ 9.0 Compilers.
However cmake cannot find these compilers:
Ive searched the web but cannot find how to get cmake to find the compiler from the SDK!
Im using Visual Studio C++ Express 2010
I also installed the Windows7 64bit SDK SP1
However the SDK installs the Visual C++ 9.0 Compilers.
However cmake cannot find these compilers:
Code: Select all
CMake Error at CMakeLists.txt:2 (PROJECT):
Cannot enable 64-bit tools with Visual Studio 2010 Express.
Install the Microsoft Windows SDK v7.1 to get 64-bit tools:
http://msdn.microsoft.com/en-us/windows/bb980924.aspx
Configuring incomplete, errors occurred!
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 1 guest