pkg-config Questions

4

Solved

I am using Point cloud library 1.5.1. When I run CMake 3.4.0-rc2 to build my project, it has error: Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) How do I fix this error?
Farci asked 27/10, 2015 at 23:2

4

Solved

I installed opencv on a lubuntu 12.10 distro. Then when I try to compile a code which is using opencv it says it can't find it. So I try in a terminal : pkg-config --cflags --libs opencv It answ...
Armoury asked 27/2, 2013 at 13:50

2

Solved

I've written a small library and I'm trying to set it up to be usable with pkg-config, for those in my organization who might need to make use of it later. So my installer places a .pc file in /usr...
Guido asked 14/1, 2020 at 15:45

3

Trying to compile for linux from a mac throws this error, I have openssl and pkg-config installed from brew. And in the file ~/.cargo/config I have this configuration. [target.x86_64-unknown-linux-...
Houseclean asked 2/3, 2022 at 3:55

5

Solved

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 ...
Prussian asked 21/12, 2014 at 3:34

10

I'm trying to compile FFMPEG with x265 on Win10. I am using the latest full MinGW build from xhmikosr found at: http://xhmikosr.1f0.de/tools/msys/ FFMEPG without x265 compiles without problems a...
Hellraiser asked 19/8, 2018 at 13:58

13

Solved

I have installed OpenCV using the instructions in https://help.ubuntu.com/community/OpenCV $ sudo su $ sudo apt-get install build-essential $ sudo apt-get install libavformat-dev $ sudo apt-get in...
Golf asked 10/3, 2013 at 8:14

10

Solved

I am trying to do it, but all I can get is some source code that I don't know how to do deal with I downloaded from http://pkgconfig.freedesktop.org/releases/.
Thar asked 10/11, 2009 at 20:21

5

Solved

I'm trying to get pygobject-2.28.6 to compile in cygwin (version in repository is 2.28.4 which has some issues). Here is the tail of ./configure: checking for GLIB - version >= 2.24.0... yes (v...
Apostles asked 2/8, 2013 at 20:37

4

Solved

I am trying to run go build on my sources. go/pkg/tool/linux_amd64/link: running gcc failed: exit status 1 /usr/bin/ld: cannot find -lgdal collect2: error: ld returned 1 exit status My LD_LIBRA...
Satiety asked 11/6, 2019 at 16:19

5

For example, if I need Gtk+ include paths. How to use pkg-config gtk+-2.0 --cflags in Xcode project settings?
Hellfire asked 18/6, 2010 at 16:13

2

I am getting this error when I try to cross-compile some Rust; does anyone know what I should be doing? This happens when I run cargo build --target aarch64, I get: Compiling glib-sys v0.10.1 error...
Niobium asked 21/8, 2021 at 8:0

3

Solved

I have built opencv locally and installed it to a local directory (not the system default ). opencv.pc is present under a folder pkgconfig in this local folder. How can I find this opencv.pc from c...
Boyla asked 11/6, 2017 at 18:2

7

Solved

I am trying to install devtools in R version 3.2.1, however when I do the following error is thrown: Package libxml-2.0 was not found in the pkg-config search path. Perhaps you should add the dire...
Balbur asked 3/8, 2015 at 22:3

2

I've been trying to install pycairo on a mac os x. I'm getting an error message, Initially I was getting 'pkg-config' not found. After installing that through brew, I get Package cairo was not fo...
Grumble asked 15/6, 2019 at 5:56

2

I would like to generate pkgconfig files in cmake from the targets. I started by writing something like this: function(auto_pkgconfig TARGET) get_target_property(INCLUDE_DIRS ${TARGET} INTERFACE_...
Thuythuya asked 31/5, 2017 at 18:43

2

Solved

I get the following error ./configure: line 11162: PKG_PROG_PKG_CONFIG: command not found when this is code is executed in (kivy-ios/tools-build-sdlmixer.sh) if [ ! -f libtremor/tremor/.libs/li...
Herr asked 13/6, 2013 at 14:37

1

Solved

I'm referring to this guide to pkg-config for learning how to write one. At one place, it mentions the following about the Requires and Requires.private fields. Requires and Requires.private de...
Confraternity asked 1/8, 2017 at 14:56

3

What is a good way at this moment (October 2014) to install pkg-config on Windows in a (no HTTPS) MinGW / MinGW-w64 environment? (See also this question from 2009.) If there is a binary package tha...
Rigveda asked 19/10, 2014 at 17:26

2

Solved

I am trying to use libui-node to build a Node.js project. $ yarn add libui-node This gives an error: node-gyp configure build Package gtk+-3.0 was not found in the pkg-config search path. ...
Featured asked 25/4, 2018 at 20:45

5

Solved

i want to add a dynamic configuration path (generated from pkg-config) to my project. (this is basically for third-party dependencies like boost, so workspace includes is not appropiate, and filesy...
Being asked 28/9, 2010 at 19:49

1

I am trying to build ry/v8worker2 on windows. Everything goes fine until the point where I run go test which then complains about the pkg-config setup. This is the pkg-config file which is generat...
Electrotype asked 23/11, 2019 at 5:36

4

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...
Penitential asked 3/7, 2012 at 2:31

1

Solved

I have a stack-based project that depends on a couple C libraries. One of these C libraries, zlib, is available from a native NixOS package and I can put into the nix section of stack.yaml: nix: ...
Aardvark asked 6/9, 2019 at 12:43

6

Solved

I have seen a lot of code like this: include(FindPkgConfig) pkg_search_module(SDL2 REQUIRED sdl2) target_include_directories(app SYSTEM PUBLIC ${SDL2_INCLUDE_DIRS}) target_link_libraries(app ${SDL...
Rugger asked 22/3, 2015 at 7:4

© 2022 - 2024 — McMap. All rights reserved.