<div dir="ltr"><div class="gmail_quote"><div dir="ltr">Dear all, <div><br></div><div>I updated VTK to the release version 6.2.0. </div><div>I am on OS X 10.9.5 Mavericks</div>
<div>I have an error when compiling VTK: </div><div><br></div><div>
<p><b>./VTK/Common/Core/vtkSMPThreadLocal.h:43:7: </b><span><b>error: </b></span><b>redefinition of 'vtkSMPThreadLocal'</b></p>
<p>class vtkSMPThreadLocal</p>
<p><b> ^</b></p>
<p><b>./VTK/bin/Common/Core/vtkSMPThreadLocal.h:44:7: </b><span><b>note: </b></span>previous definition is here</p>
<p>class vtkSMPThreadLocal</p><p>1 error generated.</p><p>make[2]: *** [Common/ExecutionModel/CMakeFiles/vtkCommonExecutionModel.dir/vtkThreadedCompositeDataPipeline.cxx.o] Error 1</p><p>make[1]: *** [Common/ExecutionModel/CMakeFiles/vtkCommonExecutionModel.dir/all] Error 2</p><p>
</p><p>make: *** [all] Error 2</p><p><br></p><p>The definition on the pre compiler clause </p><p>Souce file: vtkSMPThreadLocal.h:36</p><p>"#ifndef __vtkSMPThreadLocal_h</p><p>#define __vtkSMPThreadLocal_h"</p><p><br></p><p>Is different from the one in the binary folder </p><p>Binary directory file: vtkSMPThreadLocal.h:36</p><p>#ifndef vtkSMPThreadLocal_h</p><p>#define vtkSMPThreadLocal_h</p><p><br></p><p>This is probably due to a wrong CMAKE macro conversion?</p><p><br></p><p> </p></div></div>
</div><br></div>