Skip to content
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

brew installation fails: error: unknown type name 'CFAttributedStringRef'; did you mean 'CFMutableStringRef'? #110

Open
devidw opened this issue Jul 30, 2024 · 2 comments

Comments

@devidw
Copy link

devidw commented Jul 30, 2024

brew install FelixKratz/formulae/borders

results in

==> Auto-updating Homebrew...
==> Fetching felixkratz/formulae/borders
==> Downloading https://github.com/FelixKratz/JankyBorders/archive/refs/tags/v1.6.0.tar.gz
Already downloaded: /Users/devidw/Library/Caches/Homebrew/downloads/04d6d9db94f80036217be42141a34c0ea689e22496b538e3b6b173cbcac9596e--JankyBorders-1.6.0.tar.gz
==> Installing borders from felixkratz/formulae
==> make
Last 15 lines from /Users/devidw/Library/Logs/Homebrew/borders/01.make:
In file included from src/animation.c:1:
In file included from src/animation.h:2:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CoreVideo.h:29:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBuffer.h:23:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVImageBuffer.h:29:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:39:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.h:26:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFramesetter.h:82:5: error: unknown type name 'CFAttributedStringRef'; did you mean 'CFMutableStringRef'?
    CFAttributedStringRef attrString ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
    ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:500:70: note: 'CFMutableStringRef' declared here
typedef struct CF_BRIDGED_MUTABLE_TYPE(NSMutableString) __CFString * CFMutableStringRef;
                                                                     ^
4 errors generated.
make: *** [all] Error 1

If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core):
  https://github.com/FelixKratz/homebrew-formulae/issues
  • macOS: 14.5 (23F79)

I followed your comment here: #20 (comment)

And can confirm that I am able to compile and run c-programs

@albibenni
Copy link

Just tried to install it today and I got the same result, macOS 14.5

@crash91
Copy link

crash91 commented Oct 23, 2024

Same issue for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants