From 498a6edda4b3d4ea857c68b95313f40992ac67c9 Mon Sep 17 00:00:00 2001 From: nds Date: Mon, 27 Mar 2017 15:38:19 +0300 Subject: [PATCH] Minor corrections to compile on Windows platform --- src/GEOM/CMakeLists.txt | 1 + src/MeasureGUI/MeasureGUI_AnnotationInteractor.cxx | 2 +- src/OBJECT/CMakeLists.txt | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) 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} -- 2.39.2