[Ctk-developers] Build Error

Marco Nolden m.nolden at dkfz-heidelberg.de
Mon May 20 03:51:12 UTC 2013


I can confirm the same error for a clean build on Windows 7 64bit with 
MSVC 2010. Current master, all defaults, just CTK_APP_ctkDICOM turned 
on. It can also be seen on the dashboard.

The workaround worked as well for me. I guess the latest change to 
FindDCMTK.cmake [1] has to be revised.

Marco

[1]: 
https://github.com/commontk/CTK/commit/52d9539f5e76149f3d3e7a69f19181dfd7e3dc56

Am 08.05.2013 20:19, schrieb Steve Pieper:
> Hi Xenios -
>
> Yes, there's been a lot of work in the past several months to improve 
> the cmake infrastructure of DMCTK -- a key issue is making the 
> installed packages discoverable, so the DCMTKConfig.cmake is findable 
> by the FindDCMTK.cmake.  There's been a long history of different 
> packages (ITK, etc) providing one (or more!) custom FindDCMTK.cmake 
> files in their distributions.  There's been some discussion on the 
> slicer and itk mailing lists [1].  So in a nutshell, it looks like ctk 
> found that you had a DCMTK installed, but couldn't recognize the 
> variables in it.
>
> -Steve
>
> [1] 
> http://www.itk.org/pipermail/insight-developers/2013-January/022414.html
>
>
> On Wed, May 8, 2013 at 1:18 PM, Papademetris, Xenophon 
> <xenophon.papademetris at yale.edu 
> <mailto:xenophon.papademetris at yale.edu>> wrote:
>
>     To follow up:
>
>     I got the build to work by commenting out the following lines in
>     FindDCMTK.cmake and setting DCMTK_DIR to point to
>     ${BUILD}/CMakeExternals/Install
>
>     +#find_package(DCMTK ${_DCMTK_REQUIRED} ${_DCMTK_QUIET} NO_MODULE)
>
>     +#if(DCMTK_FOUND
>
>     +#    AND NOT "x" STREQUAL "x${DCMTK_LIBRARIES}"
>
>     +#    AND NOT "x" STREQUAL "x${DCMTK_INCLUDE_DIRS}")
>
>     +#  return()
>
>     +#endif()
>
>     Xenios
>
>     *From:*ctk-developers-bounces at commontk.org
>     <mailto:ctk-developers-bounces at commontk.org>
>     [mailto:ctk-developers-bounces at commontk.org
>     <mailto:ctk-developers-bounces at commontk.org>] *On Behalf Of
>     *Papademetris, Xenophon
>     *Sent:* Wednesday, May 08, 2013 11:39 AM
>     *To:* CTK Developers Mailing List (ctk-developers at commontk.org
>     <mailto:ctk-developers at commontk.org>)
>     *Subject:* [Ctk-developers] Build Error
>
>     Back to simpler stuff after the whole scheduling issue.
>
>     I am getting started with CTK and I am running into a build issue.
>     I am on a “fresh” Debian 7 64-bit Virtual Machine. (See the
>     attached screenshot and CMakeCache.txt files). Basically
>     FindDCMTK.cmake fails to find DCMTK.
>
>     Any help appreciated.
>
>     Xenios
>
>
>     _______________________________________________
>     Ctk-developers mailing list
>     Ctk-developers at commontk.org <mailto:Ctk-developers at commontk.org>
>     http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ctk-developers/attachments/20130520/03812562/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 25426 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/ctk-developers/attachments/20130520/03812562/attachment.jpe>


More information about the Ctk-developers mailing list