12

How to Resolve AvailabilityInternalLegacy.h Error when Installing GCC Compiler f...

 8 months ago
source link: https://codeforces.com/blog/entry/123870
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

By zrli, history, 11 days ago,

Hi everyone! This probably isn't your usual CodeForces blog as most blogs are about events or coding data structures and algorithms, but hear me out: I recently downloaded CLion and because I'm on a macOS, I need to install a GCC compiler in order to use GNU data-structures. I followed this and this tutorial on Youtube(please note that for the second video, I DID NOT use VS Code), however after installation and running my code, it gives this error:

/opt/homebrew/Cellar/gcc/13.2.0/lib/gcc/current/gcc/aarch64-apple-darwin23/13/include-fixed/AvailabilityInternal.h:185:10: fatal error: AvailabilityInternalLegacy.h: No such file or directory

I tried searching online for any fixes, but so far, I've come up empty handed. May someone help please? Thanks!


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK