Skip to content
This repository was archived by the owner on Apr 2, 2022. It is now read-only.
This repository was archived by the owner on Apr 2, 2022. It is now read-only.

Errors running ninja test #55

Description

@rothgar

I'm trying to compile ideogram inside an elementary container but getting errors.

I cloned the repo and got into a clean elementary OS container

docker run -it -v $PWD:/srv elementary/docker bash -l

Then made sure deps were installed

apt install libgtk-3-dev meson valac

and

meson build --prefix=/usr

Then I cd into build directory and run ninja test and get the following error

[1/6] Compiling Vala source ../src/Application.vala ../src/MainWindow.vala ../src/Settings/CustomShortcutSettings.vala.                   
FAILED: com.github.cassidyjames.ideogram@exe/src/Application.c com.github.cassidyjames.ideogram@exe/src/MainWindow.c com.github.cassidyjam
es.ideogram@exe/src/Settings/CustomShortcutSettings.c                                                                                     
valac -C --debug --debug --pkg posix --pkg x11 --pkg glib-2.0 --color=always --directory com.github.cassidyjames.ideogram@exe --basedir ..
/ --gresources=../data/gresource.xml ../src/Application.vala ../src/MainWindow.vala ../src/Settings/CustomShortcutSettings.vala           
../src/Application.vala:22.25-22.27: error: The symbol `Gtk' could not be found                                                           
public class Ideogram : Gtk.Application {                                                                                                 
                        ^^^                                                                                                               
../src/MainWindow.vala:22.27-22.29: error: The symbol `Gtk' could not be found
public class MainWindow : Gtk.Window {
                          ^^^
../src/MainWindow.vala:23.13-23.15: error: The symbol `Gtk' could not be found
    private Gtk.Entry entry;
            ^^^
../src/MainWindow.vala:26.24-26.26: error: The symbol `Gtk' could not be found
    public MainWindow (Gtk.Application application) {
                       ^^^
../src/MainWindow.vala:110.9-110.11: error: The symbol `Gdk' could not be found
        Gdk.ModifierType modifiers;
        ^^^
../src/Settings/CustomShortcutSettings.vala:12.12-12.24: error: The type name `GLib.Settings' could not be found
    static GLib.Settings settings; 
           ^^^^^^^^^^^^^
../src/Settings/CustomShortcutSettings.vala:44.12-44.24: error: The type name `GLib.Settings' could not be found
    static GLib.Settings? get_relocatable_schema_settings (string relocatable_schema) {
           ^^^^^^^^^^^^^
../src/Settings/CustomShortcutSettings.vala:125.41-125.53: error: The type name `GLib.Settings' could not be found
    private static void apply_settings (GLib.Settings asettings) {
                                        ^^^^^^^^^^^^^
Compilation failed: 8 error(s), 0 warning(s)

Is there a step I'm missing?

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions