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.
- Required Tools
- Build Complete IMGLIB Library
- Build Individual IMGLIB Kernel
The sections that follow detail each item above.
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
|
The IMGLIB may be compiled with CCS following the procedure below:
- Open CCS Version 5.1 or later
- Import the IMGLIB makefile based project
- Open the Project menu
- Select Import Existing Eclipse Project
- Import from the IMGLIB
/lib directory
- 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
- 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.
|
Any individual kernel within IMGLIB may be compiled and tested via CCS following the procedure below:
- Open CCS
- Import the IMGLIB kernel project
- Open the Project menu
- Select Import Existing Eclipse Project
- Import from the IMGLIB
/packages/ti/imglib/src/<kernel> directory
- Use the Debug profile for debugging/modifing/optimizing kernels
- Open the Project menu
- Select Active Build Configuration and set to Debug
- Build and test the project
- Select Rebuild Active Project from Project menu
- Test using the proper target configuration
- 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