Table of Contents

This page presents a high level overview and instructions for building the various components of the OCAP Reference Implementation as well as supporting tools, which include:

  • PC Platform Emulator
  • OCAP Stack
  • Common Source
  • ATE Emulator
  • TWB SDK

You should always compile changes to the RI Platform before compiling changes to the OCAP stack.

Build Environment Summary

More detailed instructions on how to set up your complete build environment can be found at RI Build Environment.

From a build perspective the key environment variables to understand are

Building the Various RI Components

Platform Build

  • cd $PLATFORMROOT
  • make clean purge build
    • does not give success response, last line says "make[1]: Leaving directory '/cygdrive/.../RI_Platform/launcher'

For more details about platform make targets see $PLATFORMROOT/Makefile.

OCAP Stack Build

  • cd $OCAPROOT
  • ant clean purge build

TWB SDK

See Building a bundled SDK and RI Installer.

ATE Emulator (a.k.a. atelite)

See ATE Emulator (Automated Test Environment).

  • No labels

1 Comment

  1. Original Comment Posted by Ira Miller (6/29/10)

    Some notes from the CTP team's efforts in this field:

    1. Use posix / style paths for all environmental variables (including your path)
    2. Don't allow any spaces in your env. variables. i.e. C:/Program Files...
    3. Use the cygwin install built for the RI (it is on the wiki, just search "cygwin") but make sure that the make version is the newest. If you see error messages asking for $ after : you probably have the buggy version.
    4. If vlc has never been run before, it must be run manually before the RI will function properly.
    Posted on 6/29/10 4:23 PM.