go2sh / cmake-integration-vscode

CMake Server Interface for VSCode.
https://go2sh.github.io/cmake-integration-vscode/
Other
19 stars 11 forks source link

Version string not found in output #50

Closed DeltaTee97 closed 4 years ago

DeltaTee97 commented 5 years ago

When trying to start using cmake-integration, I get the error:

Failed to start CMake Client(<reponame>): Version string not found in output.

I could not find this in the documentation and am unsure how to check what is actually wrong with the setup. I am trying to use cmake-integration for remote compiling.

I don't see any special setup I had to do with cmake-tools, which I am attempting to switch away from for the multiroot capability.

go2sh commented 5 years ago

Hey there sorry for the late response. There migh be some thing wrong with your cmakePath specefied. The extension checks the version of cmake for certain features. Can you try to run cmake --version on your target computer? (If you have the cmake path set, use that path and add the --version) Can you post your output?

DeltaTee97 commented 4 years ago

The cmake version output on the target computer is:

> cmake --version
cmake3 version 3.13.4

CMake suite maintained and supported by Kitware (kitware.com/cmake).
go2sh commented 4 years ago

Ah interesting. The regex to check looks like cmake version (\d+\.\d+\.\d+). So your version output falls through. Did not realize, that distributions change the name of the executable to cmake3. Will fix that with the next release.