CCS Build Process

Back

 

To build any specific kernel for test, benchmarking or to pull in source code changes - just locate the associated project file, load it and run within the CCS environment. The sections below provide all necessary details to get started.

  1. Required Tools
  2. Build Complete IMGLIB Library
  3. Build Individual IMGLIB Kernel

The sections that follow detail each item above.

 

Required Tools

The following tools are required to build IMGLIB using CCS (links provided). Download and install all tools to a single local (C:) directory, for example, c:\Program Files\Texas Instruments.

Note:
A "My.TI" account is required for download and can be registered at my.ti.com

 

IMGLIB Build Procedure

The IMGLIB may be compiled with CCS following the procedure below:

  1. Open CCS Version 5.1 or later
  2. Import the IMGLIB makefile based project
    • Open the Project menu
    • Select Import Existing Eclipse Project
    • Import from the IMGLIB /lib directory
  3. Modify install paths and settings in makefile if necessary
    • Within CCS, open the makefile from the Project TAB
    • Check the CGT version: CCSCGTVER
    • Check the CCS path: CCSV5_INSTALL_DIR
    • Check the IMGLIB path: IMGLIB_INSTALL_DIR
  4. Build the project
    • Select Rebuild Active Project from Project menu

Note:
If the RMDIR utility in the makefile is not recognized, you may need to redefine it for a local utility.

 

Individual Kernel Build Procedure

Any individual kernel within IMGLIB may be compiled and tested via CCS following the procedure below:

  1. Open CCS
  2. Import the IMGLIB kernel project
    • Open the Project menu
    • Select Import Existing Eclipse Project
    • Import from the IMGLIB /packages/ti/imglib/src/<kernel> directory
  3. Use the Debug profile for debugging/modifing/optimizing kernels
    • Open the Project menu
    • Select Active Build Configuration and set to Debug
  4. Build and test the project
    • Select Rebuild Active Project from Project menu
    • Test using the proper target configuration
  5. Build for release
    • Open the Project menu
    • Select Active Build Configuration and set to Release
    • Select Rebuild Active Project from Project menu
    • This will ensure that the modified kernel's object code is linked when archiving the IMGLIB binaries.

 

Copyright 2012, Texas Instruments Incorporated