[vtk-developers] VTK_MAJOR_VERSION is no longer #define'ed

David Gobbi david.gobbi at gmail.com
Wed Apr 25 11:17:03 EDT 2012


On Wed, Apr 25, 2012 at 9:07 AM, Brad King <brad.king at kitware.com> wrote:
> On 4/25/2012 11:02 AM, David Gobbi wrote:
>> I may be missing something here, but in VTK 5.x that header doesn't
>> exist, so how can it be included in code that is meant to run on
>> multiple versions of VTK?
>
> The "vtkVersion.h" header has always existed and it includes the
> new header.

Thanks.  Yes, that seems obvious to me now, and I see that you even
mentioned it in an earlier email.  For some reason I was thinking that
people would have to include "vtkVersionMacros.h" directly.  Doh.

 - David



More information about the vtk-developers mailing list