Use the following steps to build a client that uses the IoTC Agent SDK.
- Extract the IoTC Agent SDK to a directory such as IOTC_DIR=/opt/iotc-sdk.
- Compile the client application by entering the
includedirectory 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