[Paraview] build error

Scott, W Alan wascott at sandia.gov
Fri May 15 21:50:36 EDT 2015


I am getting the following build error when building ParaView.  This is from master, on Linux, targeting a cluster (redsky).  Clean build, new pull of a git tree.  Any ideas?

[  0%] Built target vtksys
[  0%] Building CXX object VTK/Common/Core/CMakeFiles/vtkCommonCore.dir/vtkObjectBase.cxx.o
.../Build/VTK/Common/Core/vtkAtomicInt.h(117): error: first argument must be a pointer to integer or enumeration type
      return __sync_fetch_and_add(ref, 1);
                                  ^
          detected during instantiation of "T vtkAtomicInt<T>::operator++(int) [with T=vtkTypeInt32={signed int}]" at line 201 of ".../ParaView4/VTK/Common/Core/vtkObjectBase.cxx"

.../Build/VTK/Common/Core/vtkAtomicInt.h(112): error: first argument must be a pointer to integer or enumeration type
      return __sync_sub_and_fetch(ref, 1);
                                  ^
          detected during instantiation of "T vtkAtomicInt<T>::operator--() [with T=vtkTypeInt32={signed int}]" at line 217 of ".../ParaView4/VTK/Common/Core/vtkObjectBase.cxx"

compilation aborted for .../ParaView4/VTK/Common/Core/vtkObjectBase.cxx (code 2)
make[2]: *** [VTK/Common/Core/CMakeFiles/vtkCommonCore.dir/vtkObjectBase.cxx.o] Error 2
make[1]: *** [VTK/Common/Core/CMakeFiles/vtkCommonCore.dir/all] Error 2
make: *** [all] Error 2


Looks to me like there has been work in AtomicInt.h lately...

Alan



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20150516/307eab48/attachment.html>


More information about the ParaView mailing list