现象 在编写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
当你在构建或运行某个需要pkgconfig的项目时遇到“could not find pkgconfig”的错误,这通常意味着pkgconfig工具没有在你的系统中安装,或者其安装路径没有被正确地添加到环境变量中。下面是一些步骤来帮助你解决这个问题: 1. 确认用户环境配置 首先,确认你正在使用的操作系统和环境(如Linux发行版、MacOS、Windows等)...
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...
Refer tohttps://stackoverflow.com/questions/27252213/cmake-can-not-find-boostsignals2to switch to signals2 in CMakeLists.txt. 👍2 LimingGao commentedon May 6, 2021 LimingGao I have the same issue when using the Ubuntu 20.04 I tried to reproduce this issue with Ubuntu20.04 but I couldn...
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...
如果使用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# 修改点...
1、在wsl中完成minds pore1.7-gpu版本的安装及测试后,尝试在Ubuntu-20.04的wsl中利用源码编译的方式安装mindelec 敲出命令 bash build.sh -e gpu 出现报错 -- Could NOT find Python3 (missing: Python3_INCLUDE_DIRS Development) (found version "3.8.10")CMake Error at CMakeLists.txt:35 (find_python...
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") -- Could NOT find FFTW (missing: FFTW_INCLUDES FFTW_LIBRARIES) -- Found OpenGL: /usr/lib/x86_64-linux-gnu/ -- Found GLUT: /usr/lib/x86_64-linux-gnu/ -- Found unsuitable Qt version "" from NOTFOUND ...
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") -- Checking for one of the modules 'libglog' CMake Error at /home/storagex-server2/.local/Ubuntu.18.04.x86_64.Debug/share/cmake/unilog/vai_add_pybind11_module.cmake:48 (find_package): By not providing "Findpybind11...