Skip to content

Treesitter libraries cannot be loaded by Emacs (current UCRT64 packages) #27456

@MagielBruntink

Description

@MagielBruntink

Description / Steps to reproduce the issue

Installed versions:

  • mingw-w64-ucrt-x86_64-libtree-sitter 1~0.26.2-2
  • mingw-w64-ucrt-x86_64-emacs 30.2-7

Error message when installing & loading a treesitter libraries (eg. for json):

Warning (treesit): Error encountered when installing language grammar: (treesit-error tree-sitter library not found or failed to load)

The library is installed correctly in .emacs.d/tree-sitter/libtree-sitter-json.dll.

Expected behavior

Loading and using the treesitter library for ts-*-modes.

Actual behavior

Error message, ts-modes do not work.

Verification

Windows Version

MINGW64_NT-10.0-26200

MINGW environments affected

  • MINGW64
  • MINGW32
  • UCRT64
  • CLANG64
  • CLANGARM64

Are you willing to submit a PR?

Sure, but no idea where to fix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions