PHP中文网2017-04-17 14:46:46
I installed it and it was ready to use. I wanted to use codeblocks again to do winsock programming. I changed the compiler, and then it was the same as you.
I have tried many methods like you, but to no avail.
After I unchecked all the previously checked options, there was no problem after that:
PHP中文网2017-04-17 14:46:46
Change the Global Compiler settings
in your C++ compiler
to mingw32-g++.exe
and use gcc
to compile cpp
. Although it works fine under linux
~~ it may not work under windows
. . :)
Also Linker for dynamic libs
on my machine. mingw32-g++.exe