DICOM @ OFFIS

Discussion Forum for OFFIS DICOM Tools - For registration, send email with desired user name to the OFFIS DICOM team
It is currently Sat, 2018-01-20, 05:53

All times are UTC + 1 hour




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Thu, 2016-12-08, 10:00 
Offline

Joined: Wed, 2016-12-07, 10:30
Posts: 3
Hi, I meet a problem when I compile DCMTK including support library (MT)( such as openssl etc. ).

Image
Image

As the picture one shows, I have already configured the cmake(3.6.2) and have generated the .sln. But I failed when compile the code in VS2015 X64 Community. Part of tens of errors are shown in picture two.

How can I solve this problem?
Thank you in advance !


Top
 Profile  
 
PostPosted: Thu, 2016-12-08, 11:03 
Offline
DCMTK Developer

Joined: Fri, 2004-11-05, 13:47
Posts: 1661
Location: Oldenburg, Germany
Hi,

I think you can ignore the first error for now (the one during CMake configuration).

The other one looks like the zlib library is not found at the specified path.

Do you used the zlib binaries from the support lib package from dcmtk.org? They are built for 32 bit, while you are compiling in 64 bit mode, maybe that is also an issue.

Best regards,
Michael


Top
 Profile  
 
PostPosted: Thu, 2016-12-08, 14:22 
Offline

Joined: Wed, 2016-12-07, 10:30
Posts: 3
Michael Onken wrote:
Hi,

I think you can ignore the first error for now (the one during CMake configuration).

The other one looks like the zlib library is not found at the specified path.

Do you used the zlib binaries from the support lib package from dcmtk.org? They are built for 32 bit, while you are compiling in 64 bit mode, maybe that is also an issue.

Best regards,
Michael

Thank you for your reply! I'm a senior student and newly touch with this field. I have changed the mode into 32 bit and that works. But when test the EXE in console, problem exists. I want to use +tls option in storescp but it shows unknown option ( shown below) .

Image

I wonder whether it is necessary to cut the suffix of the file in the support library, like ' dcmtkeay_d.lib ' to ' dcmtkeay.lib '
In addition, why there is a ' bin ' folder ( which has contained exe and dll ) in directory of openssl-1.0.0c? Does that make conflicts with .lib file ?( I mean the compile way between MD and MT )


Top
 Profile  
 
PostPosted: Fri, 2016-12-09, 06:00 
Offline

Joined: Wed, 2016-12-07, 10:30
Posts: 3
Finally, I have made it with an incredible way. I compile the code in MDd module with MT support library. Though that will exist error LNK2026, I solve it with the help of search engine. I can't believe that works.

The problem is caused mostly by the incompatibility between DCMTK3.6.0 and Cmake GUI. What shows on the panel of Cmake doesn't match the cmakelist in DCMTK. That may be the case, I guess.


Top
 Profile  
 
PostPosted: Fri, 2016-12-09, 11:44 
Offline
DCMTK Developer

Joined: Fri, 2004-11-05, 13:47
Posts: 1661
Location: Oldenburg, Germany
Hi,

happy you made it ;) Not sure your problem analysis is correct but anyway, the result is what counts.

Best,
Michael


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group