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;