The following links will help you set up your environment for compiling the various components of the CableLabs OpenCable Reference Implementation
To date, only the following build environments are supported:
The RI Stack and RI Platform require several environment variables be set for proper compilation and execution.
Environment Variable | Description |
---|---|
OCAPROOT | Root directory of the stack |
OCAPTC | Target configuration directory |
OCAPHOST | Host environment identifier. |
JAVA_HOME | Location of a Java 1.4 or higher Java |
ANT_HOME | Location of Ant 1.8 or higher installation |
Environment Variable | Description |
---|---|
PLATFORMROOT | Root directory of the platform source |
PLATFORMTC | Target configuration directory |
PLATFORMHOST | Host environment identifier. |
RI Platform Target Configurations
The Reference Implemenation Platform (RI Platform) is a set-top box emulator that is the primary target for the Reference Implementation OCAP Stack. The RI Platform can be compiled to run on any number of operating systems. Currently the following targets are supported:
NOTE: Optimization for "release" versions is in the early stages of development.
The Reference Implementation OCAP Stack can be compiled to run on any number of target platforms and in either debug or release mode. The target-specific build files for the RI Stack are located in $OCAPROOT/target. From there, the OCAPTC environment variable describes the location of the build files. The OCAPTC environment variable is formatted like this:
<organization>/<target platform>/<target OS>/<debug|release>
Currently, the project supports the following targets: