Installing the macOS binary distribution

Setting up your macOS environment to use DataStorm

After installing DataStorm, read the relevant language-specific sections below to learn how to configure your environment and start programming with DataStorm.

C++

Compiling and Linking

When compiling DataStorm for C++ programs, you must pass the -pthread option. A typical compile command would look like this:

c++ -c -pthread myprogram.cpp

When linking a program you must link with at least the DataStorm library. A typical link command would look like this:

c++ -o myprogram myprogram.o -lDataStorm -lIce++11

If you want to include DataStorm in your application bundle, you will need to copy the necessary DataStorm libraries to the Contents/Frameworks subdirectory of your bundle and use @loader_path/../Frameworks as the run path when linking the application.

Please refer to the dyld man page on your macOS system to learn more about @loader_path.