When I run the hx -g build command to build the tree-sitter grammars Helix throws the following error:
Building 123 grammars
123 grammars failed to build
Failure 0/123: Failed to execute C/C++ compiler
Failure 1/123: Failed to execute C/C++ compiler
Failure 2/123: Failed to execute C/C++ compiler
...
...
Failure 122/123: Failed to execute C/C++ compiler
Failure 123/123: Failed to execute C/C++ compiler
Running hx -g fetch succeeds with this message:
Fetching 123 grammars
123 up to date git grammars
Tree-sitter grammars build successfully.
not sure if you already resolved this or not.
I got the same issue, and had to install both gcc and g++ on Debian Bookworm:
sudo apt install gcc g++
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With