-
Notifications
You must be signed in to change notification settings - Fork 449
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to activate protocol version: "CMAKE_HOME_DIRECTORY" is set but incompatible... #508
Comments
I had this same issue, I believe it is due to changing the project directory name/path. Try deleting the build directory and rerunning as loads of the stuff in that directory has absolute paths that are reused. |
As you can see in the issue description, it happens also with a freshly cloned repository. |
All my C++ projects created with the previous version of the plugin now have this issue. Is it possible for the plugin to recognize and fix whatever is wrong automatically? |
Removing the |
It does work when the |
I've had this issue myself with Docker containers, as well as when you move the source/build directory. I know how it can be fixed, so I'll take a swing for 1.1.2. |
I'll try to create my container with the proper uid/gid to see if it fixes it. |
This will now display a useful error message and helpful action button when it occurs. Fix in 1.1.2 |
Brief Issue Summary
The CMake Project outline panel is empty.
Expected:
No error.
The CMake Project outline panel is filled.
Apparent Behavior:
CMake Tools will then attempt to "configure" the project and fail with the aforementioned error in the "debug console".
Platform and Versions
The text was updated successfully, but these errors were encountered: