How to run clion with msys2 on windows? I have set the toolchain, but when it can't find <socket.h>
.
Asked
Active
Viewed 1.0k times
22

Merlyn Morgan-Graham
- 58,163
- 16
- 128
- 183
-
http://stackoverflow.com/q/33969803/704292 This may help you. – linleno Jul 03 '16 at 07:25
1 Answers
27
Run the following command
pacman -S mingw-w64-x86_64-toolchain
And install all (default).
-
There are 17 sub options to pick from, which one is the right one for winx64? – Dariusz May 05 '18 at 10:05
-
-
2
-
With my case, I got 19 members in group `mingw-w64-x_86_64-toolchain` and I chose `mingw-w64-x86_64-gcc`. – Jin Kwon Jul 09 '21 at 12:16