Use the following steps to build a client that uses the IoTC Agent SDK.

Procedure

  1. Extract the IoTC Agent SDK to a directory such as IOTC_DIR=/opt/iotc-sdk.
  2. Compile the client application by entering the include directory and the libraries to link.
    LD_LIBRARY_PATH=../lib gcc -o MyClient MyClient.c -I $IOTC_DIR/include/ -L $IOTC_DIR/lib -liotc-agent-sdk