The following issue has been SUBMITTED.
======================================================================
http://www.cmake.org/Bug/view.php?id=14164
======================================================================
Reported By: Stefan Roettger
Assigned To:
======================================================================
Project: CMake
Issue ID: 14164
Category: CMake
Reproducibility: always
Severity: major
Priority: normal
Status: new
======================================================================
Date Submitted: 2013-05-22 13:25 EDT
Last Modified: 2013-05-22 13:25 EDT
======================================================================
Summary: missing library in cmake-2.8/Modules/FindDCMTK.cmake
Description:
The FindDCMTK module finds various libs as part of DCTMK. The module finds all
those in a for loop:
foreach(lib
dcmdata
dcmimage
dcmimgle
dcmjpeg
dcmnet
dcmpstat
dcmqrdb
dcmsign
dcmsr
dcmtls
ijg12
ijg16
ijg8
ofstd)
This loop is missing the "oflog" lib. oflog depends on ofstd, so it should read:
foreach(lib
dcmdata
dcmimage
dcmimgle
dcmjpeg
dcmnet
dcmpstat
dcmqrdb
dcmsign
dcmsr
dcmtls
ijg12
ijg16
ijg8
oflog
ofstd)
Steps to Reproduce:
linkage against dcmtk 3.6.0 fails.
Additional Information:
An example project that depends on dcmtk is available at
http://code.google.com/p/vvv/source/browse/#svn%2Fviewer%2Fqtv3
This one works because I added the linkage with dcmtk manually. I mean, adding
-loflog to the linker line manually solves the problem.
Using find_package(DCMTK) and linking against DCMTK_LIBRARIES does result in
unresolved symbols because oflog is not part of DCMTK_LIBRARIES (yet ;-).
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2013-05-22 13:25 Stefan RoettgerNew Issue
======================================================================
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers