-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Apple Silicon M1 compatibility #28
Comments
I also noticed this error in XCode even for Intel i7 in past. |
Anybody knows how to fix this? Or perhaps how other frameworks have done it for M1? |
Will this repository be updated for M1 / M2 / later intel? |
any news on this? ran into it just now |
I doubt it has anything to do with an Apple Silicon, since it's failing on my i9 too ¯_(ツ)_/¯ Inspired by @n3d1117 here are my pkg-config stuff:
|
.package(url: "https://github.com/twostraws/SwiftGD.git", branch: "main"), The reason for the error is that gd.h and the gd library have the same name, so the system doesn't know which one to choose. |
@zhtut I switched to https://github.com/t-ae/Swim Much better quality, much better API, written by a much better programmer. I'll unsubscribe from this thread now, just wanted to put that link out here if anyone else is playing around with this toy, it's better to check on Swim. |
@adam-rocska It's possible to leave comments without being a jerk about it. I'm glad you found an alternative you're happy with! |
Hello! I'm having trouble compiling this project on a mac with M1 processor.
I successfully installed gd with
brew install gd
.When compiling I get the error
'gd.h' file not found
; it looks like SPM is not picking up headers correctly$ ls /usr/local/include | grep gd gd.h gd_color_map.h gd_errors.h gd_io.h gdcache.h gdfontg.h gdfontl.h gdfontmb.h gdfonts.h gdfontt.h gdfx.h gdpp.h
Is there any workaround available or am I doing something wrong?
The text was updated successfully, but these errors were encountered: