Closed astubbs closed 2 years ago
Maybe you must install something else in Ubuntu. I don`t know. The class exist in Granite however https://github.com/elementary/granite/blob/master/lib/Services/Settings.vala
Is the compile time dependency for Granite set to a high enough version?
Run-time dependency granite found: YES 5.3.0
antony@antony-X570-AORUS-MASTER ~ [1]> aptitude show libgranite-dev
Package: libgranite-dev
Version: 5.3.0-1
State: installed
Automatically installed: no
Multi-Arch: same
Priority: optional
Section: universe/libdevel
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: amd64
Uncompressed Size: 485 k
Depends: gir1.2-granite-1.0 (= 5.3.0-1), libgee-0.8-dev, libglib2.0-dev, libgranite5 (= 5.3.0-1), libgtk-3-dev (>= 3.3.14)
Description: extension of GTK+ libraries (development files)
Granite is an extension of GTK+. Among other things, it provides complex widgets and convenience functions designed for use in apps built for elementary OS.
This package contains the static library and header files.
Homepage: https://github.com/elementary/granite
Maybe you must install something else in Ubuntu. I don`t know. The class exist in Granite however https://github.com/elementary/granite/blob/master/lib/Services/Settings.vala
This is not the class it's failing at. The missing class is Widgets/Settings
, which was only introduced in 5.4.0: https://github.com/elementary/granite/commit/ca16d46d01df28323781f04086adea385fed4bc9#diff-9c051dce9be6e885ed087c778e6fdd6ddc239ef72313eb6846004d4fc72ea503
20.04 doesn't have anything over 5.3 in its repositories it seems.
Ah ok, thanks for the clarification