[cairo] Cross configure and compile
ali.sarlak at aol.com
Tue Mar 10 00:11:36 PDT 2015
I do a lot of effort to configure the Cairo graphic library with OpenVG or EGL surface back-end for my ARM target, at first please check my configuration command :
./configure --enable-egl=yes --enable-vg=yes --host=arm-none-linux-gnueabi --with-sysroot=/home/super/Desktop/MY_ROOTFS --prefix=/home/super/Desktop/cairo/out_cairo PKG_CONFIG_PATH=/home/super/Desktop/MY_ROOTFS/usr/lib/pkgconfig
./configure --enable-egl=yes --host=arm-none-linux-gnueabi --prefix=/home/super/Desktop/cairo/out_cairo CFLAGS="-I/home/super/Desktop/MY_ROOTFS/include/EGL/" --with-sysroot=/home/super/Desktop/MY_ROOTFS
after configuration I think that configuration file get require library from my host machine(--build) not from Target machine(--host) because Cairo can find libpng that it exists on my host rootfs not on my target rootfs and also Cairo configuration file couldn't find headers file for EGL or OpenVG even after set the PKG_CONFIG_PATH variable (I have suitable headers and libraries on my target rootfs) but it can find OpenVG header files by using CFLAGS variable.
What is the problem?
How can I solve it?
My target information
ARCH : ARM cortex A9
COMPILER prefix : arm-non-gnueabi-
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cairo