3.1 Building and Linking

The top-level SDDS make command builds and installs SDDS++ along with the C library. It may also be built and tested directly:

make -C SDDSlib++  
make -C SDDSlib++ test

On Unix-like systems the static library is normally named libSDDSpp.a; shared builds use libSDDSpp.so or libSDDSpp.dylib. On Windows the corresponding import or static library is SDDSpp.lib. Applications must be compiled as C++17 or later. A typical Unix command is:

g++ -std=c++17 -I/path/to/include example.cc \  
    -L/path/to/lib -lSDDSpp -llzma -lz -o example

The public interface uses the C++ standard library, including std::string, std::vector, std::variant, and std::filesystem. A stable C++ ABI across different compilers or standard-library implementations is not promised. Applications should use a library built with a compatible C++ toolchain.