X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2Fvv.cxx;h=2502866a80b7ee953d4566c9af076f0028668b2c;hb=e149962cfe901eab463702d23985b32f278fd76d;hp=ef7764d22da298ee8705ffbbdb0a84427e15581f;hpb=fda331d2e185381051133ae7eb17bb935b79a372;p=clitk.git diff --git a/vv/vv.cxx b/vv/vv.cxx index ef7764d..2502866 100644 --- a/vv/vv.cxx +++ b/vv/vv.cxx @@ -28,11 +28,13 @@ #include #include +#if VTK_MAJOR_VERSION > 5 #include VTK_MODULE_INIT(vtkInteractionStyle); VTK_MODULE_INIT(vtkRenderingOpenGL); VTK_MODULE_INIT(vtkRenderingFreeType); #define vtkRenderingContext2D_AUTOINIT 1(vtkRenderingContextOpenGL) +#endif #include "clitkIO.h" @@ -51,6 +53,7 @@ #include #include #include +#pragma comment(lib, "ws2_32.lib") typedef enum {O_BASE,O_OVERLAY,O_FUSION,O_VF,O_CONTOUR,O_LANDMARKS} OpenModeType; typedef enum {P_NORMAL,P_SEQUENCE,P_WINDOW,P_LEVEL} ParseModeType;