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.
Compiling 64-bit dcmtk3.6.2 in vs2010
Moderator: Moderator Team
-
- OFFIS DICOM Team
- Posts: 318
- Joined: Mon, 2014-03-03, 09:51
- Location: Oldenburg, Germany
Re: Compiling 64-bit dcmtk3.6.2 in vs2010
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.
-
- Posts: 83
- Joined: Thu, 2009-03-19, 04:19
Re: Compiling 64-bit dcmtk3.6.2 in vs2010
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.)
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.)
-
- OFFIS DICOM Team
- Posts: 318
- Joined: Mon, 2014-03-03, 09:51
- Location: Oldenburg, Germany
Re: Compiling 64-bit dcmtk3.6.2 in vs2010
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.
-
- Posts: 83
- Joined: Thu, 2009-03-19, 04:19
Re: Compiling 64-bit dcmtk3.6.2 in vs2010
Thank you for your advice. I' ve ignored the warning in my application.
Who is online
Users browsing this forum: No registered users and 1 guest