mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-27 18:00:34 +05:00
Compilation on Windows platform.
This commit is contained in:
parent
683b9e264c
commit
9acd4347a6
@ -45,6 +45,7 @@ SET(_link_LIBRARIES
|
|||||||
${KERNEL_SALOMEBasics}
|
${KERNEL_SALOMEBasics}
|
||||||
MeshDriver
|
MeshDriver
|
||||||
SMDS
|
SMDS
|
||||||
|
SMESHUtils
|
||||||
)
|
)
|
||||||
|
|
||||||
SET(_link_LIBRARIES_bin
|
SET(_link_LIBRARIES_bin
|
||||||
|
@ -22,17 +22,17 @@
|
|||||||
|
|
||||||
#include "DriverSTL_R_SMDS_Mesh.h"
|
#include "DriverSTL_R_SMDS_Mesh.h"
|
||||||
|
|
||||||
|
#include <Basics_Utils.hxx>
|
||||||
|
|
||||||
|
#include <gp_Pnt.hxx>
|
||||||
|
#include <NCollection_DataMap.hxx>
|
||||||
|
#include <Standard_NoMoreObject.hxx>
|
||||||
|
|
||||||
#include "SMDS_Mesh.hxx"
|
#include "SMDS_Mesh.hxx"
|
||||||
#include "SMDS_MeshElement.hxx"
|
#include "SMDS_MeshElement.hxx"
|
||||||
#include "SMDS_MeshNode.hxx"
|
#include "SMDS_MeshNode.hxx"
|
||||||
#include "SMESH_File.hxx"
|
#include "SMESH_File.hxx"
|
||||||
|
|
||||||
#include <gp_Pnt.hxx>
|
|
||||||
#include <Basics_Utils.hxx>
|
|
||||||
|
|
||||||
#include <NCollection_DataMap.hxx>
|
|
||||||
#include <Standard_NoMoreObject.hxx>
|
|
||||||
|
|
||||||
namespace
|
namespace
|
||||||
{
|
{
|
||||||
struct Hasher
|
struct Hasher
|
||||||
|
@ -22,6 +22,12 @@
|
|||||||
|
|
||||||
#include "DriverSTL_W_SMDS_Mesh.h"
|
#include "DriverSTL_W_SMDS_Mesh.h"
|
||||||
|
|
||||||
|
#ifdef WIN32
|
||||||
|
#define NOMINMAX
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <Basics_Utils.hxx>
|
||||||
|
|
||||||
#include "SMDS_FaceOfNodes.hxx"
|
#include "SMDS_FaceOfNodes.hxx"
|
||||||
#include "SMDS_IteratorOnIterators.hxx"
|
#include "SMDS_IteratorOnIterators.hxx"
|
||||||
#include "SMDS_Mesh.hxx"
|
#include "SMDS_Mesh.hxx"
|
||||||
@ -32,8 +38,6 @@
|
|||||||
#include "SMESH_File.hxx"
|
#include "SMESH_File.hxx"
|
||||||
#include "SMESH_TypeDefs.hxx"
|
#include "SMESH_TypeDefs.hxx"
|
||||||
|
|
||||||
#include <Basics_Utils.hxx>
|
|
||||||
|
|
||||||
//#include "utilities.h"
|
//#include "utilities.h"
|
||||||
|
|
||||||
#include <limits>
|
#include <limits>
|
||||||
|
@ -42,6 +42,7 @@ SET(_link_LIBRARIES
|
|||||||
${CAS_TKG3d}
|
${CAS_TKG3d}
|
||||||
${CAS_TKGeomBase}
|
${CAS_TKGeomBase}
|
||||||
${CAS_TKGeomAlgo}
|
${CAS_TKGeomAlgo}
|
||||||
|
${Boost_LIBRARIES}
|
||||||
SMESHDS
|
SMESHDS
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -171,7 +171,7 @@ long SMESH_File::size()
|
|||||||
if ( _size >= 0 ) return _size; // size of an open file
|
if ( _size >= 0 ) return _size; // size of an open file
|
||||||
|
|
||||||
boost::system::error_code err;
|
boost::system::error_code err;
|
||||||
uintmax_t size = boofs::file_size( _name, err );
|
boost::uintmax_t size = boofs::file_size( _name, err );
|
||||||
_error = err.message();
|
_error = err.message();
|
||||||
|
|
||||||
return err ? -1 : (long) size;
|
return err ? -1 : (long) size;
|
||||||
|
Loading…
Reference in New Issue
Block a user