question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Failed to activate protocol version: "CMAKE_HOME_DIRECTORY" is set but incompatible...

See original GitHub issue

Brief Issue Summary

[rollbar] Unhandled exception: Unhandled Promise rejection: configure [cmake-server] Failed to activate protocol version: "CMAKE_HOME_DIRECTORY" is set but incompatible with configured source directory value. {}

The CMake Project outline panel is empty.

Expected:

No error. The CMake Project outline panel is filled.

Apparent Behavior:

git clone https://github.com/facebook/rocksdb.git
code rocksdb

CMake Tools will then attempt to “configure” the project and fail with the aforementioned error in the “debug console”.

Platform and Versions

  • Operating System: Ubuntu 18.04 64bit
  • CMake Version: 3.10.2
  • VSCode Version: 1.25.1
  • CMake Tools Extension Version: 1.1.1
  • Compiler/Toolchain: gcc 7.3.0

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
yaycommented, Aug 8, 2018

Removing the build directory and doing the Clean reconfigure works.

0reactions
vector-of-boolcommented, Sep 22, 2018

This will now display a useful error message and helpful action button when it occurs. Fix in 1.1.2

Read more comments on GitHub >

github_iconTop Results From Across the Web

QtCreator BareMetal plugin - Failed to activate protocol version
QtCreator BareMetal plugin - Failed to activate protocol version: "CMAKE_GENERATOR" is set but incompatible with configured generator value.
Read more >
CMAKE_HOME_DIRECTORY error/warning message?
QJsonObject({"cookie":"","errorMessage":"Failed to activate protocol version: \"CMAKE_HOME_DIRECTORY\" is set but incompatible with configured source ...
Read more >
Troubleshooting | CMake Integration
Failed to activate protocol version : "CMAKE_GENERATOR" is set but incompatible with configured generator value. You can restart CMake by running the Restart ......
Read more >
Developers - Failed to activate protocol version - Bountysource
Failed to activate protocol version : "CMAKE_HOME_DIRECTORY" is set but incompatible · Brief Issue Summary · Expected: · Apparent Behavior:.
Read more >
symlinked source directory trips up cmake server ...
... is set but incompatible with configured source directory value) ... to activate protocol version: \"CMAKE_HOME_DIRECTORY\" is set but ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found