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

Bill Lorensen bill.lorensen at gmail.com
Wed Apr 25 08:53:45 EDT 2012


Brad,

Why can't we include vtkVersionMacros.h in vtkConfigure.h?

Bill

On Wed, Apr 25, 2012 at 8:46 AM, Bill Lorensen <bill.lorensen at gmail.com> wrote:
> Brad,
>
> Is the define for VTK_MAJOR_VERSION now gone unless we include the
> vtkVersionMacros.h? Without changing the LEGACY settings, how can I
> conditionally use code at compile time based on the VTK version?
>
> I just discovered this issue with the VTK WikiExamples which build for
> both VTK6 and VTK5.
>
> Bill
>
> --
> Unpaid intern in BillsBasement at noware dot com



-- 
Unpaid intern in BillsBasement at noware dot com



More information about the vtk-developers mailing list