libema missing and binary pack and cannot be build with gcc 10.2 centOs 7.4

Hi.

I trying to build the RTSDK from github master branch

neither

cmake -S <my_prefix>/Real-Time-SDK -B <my_prefix>/Real-Time-SDK/rtsdk.build -DCMAKE_BUILD_TYPE=Debug

nor

cmake -S <my_prefix>/Real-Time-SDK -B <my_prefix>/Real-Time-SDK/rtsdk.build -DCMAKE_BUILD_TYPE=Debug -DRTSDK_OPT_BUILD_ETA_EMA_LIBRARIES=ON -DBUILD_EMA_LIBRARY=ON

gives me ema library build

I see only ETA in RTSDK-BinaryPack/Cpp-C

The binary pack from github (https://github.com/Refinitiv/Real-Time-SDK/releases/download/Real-Time-SDK-2.0.4.L1/RTSDK-BinaryPack-2.0.4.L1.zip) contains only ETA too.

In cmake output I see

CMake Warning:

Manually-specified variables were not used by the project:


RTSDK_OPT_BUILD_ETA_EMA_LIBRARIES


Could you assist with that?

With best regards,

Dmitry Rusakov.

Tagged:

Best Answer

  • Jirapongse
    Jirapongse admin
    Answer ✓

    @dmitry.rusakov

    I can build the EMA library properly on Centos 7 and GCC 10.2. I used a docker container.

    [root@ce8125f7d5c7 rtsdk]# gcc --version
    gcc (GCC) 10.2.1 20201016 (Red Hat 10.2.1-7)
    Copyright (C) 2020 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.  There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


    [root@ce8125f7d5c7 rtsdk]# g++ --version
    g++ (GCC) 10.2.1 20201016 (Red Hat 10.2.1-7)
    Copyright (C) 2020 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.  There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


    [root@ce8125f7d5c7 rtsdk]# lsb_release -a
    LSB Version:    :core-4.1-amd64:core-4.1-noarch
    Distributor ID: CentOS
    Description:    CentOS Linux release 7.9.2009 (Core)
    Release:        7.9.2009
    Codename:       Core
    [root@ce8125f7d5c7 rtsdk]# cmake --version
    cmake version 3.14.1


    CMake suite maintained and supported by Kitware (kitware.com/cmake).

    The cmake command is:

    cmake ../ -DBUILD_UNIT_TESTS=OFF -DBUILD_ETA_APPLICATIONS=OFF -DCMAKE_BUILD_TYPE=Debug

    Then run the make command to build the libraries.

    The EMA library is in the Cpp-C/Ema/Libs/CENTOS7_64_GCC1021/Debug directory.

    [root@ce8125f7d5c7 Debug]# pwd
    /opt/refinitiv/Real-Time-SDK/Cpp-C/Ema/Libs/CENTOS7_64_GCC1021/Debug
    [root@ce8125f7d5c7 Debug]# ls -al
    total 91632
    drwxr-xr-x 3 root root     4096 Feb  7 05:51 .
    drwxr-xr-x 3 root root     4096 Feb  7 05:49 ..
    drwxr-xr-x 2 root root     4096 Feb  7 05:52 Shared
    -rw-r--r-- 1 root root 93818786 Feb  7 05:51 libema.a

Answers