pkg-config

UUID library for C?

我是研究僧i 提交于 2019-12-03 06:01:17
问题 I'm looking for a UUID library for programming in C, that has a reasonable probability of being installed (or at least installable by package manager) on most modern Linux desktops, and works with pkg-config . The following two possibilities seem most obvious: OSSP UUID Libuuid from e2fsprogs Does anybody have experience with these two and can recommend one over the other, or a third possiblity? 回答1: I used both, and I definitely prefer the util-linux-ng (formerly in e2fsprogs) one. For

How do I compile jzmq for ZeroMQ on OSX?

本小妞迷上赌 提交于 2019-12-03 04:33:12
问题 Trying to follow the directions from: http://github.com/zeromq/jzmq I installed pkg-config using Homebrew and then I run the following commands: ./autogen.sh ./configure The configure fails with: checking how to hardcode library paths into programs... immediate ./configure: line 15263: syntax error near unexpected token `newline' ./configure: line 15263: ` PKG_CHECK_MODULES(' 回答1: I made a simple list about jzmq building for MacOS. Install brew https://brew.sh Install tools for jzmq building

How do I compile jzmq for ZeroMQ on OSX?

一世执手 提交于 2019-12-02 18:53:25
Trying to follow the directions from: http://github.com/zeromq/jzmq I installed pkg-config using Homebrew and then I run the following commands: ./autogen.sh ./configure The configure fails with: checking how to hardcode library paths into programs... immediate ./configure: line 15263: syntax error near unexpected token `newline' ./configure: line 15263: ` PKG_CHECK_MODULES(' SangWoo I made a simple list about jzmq building for MacOS. Install brew https://brew.sh Install tools for jzmq building brew install autoconf brew install automake brew install libtool brew install pkg-config brew

Package libusb was not found in the pkg-config search path

徘徊边缘 提交于 2019-12-02 06:45:09
I have installed pkg-config and libusb through brew Now if I do pkg-config --cflags --libs libusb I get below message Package libusb was not found in the pkg-config search path. Perhaps you should add the directory containing `libusb.pc' to the PKG_CONFIG_PATH environment variable No package 'libusb' found So I followed this post and did export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/Cellar/libusb/1.0.20/lib/pkgconfig" But I still have the problem. What am I missing? I am using MAC OSX El Capitan Just run: pkg-config --cflags --libs /usr/local/Cellar/libusb/1.0.20/lib/pkgconfig/libusb-1.0

Can't get System.Numerics to work with command-line Mono (mcs) on OS X

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-01 20:59:00
We're trying to run a simple Mono script on the command line on OS X. Most scripts work fine for us, but as soon as we try to use System.Numerics, we get "error CS0234: The type or namespace name `Numerics' does not exist in the namespace System." This isn't too surprising, and should be fixable with an appropriate command-line option to mcs, plus properly set up PKG_CONFIG_PATH... but this is where we get stumped. First, here's the script so you can follow along at home: using System; using System.Numerics; public static class MainProgram { public static void Main(string[] args) { Console

pkg-config: command not found, using cygwin on windows 7

空扰寡人 提交于 2019-12-01 19:36:20
I'm using Cygwin on windows to run this command: g++ `pkgconfig --libs --cflags opencv` -I. -o mergevec mergevec.cpp .... But I get an error: -bash: pkg-config: command not found I've installed cygwin directly on C:. I've added to the PATH environment variable the following: C:\cygwin64\bin; C:\cygwin64\lib I've run cygcheck -c and it gives me a whole list of packages, but pkg-config isn't in that list. There is a folder called pkgconfig in C:\cygwin64\lib though. How do I fix this error? Lucas pkg-config is a piece of software that allow your computer to check installed libraries for source

pkg-config doesn't work on Cygwin

亡梦爱人 提交于 2019-12-01 02:27:16
问题 I try to compile a program (OpenFP) using cygwin. The program depends on a package FFTW3 which I've compiled and installed succesfully. However when I launch ./configure for the main program I get an error: No package 'fftw3' found configure:6138: error: Package requirements ("fftw3") were not met: No package 'fftw3' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables FFTW3

How to use pkg-config to link a library statically

六眼飞鱼酱① 提交于 2019-11-30 20:13:59
I'd like to link libpng found by pkg-config statically. pkg-config --libs --static libpng outputs -L/usr/local/Cellar/libpng/1.6.15/lib -lpng16 -lz I have both libpng16.a libpng16.dylib in that directory, and if I use these flags the library gets linked dynamically. How can I tell either pkg-config or the linker (preferably in some portable-ish way) that I really want it linked statically? I've tried adding -static before pkg-config's flags, but that makes clang's ld try and fail to link "crt0.o". The pkg-config --static option relies on proper tagging in the .pc files . If providing the -

pkg-config cannot find .pc files although they are in the path

杀马特。学长 韩版系。学妹 提交于 2019-11-30 13:43:53
I am seeing a strange issue with pkg-config on Mac OSX-Lion. When running the python setup for module that I downloaded I receive the following error: aspen:python toddysm$ sudo ./setup.py install Password: `pkg-config --libs --cflags cld` returns in error: Package cld was not found in the pkg-config search path. Perhaps you should add the directory containing `cld.pc' to the PKG_CONFIG_PATH environment variable No package 'cld' found The `cld` C++ library is absent from this system. Please install it. However when checking in the /usr/local/lib folder I see the libs and the .pc file is in the

No package 'lua' found but i have it installed

扶醉桌前 提交于 2019-11-30 10:56:37
问题 I'm trying to install Lsyncd on Ubuntu 10.4 LTS but i get some error : > checking for LUA... no checking for > LUA... no checking for LUA... > configure: error: Package requirements > (lua >= 5.1.3) were not met: > > No package 'lua' found > > Consider adjusting the PKG_CONFIG_PATH > environment variable if you installed > software in a non-standard prefix. > > Alternatively, you may set the > environment variables LUA_CFLAGS and > LUA_LIBS to avoid the need to call > pkg-config. See the pkg