Mac OS C++14 compiler #888
-
I get errors when i try to run Any suggestions or guides for which compiler i should install? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
This is what I did: brew install gcc I tried setting the require("nvim-treesitter.install").compilers = { "gcc-13" } It did not work with just I don't know why the extra step was needed. I am also not a C/C++ dev. |
Beta Was this translation helpful? Give feedback.
-
Thank you that worked for me as well. |
Beta Was this translation helpful? Give feedback.
This is what I did:
I tried setting the
CC
env variable, but it didn't help on its own. So then I added this to my treesitter config, and then it worked.It did not work with just
{ "gcc" }
. This commandls /opt/homebrew/bin/gcc-1*
told me that I have gcc-13.I don't know why the extra step was needed. I am also not a C/C++ dev.