Ubuntu WSL is listed in Clion toolchains but says "not found"

已回答

Hi,

I have an issue while trying to create a WSL toolchain.

CLion seems to detect the WSL correctly. Also, when I install another WSL (like Ubuntu 18.04), it is automatically added in the list.

You can see that Ubuntu-20.04 is listed but still not found :

Versions :

  • Windows 10 : 1803
  • WSL : 1 (since windows 1803 does not support WSL 2)
  • WSL Distrib : Ubuntu 20.04 from Windows store
  • CLion : 2021.2.3

Do you know if there is a fix for this ?

0

Hello!

Do you have compilers (gcc, g++), make, GDB and CMake installed in your Ubuntu WSL distribution (sudo apt install build-essential, sudo apt install gdb, sudo apt install cmake)?

1

Hello Anna,

Yes, all installed

0

Please do Help | Collect Logs and Diagnostic Data in CLion on your home machine and send the resulted archive to clion-support at jetbrains.com. Note that logs might contain private user's information (like file paths and names).

0

I have g++ and cmake 

 which g++
/usr/bin/g++
borisfa@DESKTOP-VFF2H8T:~/CPPExamples/RAII$ which gdb
/usr/bin/gdb
borisfa@DESKTOP-VFF2H8T:~/CPPExamples/RAII$ cmake --version
cmake version 3.28.3

CMake suite maintained and supported by Kitware (kitware.com/cmake).

0

请先登录再写评论。