You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When VTK and ITK are used together, the
\#define ThreadInfoStruct vtkMultiThreader::ThreadInfo
from VTK/Common/Core/vtkMultiThreader.h
would clobber the ThreadInfoStruct definition from
ITK/Modules/Core/Common/include/itkMultiThreaderBase.h:
104 struct ThreadInfoStruct
105 {
106 ThreadIdType ThreadID;
107 ThreadIdType NumberOfThreads;
108 void* UserData;
109 ThreadFunctionType ThreadFunction;
110 enum { SUCCESS, ITK_EXCEPTION, ITK_PROCESS_ABORTED_EXCEPTION, STD_EXCEPTION, UNKNOWN } ThreadExitCode;
111 };
=====
using ThreadInfoStruct=vtkMultiThreader::ThreadInfo;
avoids the pre-processor conflicts.
=====
See https://discourse.itk.org/t/vtk9-and-itk5-conflicts/802
for discussion.
0 commit comments