Wind River Support Network


LIN6-8513 : Freetype header files location not in sysroot exported environment

Created: Oct 9, 2014    Updated: Dec 3, 2018
Resolved Date: Oct 13, 2014
Found In Version:
Fix Version:
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Userspace


After unpacking an SDK built with freetype libraries, the freetype header files are well present however a application fails to build because the header files path is not set in the environment.
The freetype2 include path should be added to the environment.


manually add freetype include path when compiling but this is not the correct way of using the sdk.

Steps to Reproduce

1. create a WRL6 glibc_std project and add freetype
2. create and unpack the SDK
3. try to build an application like this:
#include <stdio.h>
#include <ft2build.h>

 printf ("hello\n");

it fails with:
 #include <freetype/config/ftheader.h>
compilation terminated.

this because:
the include paths is like this:
#include "..." search starts here:
#include <...> search starts here:
End of search list.

Other Downloads

Live chat