From 7b2a4147d20d6fc90cff49a54d7d93b72c9515d0 Mon Sep 17 00:00:00 2001 From: ana Date: Thu, 19 Jun 2014 19:54:36 +0400 Subject: [PATCH] Windows compatibility --- src/Driver/CMakeLists.txt | 1 + src/SMESHUtils/SMESH_ComputeError.hxx | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Driver/CMakeLists.txt b/src/Driver/CMakeLists.txt index b69a98952..8eccaefcd 100644 --- a/src/Driver/CMakeLists.txt +++ b/src/Driver/CMakeLists.txt @@ -39,6 +39,7 @@ SET(_link_LIBRARIES ${CAS_TKernel} ${CAS_TKTopAlgo} SMESHDS + SMESHUtils ) # --- headers --- diff --git a/src/SMESHUtils/SMESH_ComputeError.hxx b/src/SMESHUtils/SMESH_ComputeError.hxx index 4887264da..b5e9965bb 100644 --- a/src/SMESHUtils/SMESH_ComputeError.hxx +++ b/src/SMESHUtils/SMESH_ComputeError.hxx @@ -24,6 +24,8 @@ #ifndef SMESH_ComputeError_HeaderFile #define SMESH_ComputeError_HeaderFile +#include "SMESH_Utils.hxx" + #include #include #include @@ -67,7 +69,7 @@ enum SMESH_ComputeErrorName */ // ============================================================= -struct SMESH_ComputeError +struct SMESHUtils_EXPORT SMESH_ComputeError { int myName; //!< SMESH_ComputeErrorName or anything algo specific std::string myComment; -- 2.30.2