Exception: Call to './pkg-config-wrapper "/pxa/toolchain/arm-marvell-linux-gnueabi/arm-marvell-linux-gnueabi/" --cflags gtk+-2.0 gthread-2.0' returned exit status 1. while loading dependencies of ../base/base.gyp while loading dependencies of ../app/app.gyp while loading dependencies of all.gyp while trying to load all.gyp
解决方法:
你可能和我一样郁闷,明明把PKG_CONFIG_PATH设好了,但是还是找不到一些库的.pc文件。
这样试试看:
在src/build/linux下找到pkg-config-wrapper。将以下这句
config_path=$root/usr/lib/pkgconfig:$root/usr/share/pkgconfig
改为:
config_path=您的交叉编译工具下面的pkgconfig路径
我这样之后就可以了。祝您好运