[Insight-developers] Removal of ITK_TEMPLATE_TXX causes Slicer problems
Jean-Christophe Fillion-Robin
jchris.fillionr at kitware.com
Tue Nov 13 14:10:32 EST 2012
Hi Bill,
Thanks for working on the ITKv4 / Slicer integration :)
I couldn't find occurrences of "ITK_TEMPLATE_TXX" in the current Slicer4
code base. Which files are causing trouble ?
Thanks
Jc
On Tue, Nov 13, 2012 at 1:55 PM, Bill Lorensen <bill.lorensen at gmail.com>wrote:
> Hans,
>
> Now that ITK_TEMPLATE_TXX has been removed from ITKv4, a number of
> Slicer files that use it do not compile or link. I think the
> ITK_TEMPLATE_TXX is in the Slicer code because it was cut/paste from
> other code.
>
> We can
> 1) Put
> #define ITK_TEMPLATE_TXX 0
> back in itkMacros.h
> We could include a warning
> 2) Remove the ITK_TEMPLATE_TXX from the Slicer files that use it. I
> think they will still build witk ITKv3.
>
> I like 1) because the error that is produced is tough to track
> down(ends up as a linker error). Also, it will help other apps that
> also used ITK_TEMPLATE_TXX by accident.
>
> Bill
>
> --
> Unpaid intern in BillsBasement at noware dot com
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://kitware.com/products/protraining.php
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-developers
>
--
+1 919 869 8849
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-developers/attachments/20121113/d2faa05b/attachment.htm>
More information about the Insight-developers
mailing list