已编辑:在胶水代码前包含srv_hallo函数。那是对的吗?现在我可以编译。 我是dbus的新手,我想借助glib和dbus在两个应用程序(IPC)之间建立通信。 但是,当我想编译它,我从自动错误生成的代码: In file included from main.c:2:0:
test_example_Server.h:111:17: error: ‘srv_hallo’ undeclared
我有这个代码,但它失败。为什么? // tomar la fecha
fecha = GLib.Date();
print "cogiendo"
var s = new StringBuilder("Fecha:");
dia:DateDay= fecha.get_day();
s.append_printf ("%u",dia);
print s.str;
fecha_str=s.