[vtkusers] problem compiling VTK 5.10.0 rc2 on a Mac
David Gobbi
david.gobbi at gmail.com
Tue Apr 10 22:02:31 EDT 2012
Try deleting VTK_CONST_REVERSE_ITERATOR_COMPARISON from
your CMakeCache.txt, or even delete all the internal variables just to be
safe. Maybe an incorrect value was cached when you switched build
settings. It is present but not set in my CMakeCache.txt.
On Tue, Apr 10, 2012 at 6:53 PM, A A <azata42 at gmail.com> wrote:
> My build configuration is just like yours but still fails. Not sure
> yet why they differ. However, I was able to get to build by changing
> lines 62-68 of the file Charts/vtkContextScenePrivate.h to read:
>
> //#ifdef VTK_CONST_REVERSE_ITERATOR_COMPARISON
> // typedef std::vector<vtkAbstractContextItem*>::const_reverse_iterator
> // const_reverse_iterator;
> //#else
> typedef std::vector<vtkAbstractContextItem*>::reverse_iterator
> const_reverse_iterator;
> //#endif
>
> which would be the same as undefining
> VTK_CONST_REVERSE_ITERATOR_COMPARISON, since for some reason that
> constant is being defined when it shouldn't.
More information about the vtkusers
mailing list