Skip to end of metadata
Go to start of metadata
  1. Update your Windows 10 machine to the latest “Fall Creators Update” (mininum version 1709, build 16299.15).
  2. Open PowerShell as Administrator and run:

  3. Install WSL distribution, for instance, Ubuntu

  4. Run Ubuntu, create a new user, keep in mind username:password.
  5. Setup Ubuntu WSL environment: install CMake, GCC or/and Clang, configure and run openssh-server

    The following script that can help you with the configuration. If you are using Linux distribution different from Ubuntu, you might need some adjustments to the script

  6. To check the ssh connection, run the following command in your WSL distribution: 

    ssh username@localhost -p2222

  7. Run CLion, make sure that configured WSL distribution is running and can be accessed via ssh. Check the detailed blog post about WSL support in CLion.

  8. Configure the WSL toolchain in Build, Execution, Deployment | Toolchains in CLion.

  9. Due to the IntelliJ platform issue, there is an issue with WSL file-system which is case-sensitive and Windows FS which is not.

    As workaround you can pass properties (Help -> “Edit Custom Properties…”):, restart an IDE and rebuild the project index (File -> “Invalidate Caches and Restart”) after that.  

  • No labels