Skip to content
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

"Clean current CMake cache" doesn't works on Windows #757

Open
dortamiguel opened this issue Sep 20, 2021 · 2 comments
Open

"Clean current CMake cache" doesn't works on Windows #757

dortamiguel opened this issue Sep 20, 2021 · 2 comments
Labels

Comments

@dortamiguel
Copy link

I'm installing EasyClangComplete on windows and I'm getting the following error after setting a different generator for cmake

Error in file:
C:\Users\user\src\prototype\CMakeLists.txt

CMake Error: Error: generator : Unix Makefiles
Does not match the generator used previously: Ninja
Either remove the CMakeCache.txt file and CMakeFiles directory or choose a different binary directory.

I already runned the command "ECC: Clean current CMake cache" and also tried with restarting though I always get the same error.

Where I can locate the cache directory for this plugin? So I can manually delete it

@dortamiguel
Copy link
Author

In the end I found the temp folder here C:\Users\user\AppData\Local\Temp\EasyClangComplete, deleting this manually fixed my issue.

So it seems like "ECC: Clean current CMake cache" from the command palette doesn't works on windows

@niosus
Copy link
Owner

niosus commented Sep 21, 2021

I see. There seems to be a bug in how these files are cleaned. I thought I fixed this some time ago, but I would have to have another look 🤔

@niosus niosus added the bug label Sep 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants