pkgconfig的项目时遇到“could not find pkgconfig”的错误,这通常意味着pkgconfig工具没有在你的系统中安装,或者其安装路径没有被正确地添加到环境变量中。下面是一些步骤来帮助你解决这个问题: 1. 确认用户环境配置 首先,确认你正在使用的操作系统和环境(如Linux发行版、MacOS、Windows等),因为安装和配置pkgconfig...
现象 在编写CMakeLists.txt时,调用find_package(GLUT REQUIRED),生成失败。 控制台显示提示Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) 原因 本地Ubuntu未安装pkg-config,导致find_package无法正确寻找GLUT相关库。 对策 安装pkg-config应用 sudoaptinstall-ypkg-config...
wireshark-4.0.2/build# cmake .. -- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) ``` 解决: ``` apt-get install -y pkg-config ``` 问题2:缺少`GLIB2` ``` -- Checking for one of the modules 'glib-2.0' CMake Error at /usr/share/cmake-3.16/Modules/FindPackageHandleS...
Describe the bug, including details regarding any error messages, version, and platform. Platform: ❯ uname -a Linux tom-ThinkPad-X1-Carbon-Gen-9 5.15.0-89-generic #99~20.04.1-Ubuntu SMP Thu Nov 2 15:16:47 UTC 2023 x86_64 x86_64 x86_64 GN...
CMake Error at C:/Program Files (x86)/CMake/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message): Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) Call Stack (most recent call first): C:/Program Files (x86)/CMake/share/cmake-3.16/Modules/FindPackageHandleSt...
如果使用Cmake编译caffe, 且使用低版本protobuf(如2.5),会报错cmake找不到protobuf。 解决思路: 更改caffe工程默认cmake文件,使用pkg-config寻找。 解决办法: 修改报错的cmake文件,路径在caffe工程下cmake/ProtoBuf.cmake, 修改如下两处 # Finds Google Protocol Buffers library and compilers and extends# 修改点...
You run a command like "make deps", but you get this message "configure: error: The pkg-config script could not be found or is too old." What should you do? Solution For an Ubuntu/Debian distribution of Linux, run: sudo apt-get install -y pkg-config...
> > You probably need to use pkg-config to find out which CFLAGS to use for > > glib-2.0... > > Maybe I missed something but there is not much information about what you are trying to build. Starts with build system: autotools / cmake / ...
solve Error:Could not find common.jar (android.arch.core:common:1.0.0). Searched in the following,程序员大本营,技术文章内容聚合第一站。
Refer tohttps://stackoverflow.com/questions/27252213/cmake-can-not-find-boostsignals2to switch to signals2 in CMakeLists.txt. I got an answer here:ros/geometry2#354 (comment) To sum up: I use ubuntu18.04 (boost 1.76.0), and the same error occurs when using catkin_make. The solution...