Kaa releases
Shortcuts
Skip to end of metadata
Go to start of metadata

Use the following instructions to build endpoint SDKs in Java, C, and C++ for Linux.

Verified against:

Host OS: Ubuntu 14.04 LTS Desktop 64-bit.

Java endpoint SDK

To build the Java endpoint SDK, generate the Java endpoint SDK in Admin UI and download the generated .jar file.

C endpoint SDK

Before building the C endpoint SDK, install the following components on your machine:

  1. Install compilers:

    1. For automatic installation, execute the following commands:

    2. For manual installation of version 4.8, refer to the following example:

  2. Install CMake utility:

    1. For automatic installation, execute the following commands (tested on Ubuntu 14.04):

    2. For manual installation, refer to the following example:

  3. Install OpenSSL:


  4. Install CUnit:

To configure and build the C endpoint SDK, please refer to this page.

 C++ endpoint SDK

Before building the C++ endpoint SDK, install the following components on your machine:

  1. Install compilers:

    1. For automatic installation, execute the following commands:

    2. For manual installation of version 4.8, refer to the following example:

  2. Install CMake utility:

    1. For automatic installation, execute the following commands (tested on Ubuntu 14.04):

    2. For manual installation, refer to the following example:

  3. Install the Boost libraries:

    1. For automatic installation, execute the following commands:

    2. For manual installation, refer to the following example:

  4. Install the AvroC++ library manually:

  5. Install the Botan library by executing the following command: 

  6. Install the SQLite library by executing the following command: 

    1. For automatic installation, execute the following commands (tested on Ubuntu 14.04):

    2. For manual installation, refer to the following example:

NOTE: Instead of manually installing all required components and libraries, you can follow the quick way to build C/C++ endpoint SDK.  (only applicable for x86_64 platform build)

To configure and build the C endpoint SDK, please refer to this page.

Quick way to build C/C++ endpoint SDK

If you want to quickly build the endpoint SDK or build and run Kaa C/C++ demo applications, you can use a docker container with all necessary environment preinstalled.
NOTE: docker natively supports only amd64 architecture.

  1. Follow docker installation guide depends on your OS.

  2. Download the docker container.

  3. Get inside container and compile what you need: SDK, demo applications, etc.

    NOTE:
    To mount a host directory to the container's filesystem, add the following flag to the previous command: -v FOLDER_WITH_DEMO:FOLDER_INSIDE_CONTAINER
    For example, the following command will build a demo project and direct you to the container's shell, where you can test immediately:

  4. After the compilation, launch the demo binary located at /opt/demo/build/ in the container's filesystem.
    NOTE:
    If you would like to run a compiled binary on some other host, you should have all third-party libraries like boost, etc. preinstalled.

Copyright © 2014-2015, CyberVision, Inc.

  • No labels