Message-ID: <1216608324.36634.1579521476170.JavaMail.tomcat@2a0fd85a362c> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_36633_1787874564.1579521476170" ------=_Part_36633_1787874564.1579521476170 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html WSL dev environment configuration

WSL dev environment configuration

  1. Update your Windows 10 machine to the latest =E2=80=9CFall Creators Upd= ate=E2=80=9D (mininum version 1709, build 16299.15).
  2. Open PowerShell as Administrator and run:

    Enable-WindowsOptionalFeature -Online -FeatureName Micros=
  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, confi= gure and run openssh-server. = ;

    The following ubun= script that can help you with the configuration. I= f you are using Linux distribution different from Ubuntu, you might need so= me adjustments to the scri= pt

    er/ && bash
  6. To check the ssh connection, run the following command in your WSL dist= ribution: 

    ssh username@localhost -p2222

  7. Run CLion, make sure that configured WSL distribution is runni= ng and can be accessed via ssh. Check the detailed blog post about WSL sup= port in CLion.

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

  9. Due to the IntelliJ platform issue, t= here is an issue with WSL file-system which is case-sensitive and Windows F= S which is not.

    As workaround you can pass properties (Help -> =E2= =80=9CEdit Custom Properties=E2=80=A6=E2=80=9D): e.fs=3Dtrue, restart an IDE and rebuild the project index (File -&= gt; =E2=80=9CInvalidate Caches and Restart=E2=80=9D) after that.