Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To date, only the following build environments are supported:

  • Windows (Cygwin, MinGW)
    • When building under this environment, ensure that your OCAPHOST and PLATFORMHOST environment variables are set to Win32-Cygwin
  • Linux
    • When building under this environment, ensure that your OCAPHOST and PLATFORMHOST environment variables are set to Linux

Environment Variables

The RI Stack and RI Platform require several environment variables be set for proper compilation and execution.

RI Stack Variables

Environment Variable

Description

OCAPROOT

Root directory of the stack

OCAPTC

Target configuration directory

OCAPHOST

Host environment identifier.
You will find host-specific build settings
in $OCAPROOT/hostconfig/$OCAPHOST

JAVA_HOME

Location of a Java 1.4 or higher Java
Development Kit (JDK) installation.

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.
You will find host-specific build settings
in $PLATFORMROOT/hostconfig/$PLATFORMHOST

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:

...

  • RI Platform (Windows) - The RI Platform is a set-top box emulator ported to the Win32 operating system.
    • To compile the stack to the Windows RI Platform target, set OCAPTC to CableLabs/simulator/Win32/debug or CableLabs/simulator/Win32/release.
  • RI Platform (Linux) - The RI Platform is a set-top box emulator ported to the Linux operating system.
    • To compile the stack to the Linux RI Platform target, set OCAPTC to CableLabs/simulator/Linux/debug or CableLabs/simulator/Linux/release

...

    • .