Giter VIP home page Giter VIP logo

Comments (4)

LanternD avatar LanternD commented on September 3, 2024 1

I saw this comment and gave it a try. In cmd.exe, I just ran ccls -h. Then the program prompted 4 errors, saying missing the following dlls:

  • zlib1.dll
  • libwinpthread-1.dll
  • libstdc++-6.dll
  • libgcc_s_seh-1.dll

I found all of them in the msys64\mingw64\bin, and copied them all to the Release\ccls.exe folder. Now the ccls can work normally.

And interestingly, I could not reproduce the exit code 116 anymore after I applied these changes. Notice that I didn't modify the ccls folder compiled by the Visual Studio. No idea why.

from emacs-ccls.

MaskRay avatar MaskRay commented on September 3, 2024

Check if ccls-executable (default: "ccls") is absolute or can be found in your $PATH.

from emacs-ccls.

ItsHoff avatar ItsHoff commented on September 3, 2024

I'm using an absolute path and I'm pretty sure emacs is able to find the ccls executable, since with an invalid path lsp-mode throws an error Command "C:/invalid/path/to/ccls.exe" is not present on the path.

from emacs-ccls.

LanternD avatar LanternD commented on September 3, 2024

Same error code, same behavior. The path is absolute, which didn't resolve this problem.

Btw, if I use the ccls compiled by Visual Studio, the error code was 116. If it is compiled by msys2-64, the error code was 53.

from emacs-ccls.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.