Skip to main content

Building OCAP RI in release mode

2 replies [Last post]
srikanthc
Offline
Joined: 2011-03-10

Hello Every one,

Can anyone tell me how to build OCAP RI in release mode? I tried changing the OCAPTC to win32/release but facing build issues.

Thanks,

SrikanthC

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
srikanthc
Offline
Joined: 2011-03-10

Hello Every one,

Can anyone tell me how to build OCAP RI in release mode? I tried changing the OCAPTC to win32/release but facing build issues

Build issue:

1. Many issues related to "might be used uninitialized in this function" are comming. All are not reported at a time but on consecutive builds with corrections for each.

Checked at https://community.cablelabs.com/wiki/display/OCORI/Properties+RI+Build+Environment for building in release mode

Could anyone tell me what does this mean

RI Platform (Windows) - The RI Platform is a set-top box emulator ported to the Win32 operating system.

    https://community.cablelabs.com/wiki/s/2042/6/1.2/_/download/resources/c...); ">
  • To compile the stack to the Windows RI Platform target, set OCAPTC to CableLabs/simulator/Win32/debug
  • At this time, there is no support for building a release version of the RI Platform Win32 targe

This is written under OCAP Stack Target Configurations section.

Thanks,

SrikanthC

mkorzen
Offline
Joined: 2008-03-05

Hello -

First of all, apologies for very late response...

The RI _should_ build properly in the release mode, including the platform code.

If you set your environment variables as follows:

$PLATFORMROOT=Win32/release

$OCAPROOT=CableLabs/simulator/$PLATFORMROOT

a release build should be produced, albeit it will take a large amount of time (on the order of couple of hours, depending on the performance of the build machine).

If you are seeing problems building the stack in release mode, feel free to file a Jira issue...

Best -

Marcin