The CFLAGS that Islam given had used correctly.

However, to use FreeType2 header file (not library, please be careful),
giving the top directory like "/xxx/include" does not match with FreeType2
convention. "/xxx/include/freetype2" should be used.

The CFLAGS for FreeType2 is set by freetype2.pc (via pkg-config), or
freetype-config, or, setting FREETYPE_CFLAGS and _LIBS. Please find
configure --help output.

If the freetype2 header files for host system is included, and,
its version or configuration is different from the freetype2 for
target, some incompatibility issues between header file / library
file may occur. It should be avoided.

BTW, looking the options that Islam gave, I'm afraid there was wrongly
comma-separated options, like,
-L/home/islamhassan/Development/embedded_linux/buildroot-2012.02/output/staging/usr/lib,-L/home/islamhassan/Development/embedded_linux/buildroot-2012.02/output/staging/lib
I suppose it should be separated by the space.

Regards,
mpsuzuki

Mohamed Nour wrote (2012/06/23 10:06):
Hi Suzuki,

I'm a bit confused about why the makefile is
using "-I/usr/include/freetype2" though Islam has explicitly declared
CFLAGS=-I/home/islamhassan/Development/embedded_linux/buildroot-2012.02/output/staging/usr/include;
is there anymore configuration needed?

Thanks,
Mohamed Nour

On Sat, Jun 23, 2012 at 1:13 AM, suzuki toshiya
<[email protected]>wrote:

Excuse me, does this file include the error message?
I could not find the line saying "cannot find -lfreetype".

In addition, I want to see you config.log again,
Apparently freetype2 for host (x86-64) is tried to be used,
as you can find "-I/usr/include/freetype2".

Regards,
mpsuzuki

Islam Hassan wrote (2012/06/22 8:21):

Attached is the output of the 'make V=1" command used after configuring
the
build using "./configure --build=x86_64-pc-linux-gnu --host=arm-linux
--disable-libpng --disable-cairo-output --disable-poppler-glib
--disable-cms
CPPFLAGS=-I/home/islamhassan/**Development/embedded_linux/**
buildroot-2012.02/output/**staging/usr/include
LDFLAGS=-L/home/islamhassan/**Development/embedded_linux/**
buildroot-2012.02/output/**staging/usr/lib,-L/home/**
islamhassan/Development/**embedded_linux/buildroot-2012.**
02/output/staging/lib
CFLAGS=-I/home/islamhassan/**Development/embedded_linux/**
buildroot-2012.02/output/**staging/usr/include
PKG_CONFIG_LIBDIR=/home/**islamhassan/Development/**
embedded_linux/buildroot-2012.**02/output/staging/usr/lib/**pkgconfig/"

On Thu, Jun 21, 2012 at 8:02 AM, Hib Eris <[email protected]> wrote:

 Can you tell us which command generated the error? (Run 'make V=1')
Hib Eris


------------------------------**------------------------------**
------------


______________________________**_________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/**mailman/listinfo/poppler<http://lists.freedesktop.org/mailman/listinfo/poppler>

______________________________**_________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/**mailman/listinfo/poppler<http://lists.freedesktop.org/mailman/listinfo/poppler>



_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to