Linux (C++)

更新时间:
复制 MD 格式

This topic describes how to integrate the C++ SDK for Linux.

Prerequisites

Server: A physical or virtual server.

  • Ubuntu 18.04 or later. The minimum required GLIBC version is 2.25. The SDK also depends on system libraries such as X11 and OpenGL.

    sudo apt-get install libatomic1 libx11-6 libxcomposite1 libxdamage1 libgl1
  • CentOS 8 or later. The minimum required GLIBC version is 2.25. The SDK also depends on system libraries such as X11 and OpenGL.

    sudo yum install libXcomposite libXdamage libXfixes mesa-libGL

Integrate the SDK

  1. Download and decompress the C++ SDK for Linux. The file is named dingrtc_linux_sdk_x.x.x.zip. For more information, see SDK Download.

  2. Add the SDK to your project:

    • Add the header files from the API folder to your project.

    • Add the library files from the lib/x86_64 folder to your project.

What to do next

After you integrate the SDK, you can implement the basic features of Real-Time Communication. For more information, see Implement basic features for Linux (C++).