View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0012916CMakeModulespublic2012-01-27 16:242016-06-10 14:31
Reporterkentwilliams 
Assigned ToKitware Robot 
PrioritynormalSeveritymajorReproducibilityhave not tried
StatusclosedResolutionmoved 
PlatformMacOSOS XOS Version10.x
Product VersionCMake 2.8.7 
Target VersionFixed in Version 
Summary0012916: FindDCMTK.cmake leaving out oflog & bad ordering for Linux linker
DescriptionDCMTK has a library called 'oflog' that is needed by other DCMTK libraries. It is left out of the list of libraries added to DCMTK_LIBRARIES in FindDCMTK.cmake

On Linux (RHEL6 at least) the linker is stupid, and unless DCMTK's ofstd library is after oflog in the linker list, oflog can't find several symbols that live in ofstd.
Steps To ReproduceTry to build a program that uses DCMTK
Additional InformationPatch to fix:

*** /opt/cmake/share/cmake-2.8/Modules/FindDCMTK.cmake 2011-10-04 16:51:26.000000000 -0500
--- /raid0/homes/kent/FindDCMTK.cmake 2012-01-27 15:23:02.428630000 -0600
***************
*** 56,61 ****
--- 56,62 ----
      ijg12
      ijg16
      ijg8
+ oflog
      ofstd)
  
    find_library(DCMTK_${lib}_LIBRARY
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0028918)
Michael Onken (reporter)
2012-03-14 11:03

A corrected version is part of the CommonTK project on github, see https://github.com/commontk/CTK/blob/master/Utilities/CMake/FindDCMTK.cmake [^]
(0030394)
David Cole (manager)
2012-08-11 21:35

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.
(0041973)
Kitware Robot (administrator)
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.

 Issue History
Date Modified Username Field Change
2012-01-27 16:24 kentwilliams New Issue
2012-03-14 11:03 Michael Onken Note Added: 0028918
2012-04-11 18:13 Rolf Eike Beer Category CMake => Modules
2012-08-11 21:35 David Cole Status new => backlog
2012-08-11 21:35 David Cole Note Added: 0030394
2016-06-10 14:28 Kitware Robot Note Added: 0041973
2016-06-10 14:28 Kitware Robot Status backlog => resolved
2016-06-10 14:28 Kitware Robot Resolution open => moved
2016-06-10 14:28 Kitware Robot Assigned To => Kitware Robot
2016-06-10 14:31 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team