freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft] Freetype2-dev package not found when crosscompiling


From: Nikolaus Neusser
Subject: Re: [ft] Freetype2-dev package not found when crosscompiling
Date: Sun, 6 Nov 2016 09:34:35 +0100
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0

According to the man page <https://linux.die.net/man/1/pkg-config>, you
have to set the PKG_CONFIG_SYSROOT_DIR environment variable to point to
where the includes and libs for the target system are kept, in order to
do cross-compilation.

Yes, i did that, or at least i tried.
I set other variables as well.
But obviously i am doing something wrong.

i export the following variables before running qmake
        sysroot=~/opt_qt_for_rpi/qt5.6.1-1/sysroot
        export PKG_CONFIG_SYSROOT_DIR=${sysroot}
        export PKG_CONFIG_DIR=
        export PKG_CONFIG_DEBUG_SPEW=1
        export 
PKG_CONFIG_LIBDIR=${sysroot}/usr/lib/pkgconfig:${sysroot}/usr/share/pkgconfig
        export PKG_CONFIG_PATH=${sysroot}
export COMPILER_PATH=~/opt_qt_for_rpi/qt5.6.1-1/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin


Nik

Am 06.11.2016 um 08:21 schrieb Lawrence D'Oliveiro:
On Sun, 6 Nov 2016 07:22:35 +0100, Nikolaus Neusser wrote:

All i know is, that the developer of the plugin told
me, that freetype2 is found through pkg-config.
According to the man page <https://linux.die.net/man/1/pkg-config>, you
have to set the PKG_CONFIG_SYSROOT_DIR environment variable to point to
where the includes and libs for the target system are kept, in order to
do cross-compilation.

_______________________________________________
Freetype mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/freetype





reply via email to

[Prev in Thread] Current Thread [Next in Thread]