You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do you have multiple CMake profiles for this project? On my machine, I usually have several CMake profiles for each project (one Debug build, one Release build, one for sanitizers, etc.). Every time I ask CLion to reload the CMake project, CLion concurrently spawns a separate CMake process for each profile, and each CMake process spawns its own conan process. This may explain why you have multiple conan processes running at once. It does not explain why they cannot play nice with each other.
There are two ways to look at your CMake profiles in CLion:
Click on 'File > Settings > Build, Execution, Deployment > CMake'. You will see all the CMake profiles under the heading 'Profiles', and you can edit/delete/create new profiles from there.
At the bottom of the CLion window, click the 'CMake' tab. This shows the CMake panel, which gives you a tab for each CMake profile you have for this project, and shows the output of each corresponding CMake process.
If you only see one CMake profile, then I have no idea what's happening here.
If I were you, I would try several things:
Update to the latest version of conan. Maybe there was a concurrency bug that has already been fixed.
Try building the project from the command line, and not CLion.
In CLion, get rid of all the CMake profiles except for one, and then try rebuilding the project.
To me, this sounds like your version of conan has a deadlock problem. If you are still having trouble after updating conan, it may be worth looking into at https://github.com/conan-io/conan.
I am on a fresh install of ubuntu with CMake and conan installed.
I get the error:
No matter what I do when CLion loads the project. I have tried doing:
and even:
restarting CLion and even rebooting my computer, but I always get the error:
This has been driving me crazy! Any idea how to fix this?
The text was updated successfully, but these errors were encountered: