DICOM @ OFFIS

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

All times are UTC + 1 hour




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Fri, 2017-09-08, 03:33 
Offline

Joined: Thu, 2009-03-19, 04:19
Posts: 80
In Cmake, I set the generator to "visual studio 2010 Win64", then generated the project step by step. At last the compilation was failed.

Before the generation, I downloaded the "dcmtk-3.6.2-win64-support_MD-msvc-11.0" support libraries. I only have vs2010. Shall I download vs2012 and compile again?

During the compiliation, the error showed was: zlib_d.lib(inftrees.obj) : error LNK2019, unresolved external symbol: __report_rangecheckfailure,etc.


Top
 Profile  
 
PostPosted: Fri, 2017-09-08, 10:33 
Offline
OFFIS DICOM Team
OFFIS DICOM Team

Joined: Mon, 2014-03-03, 09:51
Posts: 228
Location: Oldenburg, Germany
I fear one needs the fitting support libraries for the compiler, which we did not provide since we don't have the 64 bit version of Visual Studio 2010. Using a newer version of Visual Studio is probably the easiest solution.


Top
 Profile  
 
PostPosted: Mon, 2017-09-11, 08:52 
Offline

Joined: Thu, 2009-03-19, 04:19
Posts: 80
Now I am compiling v3.6.2 in vs2012. But after the compilation, the output contains something like "warning LNK4099: PDB 'vc110.pdb' was not found with 'zlib_d.lib(adler32.obj)'...".

When I compile the application linking with dcmtk, the warning is also shown in the output window.

I find that it does not impact the execution of the application. Shall I eliminate the warning, or just ignore it? If to eliminate it, what shall I do? (I think maybe it has nothing to do with the dcmtk itself.)


Top
 Profile  
 
PostPosted: Mon, 2017-09-11, 12:06 
Offline
OFFIS DICOM Team
OFFIS DICOM Team

Joined: Mon, 2014-03-03, 09:51
Posts: 228
Location: Oldenburg, Germany
I'm really not an expert when it comes to Visual Studio, but, as far as I know the .pdb files contain debugging information, so, the warning most likely means you would have a hard time debugging an error inside the zlib. As I don't expect you would ever need to do that, you can safely ignore the warning from my point of view. I have no idea how to suppress it other than providing that .pdb file. We should probably provide it in the future as well.


Top
 Profile  
 
PostPosted: Tue, 2017-09-12, 02:57 
Offline

Joined: Thu, 2009-03-19, 04:19
Posts: 80
Thank you for your advice. I' ve ignored the warning in my application.


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:  
Powered by phpBB® Forum Software © phpBB Group