Search code examples
makefileopensplice

Opensplice failed to build dcpsisocpp2


I downloaded the latest source code of Opensplice DDS from https://github.com/ADLINK-IST/opensplice and tried to build it by following its instructions (source setenv, source ./configure, then make ..) in my Cygwin 64 bit.

The build (make command) appeared to be completed, but a number of modules such as dcpsisocpp2, durability, spliced didn't get built (I can't find dcpsisocpp2.dll, etc).

I wonder if anyone who is familar with Opensplice's makefile system can direct me to solve the problem.


Solution

  • You should identify you are going to use community or enterprise version. It seems the community version doesn't have spliced and durability services. Also, dcpsisocpp2 use C++03 which is a very old C++ standard, that when you use C++11 or C++14 writing your application, you might get some warning or error and spend lots of time fixing compile problems.

    Try to use dcpssacpp which follows the C++11 standard.