fwcd

Results 260 comments of fwcd

Are you using an Apple Silicon machine? You could try adding `/opt/homebrew/include` (IIRC, off top of my head) to your include path and `/opt/homebrew/lib` to your library path.

Unfortunately, I haven't really gotten around to look into iOS support, back when I wrote `swift-gif` I primarily had Linux support in mind, since I couldn't find a GIF encoder...

After running into this issue in CI too, here's something you could try ``` brew install pkg-config ```

Yes, you need the [`swift-utils`](https://github.com/fwcd/swift-utils) library (which is where `Vec2` comes from) and add the following imports: ```swift import Graphics import Utils ``` I agree that the example isn't documented...

I've been having similar issues with my [manually configured](https://github.com/fwcd/d2/blob/4ad96e39295d24892a9ec7575fc89bbc3ee8371f/Scripts/build-release#L15-L25) cross-compilation build where ```sh swift build --sdk ``` no longer works as expected in 5.9. Swift neither seems to find libc...

Yeah, I assume that's due to the Cairo dependency, which `swift-graphics`' `CairoGraphics` pulls in. There was a reason why we couldn't use `CoreGraphicsGraphics` yet, but ideally I would want to...

Thanks! This did improve performance of the test by around 30%

Pretty cool, feel free to open a PR. I'm actually surprised the `Int` -> `Int32` made a big difference, I would not have expected that, at least not on modern...

With https://github.com/apple/coremltools/pull/1824 this might not be needed after all

Perhaps the `--failure-logs` flag (copying the log files to some specific directory) could simply be added to the `install` command too? The reason I am a bit hesistant to use...