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

Bill Lorensen bill.lorensen at gmail.com
Wed Apr 25 08:46:06 EDT 2012


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



More information about the vtk-developers mailing list