[cairo] Cross configure and compile
Ali Sarlak
ali.sarlak at aol.com
Tue Mar 10 00:11:33 PDT 2015
Dear reader
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 :
1-
./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
2-
./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-
Best Regards:
Sarlak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo/attachments/20150310/cc5127cb/attachment.html>
More information about the cairo
mailing list