Changeset 4211
- Timestamp:
- Mar 10, 2014, 10:00:27 AM (11 years ago)
- Location:
- trunk/gui/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/src/Makefile.in
r4209 r4211 33 33 VTK_VERSION = @VTK_VERSION@ 34 34 VTK_TCL_DIR = @VTK_TCL_DIR@ 35 ENABLE_VTK = @ENABLE_VTK@ 35 36 ENABLE_VTK_DICOM= @ENABLE_VTK_DICOM@ 36 37 VTK_LIB_SPEC = … … 60 61 RpCanvPlacard.o \ 61 62 RpDiffview.o \ 63 RpDxToVtk.o \ 64 RpPdbToVtk.o \ 62 65 RpReadPoints.o \ 63 66 RpListbox.o \ 64 67 RpSqueezer.o 65 68 66 if neq ($(VTK_TCL_DIR),)67 OBJS += RpD xToVtk.o RpPdbToVtk.o69 ifeq ($(ENABLE_VTK),yes) 70 OBJS += RpDicomToVtk.o 68 71 VTK_LIB_SPEC += -lvtkIOCore-$(VTK_VERSION) -lvtkIOLegacy-$(VTK_VERSION) -lvtkIOImage-$(VTK_VERSION) -lvtkCommonCore-$(VTK_VERSION) 72 DEFINES += -DENABLE_VTK 69 73 70 74 ifeq ($(ENABLE_VTK_DICOM),yes) 71 OBJS += RpDicomToVtk.o72 75 VTK_LIB_SPEC += -lvtkDICOM 73 DEFINES += -D USE_VTK_DICOM_PACKAGE76 DEFINES += -DENABLE_VTK_DICOM -DUSE_VTK_DICOM_PACKAGE 74 77 endif 75 78 endif -
trunk/gui/src/RapptureGUI_Init.c
r4210 r4211 33 33 extern Tcl_AppInitProc RpPdbToVtk_Init; 34 34 #ifdef ENABLE_VTK 35 #ifdef ENABLE_VTK_DICOM36 35 extern Tcl_AppInitProc RpDicomToVtk_Init; 37 #endif38 36 #endif 39 37 … … 76 74 } 77 75 #ifdef ENABLE_VTK 78 #ifdef ENABLE_VTK_DICOM79 76 if (RpDicomToVtk_Init(interp) != TCL_OK) { 80 77 return TCL_ERROR; 81 78 } 82 79 #endif 83 #endif84 80 return TCL_OK; 85 81 }
Note: See TracChangeset
for help on using the changeset viewer.