spotify-adblock icon indicating copy to clipboard operation
spotify-adblock copied to clipboard

How can I compile this on Apple silicon?

Open kashyap1113 opened this issue 2 years ago • 2 comments

Currently its giving me following error on compilation:

Compiling spotify-adblock v1.0.2 (/Users/kashyap/Development/spotify-adblock) error: linking with cc failed: exit status: 1 | = note: "cc" "-Wl,-exported_symbols_list,/var/folders/7q/vh5ypp2x7zv1p_m0lt2y6g1h0000gn/T/rustcmexsbh/list" "-arch" "arm64" "/var/folders/7q/vh5ypp2x7zv1p_m0lt2y6g1h0000gn/T/rustcmexsbh/symbols.o" "/Users/kashyap/Development/spotify-adblock/target/release/deps/spotifyadblock.spotifyadblock.9543d71a-cgu.0.rcgu.o" "-L" "/Users/kashyap/Development/spotify-adblock/target/release/deps" "-L" "/opt/homebrew/Cellar/rust/1.64.0/lib/rustlib/aarch64-apple-darwin/lib" "/opt/homebrew/Cellar/rust/1.64.0/lib/rustlib/aarch64-apple-darwin/lib/libcompiler_builtins-9ba449e7b506e8b4.rlib" "-liconv" "-lSystem" "-lresolv" "-lc" "-lm" "-liconv" "-L" "/opt/homebrew/Cellar/rust/1.64.0/lib/rustlib/aarch64-apple-darwin/lib" "-o" "/Users/kashyap/Development/spotify-adblock/target/release/deps/libspotifyadblock.dylib" "-Wl,-dead_strip" "-dynamiclib" "-Wl,-dylib" "-nodefaultlibs" = note: Undefined symbols for architecture arm64: "_cef_string_userfree_utf16_free", referenced from: _cef_urlrequest_create in spotifyadblock.spotifyadblock.9543d71a-cgu.0.rcgu.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

kashyap1113 avatar Oct 04 '22 14:10 kashyap1113

The adblock is clearly NOT for apple silicon, but if you found I way, you can share it

ghost avatar Oct 07 '22 13:10 ghost

We recently launched SpotX for macOS it's not fully optimized yet, but already working https://github.com/jetfir3/SpotX-Bash

amd64fox avatar Oct 12 '22 19:10 amd64fox

This has already been discussed in #4. It's currently not possible to use it on macOS and I suspect that it never will be unfortunately.

abba23 avatar Dec 27 '22 10:12 abba23