From 012489a7e95eb96e3b8dad95b8fe99014087e3e4 Mon Sep 17 00:00:00 2001 From: rnv Date: Fri, 12 Aug 2011 08:21:18 +0000 Subject: [PATCH] Win32 compilation. --- src/SMESHUtils/Makefile.am | 2 +- src/SMESHUtils/SMESH_Octree.hxx | 3 ++- src/SMESHUtils/SMESH_OctreeNode.hxx | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/SMESHUtils/Makefile.am b/src/SMESHUtils/Makefile.am index 8125be45c..5d081bace 100644 --- a/src/SMESHUtils/Makefile.am +++ b/src/SMESHUtils/Makefile.am @@ -54,4 +54,4 @@ libSMESHUtils_la_CPPFLAGS = \ libSMESHUtils_la_LDFLAGS = \ ../SMESHDS/libSMESHDS.la \ - $(CAS_LDPATH) -lTKShHealing -lTKPrim -lTKG2d + $(CAS_LDPATH) -lTKShHealing -lTKPrim -lTKG2d -lTKG3d -lTKGeomBase diff --git a/src/SMESHUtils/SMESH_Octree.hxx b/src/SMESHUtils/SMESH_Octree.hxx index afcb1ecaf..5edd536c0 100644 --- a/src/SMESHUtils/SMESH_Octree.hxx +++ b/src/SMESHUtils/SMESH_Octree.hxx @@ -29,9 +29,10 @@ #ifndef _SMESH_OCTREE_HXX_ #define _SMESH_OCTREE_HXX_ +#include "SMESH_Utils.hxx" #include -class SMESH_Octree { +class SMESHUtils_EXPORT SMESH_Octree { public: diff --git a/src/SMESHUtils/SMESH_OctreeNode.hxx b/src/SMESHUtils/SMESH_OctreeNode.hxx index e8f5beac2..afa3ad193 100644 --- a/src/SMESHUtils/SMESH_OctreeNode.hxx +++ b/src/SMESHUtils/SMESH_OctreeNode.hxx @@ -30,6 +30,7 @@ #ifndef _SMESH_OCTREENODE_HXX_ #define _SMESH_OCTREENODE_HXX_ +#include "SMESH_Utils.hxx" #include "SMESH_Octree.hxx" #include #include "SMDS_MeshNode.hxx" @@ -48,7 +49,7 @@ typedef SMDS_Iterator SMESH_OctreeNodeIterator; typedef boost::shared_ptr SMESH_OctreeNodeIteratorPtr; typedef std::set< const SMDS_MeshNode*, TIDCompare > TIDSortedNodeSet; -class SMESH_OctreeNode : public SMESH_Octree { +class SMESHUtils_EXPORT SMESH_OctreeNode : public SMESH_Octree { public: -- 2.39.2