[cmake-developers] [CMake 0012515]: FindDCMTK does not determine and report complete external library dependencies

Mantis Bug Tracker mantis at public.kitware.com
Tue Oct 11 17:25:02 EDT 2011


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=12515 
====================================================================== 
Reported By:                Torsten Rohlfing
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   12515
Category:                   Modules
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2011-10-11 17:25 EDT
Last Modified:              2011-10-11 17:25 EDT
====================================================================== 
Summary:                    FindDCMTK does not determine and report complete
external library dependencies
Description: 
When using FindDCMTK to configure the use of the DCMTK DICOM toolkit, external
library dependencies are not detected. These, therefore, have to be added by
user projects in a non-portable way.

Examples:

On Fedora (f15), we need the "png tiff CharLS xml2 ssl z" libraries to resolve
DCMTK's dependencies.

Steps to Reproduce: 
Extract files from attached tgz archive: CMakeLists.txt; example.cxx

Run "cmake .; make"

Result:

[torsten at axon dcmtk]$ make
Scanning dependencies of target example
[100%] Building CXX object CMakeFiles/example.dir/example.cxx.o                 
                   
Linking CXX executable example                                                  
                   
/usr/lib64/dcmtk/libdcmtls.so: undefined reference to `SSL_CTX_free'            
                   
/usr/lib64/dcmtk/libdcmsr.so: undefined reference to `xmlSchemaSetParserErrors'
/usr/lib64/dcmtk/libdcmdata.so: undefined reference to `deflateInit2_'
/usr/lib64/dcmtk/libdcmtls.so: undefined reference to `SSL_CIPHER_get_bits'
/usr/lib64/dcmtk/libdcmimage.so: undefined reference to `png_create_info_struct'

and so forth...
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-10-11 17:25 Torsten RohlfingNew Issue                                    
2011-10-11 17:25 Torsten RohlfingFile Added: dcmtk-depends.tgz                  
 
======================================================================




More information about the cmake-developers mailing list