[vtkusers] Fwd: Compiling v6.2.0

Juan Carlos Prieto juanprietob at gmail.com
Mon Mar 30 12:50:37 EDT 2015


Dear all,

I updated VTK to the release version 6.2.0.
I am on OS X 10.9.5 Mavericks
I have an error when compiling VTK:

*./VTK/Common/Core/vtkSMPThreadLocal.h:43:7: **error: **redefinition of
'vtkSMPThreadLocal'*

class vtkSMPThreadLocal

*      ^*

*./VTK/bin/Common/Core/vtkSMPThreadLocal.h:44:7: **note: *previous
definition is here

class vtkSMPThreadLocal

1 error generated.

make[2]: ***
[Common/ExecutionModel/CMakeFiles/vtkCommonExecutionModel.dir/vtkThreadedCompositeDataPipeline.cxx.o]
Error 1

make[1]: ***
[Common/ExecutionModel/CMakeFiles/vtkCommonExecutionModel.dir/all] Error 2

make: *** [all] Error 2


The definition on the pre compiler clause

Souce file: vtkSMPThreadLocal.h:36

"#ifndef __vtkSMPThreadLocal_h

#define __vtkSMPThreadLocal_h"


Is different from the one in the binary folder

Binary directory file: vtkSMPThreadLocal.h:36

#ifndef vtkSMPThreadLocal_h

#define vtkSMPThreadLocal_h


This is probably due to a wrong CMAKE macro conversion?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20150330/a20f8bc8/attachment.html>


More information about the vtkusers mailing list