Fail to build up Azure IOT-SDK- C with Linux (ubuntu 14.04) environment

Howshow 106 Reputation points
2020-12-07T03:12:48.02+00:00

Dear Sir :
My Linux environment
Ubuntu : 14.04.06 (LTS)
gcc : 4.8.4
cmake : 2.8.12.2
CURL : 7.35
azure-iot-sdk-c SDK version : LTS_07_2020_Ref01

I follow this guideline as below to set up my Linux environment and got some problem.
https://github.com/Azure/azure-iot-sdk-c/blob/master/doc/devbox_setup.md

When I started "Build the C SDK on Linux " steps, there are errors with 'cmake ..' command.
What should I do ?
thank you.

cd azure-iot-sdk-c
mkdir cmake
cd cmake
cmake .. ---> error !

45478-image.png

Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,271 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
228 questions
{count} vote

Accepted answer
  1. Howshow 106 Reputation points
    2020-12-08T03:06:27.3+00:00

    Hi @QuantumCache :
    I I install CMake 3.2.2 from source,it worked.
    Thank you !
    But I think the guideline description should be revised for CMake version .
    Verify that CMake is at least version 2.8.12: ---- > 3.x ?
    That could save your resource.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.