From 77c1c9be98e8c9cc718cf37e7778a064a5cc2caf Mon Sep 17 00:00:00 2001 From: rnv Date: Fri, 8 Oct 2021 11:50:58 +0300 Subject: [PATCH] Build NETGENPLUGIN under Windows platform. --- src/NETGENPlugin/CMakeLists.txt | 1 + src/NETGENPlugin/NETGENPlugin_Defs.hxx | 2 +- src/NETGENPlugin/NETGENPlugin_Remesher_2D.cxx | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/NETGENPlugin/CMakeLists.txt b/src/NETGENPlugin/CMakeLists.txt index fc59406..c882e14 100644 --- a/src/NETGENPlugin/CMakeLists.txt +++ b/src/NETGENPlugin/CMakeLists.txt @@ -30,6 +30,7 @@ INCLUDE_DIRECTORIES( ${Boost_INCLUDE_DIRS} ${OMNIORB_INCLUDE_DIR} ${PROJECT_BINARY_DIR}/idl + ${NETGEN_ZLIB_INCLUDE_DIRS} ) # additional preprocessor / compiler flags diff --git a/src/NETGENPlugin/NETGENPlugin_Defs.hxx b/src/NETGENPlugin/NETGENPlugin_Defs.hxx index 7ceb67b..734b235 100644 --- a/src/NETGENPlugin/NETGENPlugin_Defs.hxx +++ b/src/NETGENPlugin/NETGENPlugin_Defs.hxx @@ -35,7 +35,7 @@ #define NETGENPLUGIN_EXPORT __declspec( dllimport ) #endif - #if defined(NETGEN_V5) + #if defined(NETGEN_V5) || defined(NETGEN_V6) #define NETGENPLUGIN_DLL_HEADER DLL_HEADER #else #define NETGENPLUGIN_DLL_HEADER diff --git a/src/NETGENPlugin/NETGENPlugin_Remesher_2D.cxx b/src/NETGENPlugin/NETGENPlugin_Remesher_2D.cxx index 5851a77..f7df639 100644 --- a/src/NETGENPlugin/NETGENPlugin_Remesher_2D.cxx +++ b/src/NETGENPlugin/NETGENPlugin_Remesher_2D.cxx @@ -66,7 +66,7 @@ namespace netgen { namespace nglib { NETGENPLUGIN_DLL_HEADER - extern netgen::Array > readedges; + extern netgen::NgArray > readedges; } namespace -- 2.39.2