Boeing OCP (Open Control Platform) External
Web Build 0.1 Building and Installing

Building and Installing the OCP Build 0.1

The following table summarizes the platforms that are supported by the OCP or currently in work.
 
Fully supported Windows NT (MSVC 5.X, 6.X)
Partially supported (RTARM must be disabled in this version) Redhat Linux (5.x, 6.x),  SunOS 5.x
In Work IRIX 6.X, VxWorks


On Windows NT

Installing the OCP Source

The OCP has been provided as a zipped file for Windows platforms.  Copy the file to the desired build location which will be referred to in the following sections as OCP_ROOT.  (i.e. C:\SEC\OCP_B0.1)

Copying the file for Windows platforms:
 


Use WinZip or a similar program to extract the archived file under the destination directory preserving the relative directory.
 

Setting up the environment

The OCP requires the following environment variables:

OCP_ROOT, ACE_ROOT, TAO_ROOT and TAO_IDL_PREPROCESSOR.

Use Settings -> Control Panel -> System -> Environment to set the environment variables as follows:

OCP_ROOT = Destination directory (i.e. C:\SEC\OCP_B0.1)
ACE_ROOT = %OCP_ROOT%\OCP\Infrastructure\PlatformServices\ACE_Wrappers
TAO_ROOT = %ACE_ROOT%\TAO
TAO_IDL_PREPROCESSOR=c:/Program Files/Microsoft Visual Studio/VC98/bin/cl.exe  (i.e. this is the default location of the CPP,  enter the installation location for your CPP if the default was not used)
PATH=%PATH%;%OCP_ROOT%\OCP\_Libfiles

After setting the environment variables, reboot to ensure that the environment variables take effect.

 

Building the Alpha OCP

Building the core OCP

Follow the process below to build the core OCP:

  1. Build the OCP

Building the Alpha version of the Controls API

Follow the process below to build the Alpha version of the Controls API:

  1. Open the sigman.dsw workspace in the $OCP_ROOT\OCP\gtsec\sigman directory.

Examples

Building the Alpha OCP Controls API examples

Follow the instructions in the Alpha OCP Controls API Examples section to build and run the Alpha OCP Controls API examples.

Building the MATLAB/OCP Integration example

Follow the instructions in the  MATLAB/OCP Integration section to build and run the MATLAB/OCP Integration example.

Building the Examples

Follow the process below to build the OCP Examples:

  1. Build the Examples by choosing one of the following methods:


On Redhat Linux

Installing the OCP Source

The OCP has been provided as a tarred gzipped file for Unix platforms.  Copy the file to the desired build location which will be referred to in the following sections as OCP_ROOT.  (i.e. /usr/local/SEC/OCP_B0.1)

Use a terminal window to copy the file: (For example)

$cp <download_dir>/AlphaOCP.tar.gz /usr/local/SEC/OCP_B0.1/

Use gunzip to unzip the archive.

$gunzip OCP.tar.gz
$tar xvf OCP.tar

Setting up the environment

The OCP requires the following environment variables:

OCP_ROOT, ACE_ROOT, and TAO_ROOT.

These environment variable can be set automatically by changing the the OCP_ROOT directory and executing the setup_sec_linux shell script.

$cd /usr/local/SEC/OCP_B0.1
$source setup_sec_linux
 

Building the Alpha OCP

Building the core OCP

Follow the process below to build the OCP:

  1. Change to the OCP_ROOT directory.
  2.  Make the OCP

Building the Alpha version of the Controls API

Follow the process below to build the Alpha version of the Controls API:

  1. Change to the $OCP_ROOT/OCP/gtsec/sigman directory.
  2. Make the Alpha Controls API

Examples

Building the Alpha OCP Controls API examples

Follow the instructions in the Alpha OCP Controls API Examples section to build and run the Alpha OCP Controls API examples.

Building the MATLAB/OCP Integration example

The MATLAB/OCP integration example currently only run on Windows NT.  OCP B1.0 will support integration with MATLAB running on Linux. example.

Building the Examples

Follow the process below to build the OCP Examples:

*** NOTES ***

  1. The Real-Time Adaptive Resource Manager (RTARM) component does not run on Linux in the Alpha version of the OCP.  In order to use the RTARM, you must run the Windows NT build
  2. The OCP spawns Real-Time threads (SCHED_FIFO).  This capability requires root privileges on Linux.
  3. The OCP compiles with the EGCS compiler that ships with Redhat 6.1.  (EGCS 1.1.2)


On VxWorks

The Alpha version of the OCP has not been verified on VxWorks.  Future versions of the OCP will run on the VxWorks(Greenhills) and VxWorks(Tornado) platforms.  The Alpha version of the OCP will only run on Redhat Linux and Windows NT platforms.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Home | Program Information | SEC Phone/email List


Email Comments/Suggestions To: james.l.paunicka@boeing.com      Last Modified: May 08, 2000
Copyright Unpublished - 2000. All rights reserved under the copyright laws by the Boeing Company.