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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
2 2 0 3

Elektron-SDK-1.2.1 : CMake Error at CMake/setBinaryEnvironment.cmake:208 (string): string no output variable specified

I am building Elektron-SDK v1.2.1 c++
cmake version : 3.12.2
os : Red Hat Enterprise Linux Server release 7.5 (Maipo)

I am getting the following error while executiong cmake -H. -Bbuild

CMake Error at CMake/setBinaryEnvironment.cmake:208 (string): string no output variable specified

CMake Error at CMake/setBinaryEnvironment.cmake:227 (string): string sub-command REGEX, mode MATCH needs at least 5 arguments total to command.

elektronrefinitiv-realtimeelektron-sdkerror
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.

As RH version 7.5 is not supported as per compatibility matrix, looks like cmake should fail to identify the OS as supported, and should fail (in setBinaryEnvironment).

May not have the very latest info, so asked expert Bill Berner to help confirm if this should work as described.

1 Answer

· Write an Answer
Upvotes
Accepted
261 1 2 3

This error happens when lsb_release isn't installed on the machine. Can you please install this with:

yum install redhat-lsb

That should install the lsb_release command, and the cmake scripts should work.

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.

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.