Open nickazevedo opened 9 months ago
hi there.
it seems like this is a macos (or config/rust cc) issue with regards to the library not being recognized as part of the library path for clang (hence why it thinks that there is no 'heif' lib even though it is installed correctly) —
export LIBRARY_PATH=$LIBRARY_PATH:/opt/homebrew/Cellar/libheif/1.17.5/lib/
or similarly for fish:
set -x LIBRARY_PATH $LIBRARY_PATH:/opt/homebrew/Cellar/libheif/1.17.5/lib/
should fix it (for at least now — i'm sure there's a better solution; this is the stack overflow post was the most informative/helpful).
Desktop (please complete the following information):
git clone https://github.com/qarmin/czkawka.git
cd czkawka
cargo run --release --bin czkawka_gui --features heif
czkawka_gui
(bin "czkawka_gui") due to previous errorBug Description Compiling 6.1.0 with HEIF or All Features results in error due to library HEIF not being found. However all requirements are installed through Homebrew. Below are the current packages installed and their respective versions:
rustup-init 1.26.0_1 gtk4 4.12.3 adwaita-icon-theme 45.0 librsvg 2.57.0 pkg-config 0.29.2_3 libheif 1.17.3