From 67c880f59561f0ecd9fa72987069f1fc60a7eb52 Mon Sep 17 00:00:00 2001 From: Axel Huebl Date: Sun, 26 Mar 2023 00:51:06 -0700 Subject: [PATCH] Add Missing Exports/Symbol Linkage --- CMakeLists.txt | 4 ++++ include/openPMD/IO/AbstractIOHandlerImpl.hpp | 3 ++- include/openPMD/auxiliary/JSON_internal.hpp | 3 ++- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d737552e65..e8a4dd18a8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -543,13 +543,17 @@ set(IO_SOURCE src/IO/InvalidatableFile.cpp) set(IO_ADIOS1_SEQUENTIAL_SOURCE src/auxiliary/Filesystem.cpp + src/auxiliary/JSON.cpp src/ChunkInfo.cpp + src/Error.cpp src/IO/ADIOS/CommonADIOS1IOHandler.cpp src/IO/ADIOS/ADIOS1IOHandler.cpp src/IO/IOTask.cpp) set(IO_ADIOS1_SOURCE src/auxiliary/Filesystem.cpp + src/auxiliary/JSON.cpp src/ChunkInfo.cpp + src/Error.cpp src/IO/ADIOS/CommonADIOS1IOHandler.cpp src/IO/ADIOS/ParallelADIOS1IOHandler.cpp src/IO/IOTask.cpp) diff --git a/include/openPMD/IO/AbstractIOHandlerImpl.hpp b/include/openPMD/IO/AbstractIOHandlerImpl.hpp index f382a73258..c7202117b3 100644 --- a/include/openPMD/IO/AbstractIOHandlerImpl.hpp +++ b/include/openPMD/IO/AbstractIOHandlerImpl.hpp @@ -23,6 +23,7 @@ #include "openPMD/IO/AbstractIOHandler.hpp" #include "openPMD/IO/IOTask.hpp" #include "openPMD/auxiliary/DerefDynamicCast.hpp" +#include "openPMD/auxiliary/Export.hpp" #include #include @@ -569,7 +570,7 @@ class AbstractIOHandlerImpl * Using the default implementation (which copies the abstractFilePath * into the current writable) should be enough for all backends. */ - void + OPENPMDAPI_EXPORT void keepSynchronous(Writable *, Parameter param); /** Notify the backend that the Writable has been / will be deallocated. diff --git a/include/openPMD/auxiliary/JSON_internal.hpp b/include/openPMD/auxiliary/JSON_internal.hpp index e865ddc7de..8de3d3fa15 100644 --- a/include/openPMD/auxiliary/JSON_internal.hpp +++ b/include/openPMD/auxiliary/JSON_internal.hpp @@ -21,6 +21,7 @@ #pragma once +#include "openPMD/auxiliary/Export.hpp" #include "openPMD/config.hpp" #include @@ -64,7 +65,7 @@ namespace json * declare keys read manually. * */ - class TracingJSON + class OPENPMDAPI_EXPORT TracingJSON { public: TracingJSON();