face-hh / webx

An alternative for the World Wide Web - browse websites such as buss://yippie.rizz made in HTML, CSS and Lua. Custom web browser, custom HTML rendering engine, custom search engine, and more.
Apache License 2.0
1.84k stars 155 forks source link

BUG: the problem with launching on m1 #203

Open ArtyomMedved opened 3 months ago

ArtyomMedved commented 3 months ago

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):

SticksDev commented 3 months ago

What do you mean, doesn't do anything? Can you explain?

ArtyomMedved commented 3 months ago

The problem is that I can't navigate through sites, even those that I saw on the video, the search menu doesn't work, etc. The console starts going crazy displaying thousands of warnings, although I downloaded everything as on the video there

ArtyomMedved commented 3 months ago

I don't know if it can affect that I am in Russia, but it seems that everything also happens when I launch a VPN

ArtyomMedved commented 3 months ago

I apologize if I somehow do not write correctly, because I do not know English well