pkg-config

pygobject-2.28.6 won't configure: No package 'gobject-introspection-1.0' found, how do I resolve?

大兔子大兔子 提交于 2020-06-06 06:05:21
问题 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 (version 2.34.3) checking for ffi... checking for FFI... yes checking for GIO... yes checking for GIOUNIX... yes checking for GI... no configure: error: Package requirements (glib-2.0 >= 2.24.0 gobject-introspection-1.0 >= 0.10.2 ) were not met: No package 'gobject-introspection-1.0' found Consider

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

拜拜、爱过 提交于 2020-01-11 11:24:46
问题 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

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

人盡茶涼 提交于 2020-01-11 11:24:14
问题 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

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

大憨熊 提交于 2020-01-10 18:53:27
问题 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

pkg-config path for mono on mac

会有一股神秘感。 提交于 2020-01-04 07:04:30
问题 I installed mono in Mac OS X. I was following these instructions on the mono website. The first console application worked because it didn't use any packages. However, when I ran gmcs hello.cs -pkg:gtk-sharp-2.0 , it told me I didn't have pkg-config installed. So I installed pkg-config. Now I get this error because pkg-config doesn't know the mono package path: Perhaps you should add the directory containing `gtk-sharp-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gtk-sharp

pkg-config path for mono on mac

陌路散爱 提交于 2020-01-04 07:04:10
问题 I installed mono in Mac OS X. I was following these instructions on the mono website. The first console application worked because it didn't use any packages. However, when I ran gmcs hello.cs -pkg:gtk-sharp-2.0 , it told me I didn't have pkg-config installed. So I installed pkg-config. Now I get this error because pkg-config doesn't know the mono package path: Perhaps you should add the directory containing `gtk-sharp-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gtk-sharp

qt Qmake generating pkgconfig for a project

纵饮孤独 提交于 2020-01-04 03:17:40
问题 I have been told that it is possible to generate a pkg-config file through qmake, but I have no idea how to do it. I have been looking online for a while, and it seems as though it is something you just have to know how to do. Can someone give me an example, or point me to some sort of guide/tutorial? 回答1: Is this what you are looking for? To generate pkg-config using qmake you have to add to (modify) your project file (*.pro file): unix { CONFIG += link_pkgconfig PKGCONFIG += <pc_file

qt Qmake generating pkgconfig for a project

☆樱花仙子☆ 提交于 2020-01-04 03:17:09
问题 I have been told that it is possible to generate a pkg-config file through qmake, but I have no idea how to do it. I have been looking online for a while, and it seems as though it is something you just have to know how to do. Can someone give me an example, or point me to some sort of guide/tutorial? 回答1: Is this what you are looking for? To generate pkg-config using qmake you have to add to (modify) your project file (*.pro file): unix { CONFIG += link_pkgconfig PKGCONFIG += <pc_file

CMake Pkg-Config Library Link Path

删除回忆录丶 提交于 2020-01-02 03:14:16
问题 So I'm compiling the examples for libgstreamermm-0.10, and I've run into an issue with CMake. With the version of libgstreamermm-0.10 that is installed by default on my system, the example segfaults. OK, so I got the latest sources and installed them to /usr/local and get the new example. Everything's looking good. g++ main.cc player_window.cc -o test `pkg-config --cflags --libs gtkmm-3.0` `pkg-config --cflags --libs gstreamermm-0.10` works fine and as expected. Great, now to try and get it

set PKG_CONFIG_PATH in cmake

自古美人都是妖i 提交于 2020-01-01 08:49:53
问题 I have built opencv locally and installed it to a local directory ( not the system default ). The opencv.pc is present under a folder pkgconfig in this local folder. How can I find this opencv.pc from cmake, because I want to link and include opencv files from my program. pkg_search_module(<PREFIX> [REQUIRED] [QUIET] <MODULE> [<MODULE>]*) does not have any parameter in which I can force the command to use a specific path ( similiar to HINTS with find_package() ) and not the system default. So