ubuntu执行这条命令出错gcc gnome.c -o gnome `pkg-config --cflags --libs libgnome-2.0 libgnomeui-2.0
root@ubuntu:~/work/GTK_GNOME/gnome1#gccgnome.c-ognome`pkg-config--cflags--libslibgnom...
root@ubuntu:~/work/GTK_GNOME/gnome1# gcc gnome.c -o gnome `pkg-config --cflags --libs libgnome-2.0 libgnomeui-2.0`
Package libgnome-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libgnome-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libgnome-2.0' found
Package libgnomeui-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libgnomeui-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libgnomeui-2.0' found
gnome.c:1:18: 致命错误: gnome.h:没有那个文件或目录
编译中断。 展开
Package libgnome-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libgnome-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libgnome-2.0' found
Package libgnomeui-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libgnomeui-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libgnomeui-2.0' found
gnome.c:1:18: 致命错误: gnome.h:没有那个文件或目录
编译中断。 展开
3个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询