[Insight-developers] Removal of ITK_TEMPLATE_TXX causes Slicer problems

Bill Lorensen bill.lorensen at gmail.com
Tue Nov 13 13:55:33 EST 2012


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


More information about the Insight-developers mailing list