Thank you Manuel and Julien for your quick answers.

You were both right, I "just" needed to replace "int" with 
"itk::ThreadIdType"

Still some scripts to update, but most are running.

julien

On Thursday, February 27, 2014 3:30:52 PM UTC+1, Julien Radoux wrote:
>
> Hello,
>
> I have several filters that make use of ThreadedGenerateData . However, 
> there seems to be some changes in the new version. Is there a place where I 
> can find the "best practice" for multithreaded filters (it was not in the 
> Migration Guide"). Thank you.
>
>  MultiThreader(0x42cc0e0): Exception occurred during SingleMethodExecute
>
> /home/OTB-4.0-rc1/Utilities/ITK/Modules/Core/Common/include/itkImageSource.hxx:267:
> itk::ERROR: VectorImageFilterW2(0x458c110): Subclass should override this 
> method!!!
> The signature of ThreadedGenerateData() has been changed in ITK v4 to use 
> the new ThreadIdType.
> VectorImageFilterW2::ThreadedGenerateData() might need to be updated to 
> used it.
>
>

-- 
-- 
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html

You received this message because you are subscribed to the Google
Groups "otb-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to