简体   繁体   English

错误:gnome.h:没有这样的文件或目录

[英]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.

相关问题 错误:stdio.h:make期间没有此类文件或目录错误 - error: stdio.h: No such file or directory error during make 严重错误:mach-o / dyld.h:没有此类文件或目录 - fatal error: mach-o/dyld.h: No such file or directory 错误构建:致命错误:pcre.h:没有这样的文件或目录 - Error building : fatal error: pcre.h: No such file or directory 严重错误:libavcodec / avcodec.h没有此类文件或目录 - fatal error:libavcodec/avcodec.h No such file or directory 获取 GCC 错误:“sys/memfd.h:没有这样的文件或目录” - Getting GCC error: "sys/memfd.h: No such file or directory" 致命错误:aux.h 没有这样的文件或目录(Ubuntu) - fatal error : aux.h No such file or directory (Ubuntu) dsr / linkcache .cc:致命错误:list.h:没有这样的文件或目录 - dsr/linkcache .cc: fatal error: list.h: no such file or directory 严重错误:ots / libots.h:没有终止此类文件或目录的编译 - fatal error: ots/libots.h: No such file or directory compilation terminated 使用'致命错误安装pycurl:gnutls / gnutls.h:没有这样的文件或目录' - Installing pycurl with 'fatal error: gnutls/gnutls.h: No such file or directory' 致命错误:mysql.h:安装 mariadb 时没有此类文件或目录 - fatal error: mysql.h: No such file or directory when installing mariadb
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM