Questions tagged [pkg-config]

pkg-config is computer software that provides a unified interface for querying installed libraries for the purpose of compiling software from its source code.

479 questions
0
votes
0 answers

OpenCV Compilation Error

I recently installed OpenCV on my laptop. After the installation of OpenCV 2.4.2 I tried to run and compile a basic program to Load and display and image. The code is given below. #include #include…
praxmon
  • 5,009
  • 22
  • 74
  • 121
0
votes
2 answers

Is there anything like pkg-config for Java?

I have a project where our CLASSPATH is getting out of hand. We have jars that depend on other jars, which in turn depend on even more jars, as well as a large collection of third-party jars. So each time we use one of these jars we need to…
user1063042
  • 273
  • 2
  • 11
0
votes
1 answer

How to use automake to link two libs, one dynamically and the other statically?

Suppose I want to link the foo application with the bar and baz libs. Both support pkg-config and provide .pc files. The bar lib I want to link dynamically and the baz library I want to link statically. How can I achieve this with automake? My…
ivarec
  • 2,542
  • 2
  • 34
  • 57
0
votes
2 answers

Find libffi header files with CMake

I require libffi to build my C++ project. The problem is that there exists no premade script to find libffi and ffi.h is located at strange locations depending on the version of the library and the Linux distribution. The is my attempt: # Look for…
Ethon
  • 93
  • 2
  • 12
0
votes
1 answer

pkg-config doenst show gstreamer-plugins-bad

I am trying to write a program using rtmpsrc plugin which comes under bad plugins of gstreamer . I read article about compiling the gstreamer bad plugin programs using pkg-config tool so i tried to list all the known packages to the pkg-config on my…
Devendra
  • 89
  • 2
  • 11
0
votes
2 answers

pkgconfig(alsa) in spec file doesn't recognize already installed alsa, alsa-devel

I'm trying to build qt on CentOS 5.6 but it fails with the reason that the system doesn't have required libraries. I'm trying to build with source and spec file from the Fedora qt source rpm file. $ rpmbuild -ba qt.spec and the fail message is like…
Shukelton
  • 71
  • 1
  • 8
0
votes
0 answers

Compiling against modified library in linux

I've compiled mplayer2 against the prebuilt libavcodec library in ubuntu. It crashes under specific conditions. Judging my the error message spat out, the problem lies with libavcodec. So what I would like to is do experiment with some of the…
rhlee
  • 3,857
  • 5
  • 33
  • 38
0
votes
1 answer

Eclipse CDT: pkg-config indexing

I`m developing a application using gtkmm with eclipse. While I could have setup gtkmm include paths and linking options manually, i decided to let pkg-config do the work because of the huge number of referenced projects. This was quite easy as…
Sebastian Hoffmann
  • 11,127
  • 7
  • 49
  • 77
0
votes
1 answer

Backslash on Include directories with pkg-config on Mac OS Lion

Good evening everybody, I have virtually no experience with pkg-config but it seems that I will have to use it in working with openssl. Im on a Mac, which might be of some importance. The problem is: i compile my testing program with cc test.cc…
Leon
  • 37
  • 1
  • 4
-1
votes
2 answers

How do I add OpenCV to LD_LIBRARY path in linux?

I used this link to install OpenCV. What works: 1.OpenCV works fine with python (running from terminal). 2.I can import opencv libraries in a single C++ program. What does not work : When the code is spread across multiple and you need to build it…
user5662689
-1
votes
1 answer

Not able to find glib.h in fedora 16

I am new to fedora (Linux). Just installed glib packages using yum install glib*. But still not able to compile. I used locate to find where the pkg-config file is. I opened all of these but could not find PKG_CONFIG_PATH environment variable. Any…
Amninder Singh
  • 321
  • 1
  • 2
  • 20
-2
votes
1 answer

CentOS 7.4.1708: ERROR: x265 not found using pkg-config

I'm trying to compile ffmpeg with Nvidia support following the guides on https://trac.ffmpeg.org/wiki/CompilationGuide/Centos and https://developer.nvidia.com/ffmpeg. I've ended up with the following command: PATH="$HOME/bin:$PATH"…
Adrian
  • 453
  • 8
  • 18
-2
votes
1 answer

How to use pkg-config in CMake (juCi++)

I've been happily programming in C++ and compiling with g++ for quite a while. Not long ago, I'd decided to get an IDE, and I came accross juCi++. This IDE is absolutely brilliant, but it uses CMake (or Meson) to build projects. This wasn't a…
x64L
  • 1
  • 1
  • 3
-4
votes
1 answer

Why am I getting errors linking with Allegro 5.0.5

http://pastebin.com/gL40jpHA I don't have time to wrestle with stinking forum syntax when all I am trying to do is figure out a problem completely unrelated. All the information is in the pastebin. It was not letting me post it so I did it the EASY…
1 2 3
31
32