-
-
Notifications
You must be signed in to change notification settings - Fork 838
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
Cpp and markdown parsers not compile #5800
Comments
Not enough context; please provide a minimal reproducing example (and check previous issues). Needless to say, installing these parsers works fine on macOS with clang. |
Properly this. tree-sitter/tree-sitter-cpp@2c93b82 Update your nvim-treesitter to latest version first |
I'm using the latest version of nvim-treesitter. |
Oh, no apple clang strikes again. The compiler seems to hint that it's missing symbols from the C standard librarry. Others that filed this issue for other projects on GitHub compiled for a target for which they to have missing the C library. Other parsers don't seem to have this problem probably because they don't use any symbols from the c standard library Could you double check:
As a hacky work-around, could you try whether |
I hadn't read this message, but as you say the problem is that the symbols of the standard library are missing, in this case the use of Compiling using // test.c
#include <assert.h>
#include <stdio.h>
int main(int argc, char *argv[]) {
assert(argc == 1);
printf("Hello, world!\n");
return 0;
} produces
But using @theHamsta thank you for your help.
Until last week I was using a Unix machine, before retracing my steps I would like to try to give this Mac a little hope :'D do you know how to fix this problem? |
Are you sure? Apple stopped selling Intel Macs quite a while ago. It sounds rather that you're using an x86_64 terminal on an arm64 Mac. What's your terminal? |
It's not a new Mac, I borrowed this Mac from a friend of mine :D |
Then I'd recommend re-installing the XCode CLI tools for your OS, and make sure there are not outdated libraries/headers in your paths somewhere. |
Describe the bug
I'm trying to install the cpp and markdown parser but I get this compilation error
To Reproduce
I have automatic plugin installation, when I open a cpp or markdown file I get this error
Expected behavior
Installing the cpp/markdown parsers
Output of
:checkhealth nvim-treesitter
Output of
nvim --version
Additional context
No response
The text was updated successfully, but these errors were encountered: