diff --git a/src/DriverSTL/DriverSTL_R_SMDS_Mesh.cxx b/src/DriverSTL/DriverSTL_R_SMDS_Mesh.cxx index 2687363db..e5d260feb 100644 --- a/src/DriverSTL/DriverSTL_R_SMDS_Mesh.cxx +++ b/src/DriverSTL/DriverSTL_R_SMDS_Mesh.cxx @@ -22,6 +22,8 @@ #include #include +#include + //======================================================================= //function : HashCode //purpose : @@ -104,6 +106,8 @@ void DriverSTL_R_SMDS_Mesh::SetIsCreateFaces( const bool theIsCreate ) Driver_Mesh::Status DriverSTL_R_SMDS_Mesh::Perform() { + Kernel_Utils::Localizer loc; + Status aResult = DRS_OK; TCollection_AsciiString aFileName( (char *)myFile.c_str() ); diff --git a/src/DriverSTL/DriverSTL_W_SMDS_Mesh.cxx b/src/DriverSTL/DriverSTL_W_SMDS_Mesh.cxx index e4e270042..cf893a327 100644 --- a/src/DriverSTL/DriverSTL_W_SMDS_Mesh.cxx +++ b/src/DriverSTL/DriverSTL_W_SMDS_Mesh.cxx @@ -35,12 +35,11 @@ #include "SMESH_TypeDefs.hxx" #include -//#include #include #include -//#include #include #include +#include #include "utilities.h" @@ -59,6 +58,8 @@ void DriverSTL_W_SMDS_Mesh::SetIsAscii( const bool theIsAscii ) Driver_Mesh::Status DriverSTL_W_SMDS_Mesh::Perform() { + Kernel_Utils::Localizer loc; + Status aResult = DRS_OK; if ( !myMesh ) { diff --git a/src/DriverSTL/Makefile.am b/src/DriverSTL/Makefile.am index 426538639..709da5f90 100644 --- a/src/DriverSTL/Makefile.am +++ b/src/DriverSTL/Makefile.am @@ -60,6 +60,7 @@ libMeshDriverSTL_la_CPPFLAGS = \ libMeshDriverSTL_la_LDFLAGS = \ ../Driver/libMeshDriver.la \ ../SMDS/libSMDS.la \ + $(KERNEL_LDFLAGS) -lSALOMEBasics \ $(CAS_LDPATH) -lTKernel -lTKSTL -lTKTopAlgo -lTKMesh STL_Test_CPPFLAGS = \