Failed to activate protocol version: "CMAKE_HOME_DIRECTORY" is set but incompatible...
See original GitHub issueBrief 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:
- Created 5 years ago
- Comments:8 (2 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Removing the
build
directory and doing theClean reconfigure
works.This will now display a useful error message and helpful action button when it occurs. Fix in 1.1.2