![]() |
![]() |
Since IMGLIB is a collection of individual kernels, any combination of the kernels that comprise IMGLIB may be integrated into a system individually. Integration, for single or multiple kernels, requires four simple steps:
The sections that follow provide details regarding the above four steps.
On installation, the IMGLIB libraries are built and ready to link. Therefore, this step is only required when the original kernel source code has been refined or contributions have been added. See IMGLIB Build Process for details regarding building IMGLIB . |
Add calls to IMGLIB kernels within the system source code as necessary. Any system source file that contains calls to an IMGLIB kernel will require that the IMGLIB header file imglib.h is included. See the IMGLIB Function Reference for details on individual kernel APIs. |
To re-compile the system code, the path to the packages directory will need to be added to the compiler's include path search list. This path will depend on the IMGLIB root installation directory. This allows the main IMGLIB header file to be moved from within the installation directory and still recognize the individual kernel headers. |
The path to the IMGLIB libraries must be provided to the linker via the -l directive. See Library Directory for IMGLIB library details. |