Baidu’s answer is too lame. Find a correct answer from stackeexchange and link to solve MAC fatal error: ‘bits/STDC + +.H’ file not found
follow the steps below
-
- brew install GCC — versioncd/library/Developer/commandlinetools/usr/bincd…/includesudo MKDIR bitscd bits create a new STDC + +.H file under downloads, paste the contents of the link STDC + +.H into the newly created STDC + +.H file under downloads sudo CP ~/Downloads/STDC + +. H STDC + +.H
be accomplished