For a deeper look into our Elektron API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 0 1

RTSDK CMake Error: download binarypack fail

Hi, I'm building RTSDK with cmake. An error occur when I run "cmake -H RTSDK -B RTSDK_binary" as follows:

It seems like a connection error, but I did successfully download the whole project pakcage from github with git clone. How can I fix the problem? Could you please help me out?


I'm working on centos 7. Thanks!

elektronrefinitiv-realtimeelektron-sdkrrt
1620802718350.png (199.2 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
Accepted
83.1k 281 53 77

@Fei

Thank you so much for the update.

In this case, it could be a problem in the cmake, as mentioned in this thread.

It works fine for me when using the cmake downloaded from https://cmake.org/files/v3.11/cmake-3.11.2-Linux-x86_64.tar.gz.

You may use a workaround by using curl to download the required packages and then copying the packages to the destination folders. For example, copy RTSDK-BinaryPack-2.0.1.L1.tar.xz to the /home/renfei/RTSDK_build/external/dlcache/ directory.



1620882682729.png (23.3 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Hello @Fei

You can also download the RSDK C++ package from the Developer Portal download page. The downloaded package will already contain the RTSDK-BinaryPack files and folder.

Upvotes
83.1k 281 53 77

@Fei

It could be a problem in curl or libcurl library, as mentioned in this thread. You can use the following command to verify their versions.

rpm -q curl libcurl

The output looks like this:

[root@f679e006d4b0 /]# rpm -q curl libcurl
curl-7.29.0-59.el7.x86_64
libcurl-7.29.0-59.el7.x86_64

You can also use the following command to try the HTTPS connection with curl.

curl -L https://github.com/Refinitiv/Real-Time-SDK/releases/download/Real-Time-SDK-2.0.1.L1/RTSDK-BinaryPack-2.0.1.L1.tar.xz -o RTSDK-BinaryPack-2.0.1.L1.tar.xz
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Thanks. I checked my curl version, it's like

" [root@878a1235d479 renfei]# rpm -q curl libcurl

curl-7.76.1-2.0.cf.rhel7.x86_64

libcurl-7.76.1-2.0.cf.rhel7.x86_64 "

and download goes ok with curl:

But cmake still fails.

1620872942773.png (36.9 KiB)

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.