[英]error: gnome.h: No such file or directory
I would like to resolve this 'error: gnome.h: No such file or directory ' on ubuntu. 我想解决这个“错误:gnome.h:ubuntu上没有这样的文件或目录”。
I get this error: 我收到此错误:
/bin/sh: gnome-config: not found
In file included from TestMDI.cpp:18:
../../../../dist/include/system_wrappers/gnome.h:3:24: error: gnome.h: No such file or directory
From this: http://ubuntuforums.org/showthread.php?t=295105 从这里: http : //ubuntuforums.org/showthread.php?t=295105
I tried: $ sudo apt-get install libgnomeui-dev 我试过了:$ sudo apt-get install libgnomeui-dev
Reading package lists... Done Building dependency tree 正在读取包列表...完成构建依赖关系树
Reading state information... Done libgnomeui-dev is already the newest version. 正在读取状态信息...完成的libgnomeui-dev已经是最新版本。 0 upgraded, 0 newly installed, 0 to remove and 21 not upgraded.
0已升级,0新安装,0已删除和21未升级。
But that still does not resolve my problem. 但这仍然不能解决我的问题。
Any idea how to fix it? 知道如何解决吗?
如果该程序是针对Gnome 1.x的,则不能在没有代码更改的情况下在最新的Ubuntu上对其进行编译。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.