Manual install

Updated

Install the Signaling SDK for your platform, using a package manager or a downloaded package.

To manually install the Signaling SDK for Linux C++:

  1. Extract the files in Agora Signaling SDK to a local folder.

  2. Copy the *.so file in the SDK folder into your lib folder, and copy the *.h file in the SDK folder into your include folder.

  3. Create a file named CMakeLists.txt under the RTM_quickstart directory to use CMake to build the project. The text file should contain the following content:

    cmake_minimum_required(VERSION 2.8)
    project(rtmQuickstart)
    
    set(TARGET_NAME rtmQuickstart)
    set(SOURCES rtmQuickstart.cpp)
    set(HEADERS)
    
    set(TARGET_BUILD_TYPE "Debug")
    set(CMAKE_CXX_FLAGS "-fPIC -O2 -g -std=c++11 -msse2")
    
    include_directories(${CMAKE_SOURCE_DIR}/include)
    link_directories(${CMAKE_SOURCE_DIR}/lib)
    
    add_executable(${TARGET_NAME} ${SOURCES} ${HEADERS})
    target_link_libraries(${TARGET_NAME} agora_rtm_sdk pthread)