#!/bin/bash set -e mangle_pkg_config_result() { local OPTIND o a neednewline while getopts ":l:L:I:D:W" o; do case "${o}" in L | I ) if [[ -e "${OPTARG}" ]] then echo -n "-${o}${OPTARG} " else echo -n "-${o}${OPTARG##$PKG_CONFIG_SYSROOT_DIR} " fi ...
解决办法:编qt/e库前必需把tslib库路径加入当前环境变量PKG_CONFIG_PATH和LD_LIBRARY_PATH中,如下面所示 export TSLIB_ROOT=/home/mytslib export PKG_CONFIG_PATH=$TSLIB_ROOT/lib/pkgconfig:$PKG_CONFIG_PATH export LD_LIBRARY_PATH=$TSLIB_ROOT/lib:$LD_LIBRARY_PATH ...
Long story short, we would really like a way to have PKG_CONFIG_SYSROOT_DIR apply to cflags and libs, but not to variables which are used to determine install locations. This behavior was discussed in #69, and the following was proposed: If you have a specific use-case for the freedesk...
config_data(1) conflict(1) conjure(1) constype(1) continue(1) convert(1) convmv(1) corelist(1) cp(1) cp(1g) cpack(1) cpan(1) cpan2dist(1) cpanp(1) cpio(1) cpp(1) cpp(1) cputrack(1) crle(1) crontab(1) cryptdir(1) csh(1) csplit(1) csplit(1g) cssh(1) ct(1C...
PKG_CONFIG_PATH=/opt/gtk/lib/pkgconfig 重启之后: [root@localhost ~]# echo $PKG_CONFIG_PATH /opt/gtk/lib/pkgconfig 二、运行时 库文件在连接(静态库和共享库)和运行(仅限于使用共享库的程序)时被使用,其搜索路径是在系统中进行设置的。一般Linux系统把/lib和/usr/lib两个目录作为默认的库搜索路径,...
I copied pkg-config.exe to C:/SysGCC/Raspberry/bin I added cmake environment variables: PKG_CONFIG_SYSROOT_DIR=C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot PKG_CONFIG_PATH=C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/lib/arm-linux-gnueabihf/pkgconfig;C:/SysGCC/Raspberry/arm-linu...
_linux/bin 先把交叉编译链添加到当前的环境变量里,然后配置configure, 我的配置如下: CC=arm-linux-gnueabihf-gcc CXX=arm-linux-gnueabihf-g.../arm/protobuf/lib/pkgconfig/ export PKG_CONFIG_PATH=/usr/local/protobuf3.4/lib/pkgconfig/ ...CC=arm-linux-gnueabihf-gcc CXX=arm-linux-gnueabihf-g++ ....
Libs: -L${libdir} -lgtk-${target}-2.0 Cflags: -I${includedir}/gtk-2.0 这个文件一般放在 /usr/lib/pkgconfig/ 或者 /usr/local/lib/pkgconfig/ 里,当然也可以放在其它任何地方,如像 X11 相关的pc文件是放在 /usr/X11R6/lib/pkgconfig 下的。为了让pkgconfig可以找到你的pc文件,你要把pc文件所在的...
执行configure后,提示ERROR:gnutls not found using pkg-config 从ubuntu16.04开始,编译ffmpeg就报这个...
SYSROOT=$NDK/toolchains/llvm/prebuilt/darwin-x86_64/sysroot CROSS_PREFIX=$TOOLCHAIN/bin/aarch64-linux-android- PREFIX=$(pwd)/androidOut/$CPU OPTIMIZE_CFLAGS="-march=$CPU" echo"PKG_CONFIG_PATH:${PKG_CONFIG_PATH}" #清空上次的编译 makeclean #函数调用 build_android echo"===buildandroidffmpeg...