Skip to content
This repository was archived by the owner on Aug 9, 2024. It is now read-only.
This repository was archived by the owner on Aug 9, 2024. It is now read-only.

BUG: the problem with launching on m1 #203

Description

@ArtyomMedved

Describe the bug
The application starts but does not respond to actions in any way..

To Reproduce
Steps to reproduce the behavior:
MacOS (Apple Silicon)
Install Rust
Install Homebrew
Install PKG_CONFIG_PATH and ensure it's set in your path
brew install pkg-config
which pkg-config
3.1. Should return something like /opt/homebrew/bin/pkg-config. If it doesn't, add it to your path.

Install GTK and Necessary Libraries
brew install glib
brew install gobject-introspection
brew install graphene
brew install gdk-pixbuf
brew install pango
brew install gtk+4
brew install libadwaita
brew install lua@5.4

brew --prefix glib
brew --prefix gobject-introspection
brew --prefix graphene
brew --prefix gdk-pixbuf
brew --prefix pango
brew --prefix gtk4
brew --prefix libadwaita
brew --prefix lua@5.4
4.1 Validate if the libraries are installed adequately and set in PKG_CONFIG_PATH, command below should return the path to the libraries without any errors.

pkg-config --libs --cflags glib-2.0
pkg-config --libs --cflags gobject-2.0
pkg-config --libs --cflags graphene-gobject-1.0
pkg-config --libs --cflags gdk-pixbuf-2.0
pkg-config --libs --cflags pango
pkg-config --libs --cflags gtk4
pkg-config --libs --cflags libadwaita-1
pkg-config --libs --cflags lua-5.4
Run cargo run in the napture/ directory.
cd napture

cargo build
or
cargo run

Expected behavior
I try to enter any query into the search engine, but nothing happens to me, and it gives errors in the terminal

Screenshots
Снимок экрана 2024-06-24 в 18 12 59

Desktop (please complete the following information):

  • OS: Mac os
  • Version 14.4.1 Sonoma

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

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions