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++:
-
Extract the files in Agora Signaling SDK to a local folder.
-
Copy the
*.sofile in the SDK folder into yourlibfolder, and copy the*.hfile in the SDK folder into yourincludefolder. -
Create a file named
CMakeLists.txtunder theRTM_quickstartdirectory 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)
