olback / library-loader

[Unofficial] Samacsys Library Loader for all platforms!
113 stars 22 forks source link

Install script/package for MacOS - Help wanted #67

Open olback opened 2 years ago

olback commented 2 years ago

The cli version should work on both M1 and Intel macs without any issues if compiled locally. The GUI version should work on Intel Macs if all GTK dependencies are installed. As far as I know, GTK for Arm on Mac is not a thing yet.

Related issues:

64

hemna commented 2 years ago

I have a mac. I just ran the build for docker and that completed, but it build a linux exec. Do you have a docker image to build for macos?

I am not sure what to do next.

kms1212 commented 2 years ago

I'm using MacBook Pro 14".

The GTK3 for Apple Silicon exists. I locally compiled this repository and the executable has been worked wonderfully with some additional packages:

brew install gtk+3 atk gdk-pixbuf pango

This is the result.

image
cvpeck commented 2 years ago

I have a mac. I just ran the build for docker and that completed, but it build a linux exec. Do you have a docker image to build for macos?

I am not sure what to do next.

Same issue here. Building on Intel MacOS.

docker run --volume=$(pwd):/home/circleci/project olback/rust-gtk-linux cargo build --release Build completes then docker terminates

olback commented 2 years ago

The docker image won't work for MacOS. There is a macos-compile.sh script now that will compile the app. This requires that you have Rust and Brew installed.

The script should work for both x86_64 and AArch64.

cgreening commented 1 year ago

I've added some more instructions for mac users here: https://github.com/olback/library-loader/pull/95

olback commented 1 year ago

I've added some more instructions for mac users here: #95

Thanks!