]> Creatis software - clitk.git/blobdiff - vv/vv.cxx
Debug RTStruct conversion with empty struc
[clitk.git] / vv / vv.cxx
index a5a0215fb1d3cc31aa8b0b66137ce67d6d22b0e6..2502866a80b7ee953d4566c9af076f0028668b2c 100644 (file)
--- a/vv/vv.cxx
+++ b/vv/vv.cxx
 #include <QDesktopWidget>
 #include <QDir>
 
+#if VTK_MAJOR_VERSION > 5
+#include <vtkAutoInit.h>
+ VTK_MODULE_INIT(vtkInteractionStyle);
+ VTK_MODULE_INIT(vtkRenderingOpenGL);
+ VTK_MODULE_INIT(vtkRenderingFreeType);
+#define vtkRenderingContext2D_AUTOINIT 1(vtkRenderingContextOpenGL)
+#endif
+
+
 #include "clitkIO.h"
 #include "vvMainWindow.h"
 #include "vvReadState.h"
@@ -44,6 +53,7 @@
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <errno.h>
+#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;