-
Notifications
You must be signed in to change notification settings - Fork 147
BUG: the problem with launching on m1 #203
Description
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 [email protected]
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 [email protected]
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
Desktop (please complete the following information):
- OS: Mac os
- Version 14.4.1 Sonoma
