[Paraview] vtkAbstractContextItem.cxx Build Error 3.10.1 on OS X 10.6.7 Intel x86_64

Michael Jackson mike.jackson at bluequartz.net
Mon May 9 15:41:41 EDT 2011


Yep, that was the issue. I would like to target 10.5 as I may have users on that system. I'll set a -D variable for the OSX_* for 10.5 the first time I Invoke cmake which should fix the problem for me. 
  Thanks for the sanity check.
___________________________________________________________
Mike Jackson                      www.bluequartz.net
Principal Software Engineer       mike.jackson at bluequartz.net 
BlueQuartz Software               Dayton, Ohio

On May 9, 2011, at 3:38 PM, Marcus D. Hanwell wrote:

> It looks like the reverse iterator issue, I wonder if it is a caching
> issue, as a compile test is done to determine if
> reverse_const_iterator is usable. If you configure on 10.6, and then
> change to 10.5 you might see this issue as the STL has changed and I
> don't think CMake knows to invalidate that entry.
> 
> Marcus
> 
> On Mon, May 9, 2011 at 3:22 PM, David Partyka <david.partyka at kitware.com> wrote:
>> Are you targeting 10.5? This makes me think this is the reverse iterator
>> issue.
>> 
>> On Mon, May 9, 2011 at 3:19 PM, Michael Jackson
>> <mike.jackson at bluequartz.net> wrote:
>>> 
>>> Has anybody seen this error using the downloaded PV 3.10.1 source code:
>>> 
>>> [ 32%] Building CXX object
>>> VTK/Charts/CMakeFiles/vtkCharts.dir/vtkAbstractContextItem.cxx.o
>>> 
>>> /Users/Shared/OpenSource/ParaView-3.10.1/VTK/Charts/vtkAbstractContextItem.cxx:
>>> In member function ‘virtual vtkAbstractContextItem*
>>> vtkAbstractContextItem::GetPickedItem(const vtkContextMouseEvent&)’:
>>> 
>>> /Users/Shared/OpenSource/ParaView-3.10.1/VTK/Charts/vtkAbstractContextItem.cxx:148:
>>> error: no match for ‘operator!=’ in ‘it != std::vector<_Tp, _Alloc>::rend()
>>> [with _Tp = vtkAbstractContextItem*, _Alloc =
>>> std::allocator<vtkAbstractContextItem*>]()’
>>> 
>>> /Users/Shared/OpenSource/ParaView-3.10.1/VTK/Common/vtkWeakPointerBase.h:101:
>>> note: candidates are: vtkstd_bool operator!=(const vtkWeakPointerBase&,
>>> const vtkWeakPointerBase&)
>>> 
>>> /Users/Shared/OpenSource/ParaView-3.10.1/VTK/Common/vtkWeakPointerBase.h:101:
>>> note:                 vtkstd_bool operator!=(vtkObjectBase*, const
>>> vtkWeakPointerBase&)
>>> 
>>> /Users/Shared/OpenSource/ParaView-3.10.1/VTK/Common/vtkWeakPointerBase.h:101:
>>> note:                 vtkstd_bool operator!=(const vtkWeakPointerBase&,
>>> vtkObjectBase*)
>>> make[2]: ***
>>> [VTK/Charts/CMakeFiles/vtkCharts.dir/vtkAbstractContextItem.cxx.o] Error 1
>>> make[1]: *** [VTK/Charts/CMakeFiles/vtkCharts.dir/all] Error 2
>>> make: *** [all] Error 2
>>> 542:[mjackson at ferb2:Build]$
>>> 
>>> This is on OS X 10.6.7 with Xcode 3.2.6 on both Release and Debug builds.
>>> I also pulled the Git tag for 3.10.1 and got the same error. I am building
>>> some custom plugins but have not regressed through the code to figure out if
>>> that is the issue.
>>> 
>>> Thanks
>>> ___________________________________________________________
>>> Mike Jackson                      www.bluequartz.net
>>> Principal Software Engineer       mike.jackson at bluequartz.net
>>> BlueQuartz Software               Dayton, Ohio
>>> 
>>> _______________________________________________
>>> Powered by www.kitware.com
>>> 
>>> Visit other Kitware open-source projects at
>>> http://www.kitware.com/opensource/opensource.html
>>> 
>>> Please keep messages on-topic and check the ParaView Wiki at:
>>> http://paraview.org/Wiki/ParaView
>>> 
>>> Follow this link to subscribe/unsubscribe:
>>> http://www.paraview.org/mailman/listinfo/paraview
>> 
>> 
>> _______________________________________________
>> Powered by www.kitware.com
>> 
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>> 
>> Please keep messages on-topic and check the ParaView Wiki at:
>> http://paraview.org/Wiki/ParaView
>> 
>> Follow this link to subscribe/unsubscribe:
>> http://www.paraview.org/mailman/listinfo/paraview
>> 
>> 



More information about the ParaView mailing list