Clion cannot find cmake of wsl2 in the toochains, which i've installed all of them.

已完成

Chaintools can find ubuntu but cannot find others like cmake and gdb, and when i try to config the directory of cmake it shows "File of an unknown type".

 

I am using:

  • - Windows 11 22H2
  • - WSL2 : Ubuntu 22.04.2 LTS

0

The issue was resolved in email correspondence.

First,  /mnt/c/Users/leochane/AppData/Local/Microsoft/WindowsApps/ubuntu.exe should have been removed from the Environment file field. 

Secondly, the issue with CMake appeared and was resolved by the user:

When i click `more` it tells me that `/usr/bin/cmake: /usr/local/lib/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /usr/bin/cmake)`, then i found the `libstdc++.so.6` under the directory of `/usr/local/lib` links to an old version of libstd++. So i change the links then it finally works!

0

请先登录再写评论。