[Ctk-developers] Build Error

Jean-Christophe Fillion-Robin jchris.fillionr at kitware.com
Mon May 20 14:35:21 EDT 2013


Hi Folks,

I just updated my original topic with a fix:
https://github.com/jcfr/CTK/compare/update-find-dcmtk-to-support-no-module

Will touch base with Kent (who originally updated FindDCMTK.cmake) and
check if it still work as expected for Slicer.

Stay tuned,
Jc


On Sun, May 19, 2013 at 11:51 PM, Marco Nolden
<m.nolden at dkfz-heidelberg.de>wrote:

>  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> 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] *On Behalf Of *Papademetris,
>> Xenophon
>> *Sent:* Wednesday, May 08, 2013 11:39 AM
>> *To:* CTK Developers Mailing List (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
>> http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers
>>
>>
>
>
> _______________________________________________
> Ctk-developers mailing list
> Ctk-developers at commontk.org
> http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers
>
>


-- 
+1 919 869 8849
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ctk-developers/attachments/20130520/0a71d46b/attachment-0001.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/0a71d46b/attachment-0001.jpeg>


More information about the Ctk-developers mailing list