Warning: Can't synchronize with repository "(default)" (No changeset 96d22ec3fa3ef6de3ea8dc0d7d398adc9aa071cf in the repository). Look in the Trac log for more information.

Ticket #598 (closed defect: fixed)

Opened 3 years ago

Last modified 2 years ago

Error Compling libfsoresource version 0.9.0

Reported by: ghjackie Owned by: mickey
Priority: major Milestone: cornucopia-0.11
Component: cornucopia/fsousage Version: 0.9
Keywords: Cc:

Description

I had some trouble compiling the libfsoresource(version 0.9.0), which requires Valac version 0.11.4, which as far as know, has migrated the Dbus into GDbus. Thus, the compiler says that "warning: D-Bus GLib is deprecated, use GDBus dbusresource.vala:59.50-59.53: error: Argument 2: Cannot convert from GLib.ObjectPath' to DBus.ObjectPath?'" The detailed compling log is as follows:

janey@janey-ibm:~/cornucopia/libfsoresource$ make make all-recursive make[1]: Entering directory `/home/janey/cornucopia/libfsoresource' Making all in fsoresource make[2]: Entering directory `/home/janey/cornucopia/libfsoresource/fsoresource' /usr/local/bin/valac -C --basedir .. --vapidir ../vapi --pkg glib-2.0 --pkg gio-2.0 --pkg fsobasics-2.0 --pkg fsoframework-2.0 --pkg fso-glib-1.0 --header fsoresource.h --library fsoresource-2.0 dbusresource.vala warning: D-Bus GLib is deprecated, use GDBus dbusresource.vala:59.50-59.53: error: Argument 2: Cannot convert from GLib.ObjectPath' to DBus.ObjectPath?'

yield usage.register_resource( name, path );

Compilation failed: 1 error(s), 1 warning(s) make[2]: * [.vala.stamp] Error 1 make[2]: Leaving directory `/home/janey/cornucopia/libfsoresource/fsoresource' make[1]: * [all-recursive] Error 1 make[1]: Leaving directory `/home/janey/cornucopia/libfsoresource' make: * [all] Error 2

Change History

comment:1 Changed 3 years ago by mickey

Can you please retry with Vala 0.11.6?

comment:2 Changed 3 years ago by ghjackie

I tried again, but the same error still occurs. Would you please explain how that goes?

comment:3 Changed 2 years ago by morphis

  • Status changed from new to closed
  • Version changed from milestone5.5 to 0.9
  • Resolution set to fixed
  • Milestone set to 0.11
Note: See TracTickets for help on using tickets.