cathaysia / tree-sitter-loongdoc

loongdoc(asciidoc) parser and grammar for tree-sitter https://cathaysia.github.io/tree-sitter-loongdoc/
https://tree-sitter-loongdoc.vercel.app
Apache License 2.0
13 stars 2 forks source link

Failed to build in windows #3

Closed bringsrain closed 1 month ago

bringsrain commented 1 month ago

I got below error when trying to execute :TSIntall asciidoc with nvim-treesitter

OS: Windows 11

nvim version

:version
NVIM v0.10.0-dev-3145+g9ca81b025
Build type: RelWithDebInfo
LuaJIT 2.1.1713484068
Run ":verbose version" for more info

Error Message

nvim-treesitter[asciidoc]: Error during compilation
lld-link: error: undefined symbol: tree_sitter_asciidoc_external_scanner_create^M
>>> referenced by C:\Users\BringsRain\AppData\Local\zig\o\822f1c660dd88fc359e9a40d5edf1b4e\parser.obj:(tree_sitter_asciidoc.language)^M
lld-link: error: undefined symbol: tree_sitter_asciidoc_external_scanner_destroy^M
>>> referenced by C:\Users\BringsRain\AppData\Local\zig\o\822f1c660dd88fc359e9a40d5edf1b4e\parser.obj:(tree_sitter_asciidoc.language)^M
lld-link: error: undefined symbol: tree_sitter_asciidoc_external_scanner_scan^M
>>> referenced by C:\Users\BringsRain\AppData\Local\zig\o\822f1c660dd88fc359e9a40d5edf1b4e\parser.obj:(tree_sitter_asciidoc.language)^M
lld-link: error: undefined symbol: tree_sitter_asciidoc_external_scanner_serialize^M
>>> referenced by C:\Users\BringsRain\AppData\Local\zig\o\822f1c660dd88fc359e9a40d5edf1b4e\parser.obj:(tree_sitter_asciidoc.language)^M
lld-link: error: undefined symbol: tree_sitter_asciidoc_external_scanner_deserialize^M
>>> referenced by C:\Users\BringsRain\AppData\Local\zig\o\822f1c660dd88fc359e9a40d5edf1b4e\parser.obj:(tree_sitter_asciidoc.language)^M
bringsrain commented 1 month ago

My bad. Cloned to local, and source it from there. No more compile error message.