Search code examples
clionmsys2

How to run CLion with msys2 on windows


How to run clion with msys2 on windows? I have set the toolchain, but when it can't find <socket.h>.enter image description here


Solution

  • Run the following command

    pacman -S mingw-w64-x86_64-toolchain
    

    And install all (default).