GitHub is where people build software. More than 150 million people use GitHub to discover, fork, and contribute to over 420 million projects.
git clone https://github.com/google/brotli.git mkdir brotli-build cd brotli-build/ cmake -DBUILD_{SHARED,STATIC}_LIBS=ON ../brotli make sudo make install cat << EOF > a.c #ifdef __cplusplus extern "C" #endif char BrotliDecoderDecompress (); int main (void) { return BrotliDecoderDe...
Package Sidebar Install npm ipkgconfig Repository github.com/fhellwig/pkgconfig Homepage github.com/fhellwig/pkgconfig#readme Weekly Downloads 132 Version 3.2.0 License MIT Last publish 8 years ago Collaborators Tryon RunKit Reportmalware
这就需要我们在使用pkg-config命令的时候去指定。比如$gcc main.c `pkg-config --cflags --libs gtk+-2.0` -o main就指定了要查找的.pc文件是gtk+-2.0.pc。又比如,有第三方库OpenCV,而且其对应的pc文件为opencv.pc,那么我们在使用的时候,就要这样写`pkg-config --cflags --libs opencv`。这样,pkg-config...
在这里,pkg-config --cflags libfoo和pkg-config --libs libfoo分别会输出编译和链接应用程序时需要的标志。 pkg-config的配置文件和路径 通常,pkg-config的配置文件(.pc文件)存放在/usr/lib/pkgconfig、/usr/share/pkgconfig或/usr/local/lib/pkgconfig等目录中。我们也可以通过设置PKG_CONFIG_PATH环境变量来指...
pkg-config --list-all | grep libcurl export LD_LIBRARY_PATH=/usr/local/curl/lib 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 package main import ( "fmt" curl"github.com/andelf/go-curl" ...
Get namespaced config from the closest package.json. Latest version: 5.0.0, last published: a year ago. Start using pkg-conf in your project by running `npm i pkg-conf`. There are 251 other projects in the npm registry using pkg-conf.
= pkgconf = == Description == Pkgconf is an implementation of the pkg-config spec with minimal dependencies. == License == ISC License (equivalent to Simplified BSD) == SPKG Maintainers == * Volker Braun == Upstream Contact == https://github.com/pkgconf/pkgconf == Dependencies == *...
一.编译x264(在编译前确保安装了pkg-config,默认在/usr/share下) 1.下载x264源代码:(我下载到了~/Downloads下,各位随意就好) git clone https://code.videolan.org/videolan/x264.git 2.下载好后,将x264文件夹移动到/usr/local/下: sudo mv x264 /usr/local ...
CentOS7.6 源码安装 libevent-2.1.8-stable简述configure、pkg-config、pkg_config_path三者的关系 获取libevent libevent官网:https://libevent.org/ GitHub-libevent项目链接:https:///libevent/libevent 要获取libevent源码包,可以在上面两个网址链接上获取到。本人下载的是libevent-2.1.8-stable版本,源码包文件...