question

Upvotes
Accepted
2 0 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 5.0 MiB each and 10.0 MiB total.

1 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 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea