Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
How to run clion with msys2 on windows? I have set the toolchain, but when it can't find <socket.h>.
<socket.h>
Run the following command
pacman -S mingw-w64-x86_64-toolchain
And install all (default).
mingw-w64-x_86_64-toolchain
mingw-w64-x86_64-gcc
Required, but never shown
By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy
Your privacy
By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.