Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

小白make出错 #99

Closed
fenghuan1994 opened this issue Jan 18, 2018 · 3 comments
Closed

小白make出错 #99

fenghuan1994 opened this issue Jan 18, 2018 · 3 comments

Comments

@fenghuan1994
Copy link

系统:ubuntu14.04-5
cmake版本3.10.1
错误信息:
-- Checking for modules 'glib-2.0>=2.32.0;gthread-2.0>=2.14.0;gtk+-2.0>=2.16.0;jsoncpp>=1.0'
-- Requested 'jsoncpp >= 1.0' but version of jsoncpp is 0.6.0
CMake Error at /usr/cmake-3.10.1-Linux-x86_64/share/cmake-3.10/Modules/FindPkgConfig.cmake:415 (message):
A required package was not found
Call Stack (most recent call first):
/usr/cmake-3.10.1-Linux-x86_64/share/cmake-3.10/Modules/FindPkgConfig.cmake:593 (_pkg_check_modules_internal)
src/iptux/CMakeLists.txt:1 (pkg_check_modules)

-- Configuring incomplete, errors occurred!
See also "/home/fenghuan/iptux/build/CMakeFiles/CMakeOutput.log".
See also "/home/fenghuan/iptux/build/CMakeFiles/CMakeError.log".

@fenghuan1994
Copy link
Author

fenghuan@fenghuan-H81M-DS2:~/iptux$ sudo apt-get install -y libgtk2.0-dev libglib2.0-dev libgstreamer1.0-dev libjsoncpp-dev g++ make
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
g++ 已经是最新的版本。
make 已经是最新的版本。
libjsoncpp-dev 已经是最新的版本。
libglib2.0-dev 已经是最新的版本。
libgstreamer1.0-dev 已经是最新的版本。
libgtk2.0-dev 已经是最新的版本。
升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 27 个软件包未被升级。

@hosiet
Copy link

hosiet commented Jan 19, 2018

你的系统版本太低,无法满足 json-cpp 依赖需求。

请考虑升级系统,至少应当使用 Ubuntu 16.04 LTS,建议升级到更高,例如快要出来的 Ubuntu 18.04 LTS。

@fenghuan1994
Copy link
Author

多谢,我撤回0.6.5版本可以make成功,暂时不用最新版本了。

lidaobing added a commit that referenced this issue Jan 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants