From: nds Date: Mon, 27 Mar 2017 12:38:19 +0000 (+0300) Subject: Minor corrections to compile on Windows platform X-Git-Tag: SHAPER_2.7.0_WIN^2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=498a6edda4b3d4ea857c68b95313f40992ac67c9;p=modules%2Fgeom.git Minor corrections to compile on Windows platform --- diff --git a/src/GEOM/CMakeLists.txt b/src/GEOM/CMakeLists.txt index 2c0c7605c..4a73c259f 100755 --- a/src/GEOM/CMakeLists.txt +++ b/src/GEOM/CMakeLists.txt @@ -39,6 +39,7 @@ SET(_link_LIBRARIES ${CAS_TKLCAF} ${CAS_TKCDF} ${CAS_TKG3d} + ${CAS_TKStdL} ${KERNEL_SALOMELocalTrace} ${KERNEL_OpUtil} GEOMSketcher diff --git a/src/MeasureGUI/MeasureGUI_AnnotationInteractor.cxx b/src/MeasureGUI/MeasureGUI_AnnotationInteractor.cxx index 952c54bd2..7070c2259 100755 --- a/src/MeasureGUI/MeasureGUI_AnnotationInteractor.cxx +++ b/src/MeasureGUI/MeasureGUI_AnnotationInteractor.cxx @@ -273,7 +273,7 @@ bool MeasureGUI_AnnotationInteractor::eventFilter( QObject* theObject, QEvent* t { const Handle(AIS_InteractiveContext) anAISContext = myViewer->getAISContext(); - if ( anAISContext->IsHilighted( myActiveIO ) ) + if ( anAISContext->IsHilighted( Handle(AIS_InteractiveObject)::DownCast( myActiveIO ) ) ) { anAISContext->Unhilight( myActiveIO, Standard_False ); } diff --git a/src/OBJECT/CMakeLists.txt b/src/OBJECT/CMakeLists.txt index 2bc3e3f81..4674ac750 100755 --- a/src/OBJECT/CMakeLists.txt +++ b/src/OBJECT/CMakeLists.txt @@ -48,6 +48,7 @@ SET(_link_LIBRARIES OCC2VTK SalomeIDLGEOM ${CAS_TKBRep} + ${CAS_TKOpenGl} ${KERNEL_SALOMELocalTrace} ${GUI_SalomeObject} ${GUI_SVTK}