koolkdev / wfs-tools

WFS (WiiU File System) Tools
MIT License
55 stars 5 forks source link

macOS arm64 builds do not work #32

Closed caleb39411 closed 5 months ago

caleb39411 commented 5 months ago

When attempting to run the arm64 prebuilt release v1.21 binaries on macOS 14.4, the following is produced

zsh: trace trap  /Users/caleb/Downloads/wfs-tools-v1.2.1-macos-arm64/wfs-extract

I was able to reproduce this by exporting the variables LDFLAGS="-L/opt/homebrew/opt/llvm/lib" and CPPFLAGS="-I/opt/homebrew/opt/llvm/include" before compiling. Without these environment variables the compiled builds ran fine.

I was also unable to compile it with gcc or AppleClang, which ought to be noted in the readme.

Here is my build: wfs-tools.zip

koolkdev commented 5 months ago

Thanks for the report and reproduction. Can you verify if the artifacts that attached here are working? https://github.com/koolkdev/wfs-tools/actions/runs/8404738575

caleb39411 commented 5 months ago

As far as I can tell the artefacts run perfectly well.