From: vsr Date: Wed, 10 Nov 2010 16:15:24 +0000 (+0000) Subject: 0021063: [CEA 434] Compilation using gnu compiler v4.5 X-Git-Tag: V6_2_0a1~11 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d0a10f96d8e935df348f5fc0986549cf50eb8a2c;p=modules%2Fgui.git 0021063: [CEA 434] Compilation using gnu compiler v4.5 --- diff --git a/adm_local/unix/config_files/check_vtk.m4 b/adm_local/unix/config_files/check_vtk.m4 index 5a07570e4..97dd12088 100644 --- a/adm_local/unix/config_files/check_vtk.m4 +++ b/adm_local/unix/config_files/check_vtk.m4 @@ -300,7 +300,7 @@ if test "$try_regular_vtk" = "yes"; then VTK_LOCAL_LIBS="-L$VTKHOME/lib${LIB_LOCATION_SUFFIX}/vtk${VTKSUFFIX} $LOCAL_LIBS" VTK_TRY_LINK_LIBS="-L$VTKHOME/lib${LIB_LOCATION_SUFFIX} -L$VTKHOME/lib${LIB_LOCATION_SUFFIX}/vtk${VTKSUFFIX} $TRY_LINK_LIBS" if test "x$VTKHOME" != "x/usr" ; then - VTK_LOCAL_LIBS="-L$VTKHOME/lib${LIB_LOCATION_SUFFIX} $LOCAL_LIBS" + VTK_LOCAL_LIBS="-L$VTKHOME/lib${LIB_LOCATION_SUFFIX}/vtk${VTKSUFFIX} $LOCAL_LIBS" fi dnl vtk headers diff --git a/src/SUITApp/Makefile.am b/src/SUITApp/Makefile.am index 30e2e8264..cd3632cb1 100644 --- a/src/SUITApp/Makefile.am +++ b/src/SUITApp/Makefile.am @@ -80,7 +80,10 @@ if ENABLE_TESTRECORDER SUITApp_CPPFLAGS+= -DENABLE_TESTRECORDER $(TESTRECORDER_INCLUDES) endif -SUITApp_LDADD = libSUITApp.la ../Qtx/libqtx.la ../SUIT/libsuit.la ../Style/libSalomeStyle.la +SUITApp_LDADD = libSUITApp.la ../Qtx/libqtx.la ../SUIT/libsuit.la ../Style/libSalomeStyle.la ${QT_LIBS} +if ENABLE_PYCONSOLE + SUITApp_LDADD += $(PYTHON_LIBS) +endif if ENABLE_TESTRECORDER SUITApp_LDADD+= $(TESTRECORDER_LIBS) diff --git a/src/SVTK/SVTK_InteractorStyle.h b/src/SVTK/SVTK_InteractorStyle.h index 51bb52657..db3b76cd5 100644 --- a/src/SVTK/SVTK_InteractorStyle.h +++ b/src/SVTK/SVTK_InteractorStyle.h @@ -159,7 +159,7 @@ class SVTK_EXPORT SVTK_InteractorStyle: public vtkInteractorStyle typedef boost::shared_ptr PSelectionEvent; - + void SetTDxStyle(vtkTDxInteractorStyle*){} //! Generate special #SVTK_SelectionEvent virtual SVTK_SelectionEvent* GetSelectionEvent(); diff --git a/src/VTKViewer/VTKViewer_InteractorStyle.h b/src/VTKViewer/VTKViewer_InteractorStyle.h index ec778ed5d..4b2441243 100644 --- a/src/VTKViewer/VTKViewer_InteractorStyle.h +++ b/src/VTKViewer/VTKViewer_InteractorStyle.h @@ -150,6 +150,7 @@ class VTKVIEWER_EXPORT VTKViewer_InteractorStyle : public QObject, public vtkInt void startRotate(); void startFitArea(); void startSpin(); + void SetTDxStyle(vtkTDxInteractorStyle *tdxStyle) {} bool needsRedrawing(); protected: