MantisBT - CMake
View Issue Details
0012515CMakeModulespublic2011-10-11 17:252016-06-10 14:31
Torsten Rohlfing 
Kitware Robot 
normalmajoralways
closedmoved 
PCLinux
CMake 2.8.6 
 
0012515: FindDCMTK does not determine and report complete external library dependencies
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.
Extract files from attached tgz archive: CMakeLists.txt; example.cxx

Run "cmake .; make"

Result:

[torsten@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...
No tags attached.
tgz dcmtk-depends.tgz (333) 2011-10-11 17:25
https://public.kitware.com/Bug/file/4083/dcmtk-depends.tgz
Issue History
2011-10-11 17:25Torsten RohlfingNew Issue
2011-10-11 17:25Torsten RohlfingFile Added: dcmtk-depends.tgz
2011-10-16 19:01Torsten RohlfingNote Added: 0027595
2012-08-11 11:38David ColeStatusnew => backlog
2012-08-11 11:38David ColeNote Added: 0030314
2016-06-10 14:28Kitware RobotNote Added: 0041917
2016-06-10 14:28Kitware RobotStatusbacklog => resolved
2016-06-10 14:28Kitware RobotResolutionopen => moved
2016-06-10 14:28Kitware RobotAssigned To => Kitware Robot
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0027595)
Torsten Rohlfing   
2011-10-16 19:01   
After some more research, it seems that this is really a bug with DCMTK's build system:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=510120 [^]

So this CMake bug should probably be closed.

Sorry for the confusion.
(0030314)
David Cole   
2012-08-11 11:38   
Sending old, never assigned issues to the backlog.

(The age of the bug, plus the fact that it's never been assigned to anyone means that nobody is actively working on it...)

If an issue you care about is sent to the backlog when you feel it should have been addressed in a different manner, please bring it up on the CMake mailing list for discussion. Sign up for the mailing list here, if you're not already on it: http://www.cmake.org/mailman/listinfo/cmake [^]

It's easy to re-activate a bug here if you can find a CMake developer who has the bandwidth to take it on, and ferry a fix through to our 'next' branch for dashboard testing.
(0041917)
Kitware Robot   
2016-06-10 14:28   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.